1. 03 Dec, 2008 1 commit
  2. 02 Dec, 2008 1 commit
  3. 01 Dec, 2008 1 commit
  4. 07 Nov, 2008 1 commit
  5. 26 Oct, 2008 2 commits
  6. 23 Oct, 2008 2 commits
  7. 21 Oct, 2008 2 commits
    • Tiago Peixoto's avatar
      Rewiring: bugfix, improvements and restructuring resulting in cleaner and faster code · b1e1bc5e
      Tiago Peixoto authored
      Restructure the rewiring code, introducing further abstraction through
      class inheritance.
      
      Both uncorrelated and correlated cases draw edges directly.
      This has actually proven faster than drawing vertices for the correlated
      case, since realizing that indexes could be stored instead of edges.
      Doing so avoids changes in the pool of candidate edges, which in turn
      removes the need to rebuild it for each edge to rewire.
      Consequently, it also makes the uncorrelated case a lot quicker.
      
      In the uncorrelated undirected case, the new code also fixes a serious
      bug: when building the edge pool, only one end of each edge was looked
      at, because the "edges" vector is not equivalent to drawing all
      out_edges from all vertices, as is done now.
      b1e1bc5e
    • Tiago Peixoto's avatar
      e4aaa63b
  8. 20 Oct, 2008 1 commit
  9. 13 Oct, 2008 2 commits
  10. 10 Oct, 2008 2 commits
  11. 07 Oct, 2008 3 commits
    • Tiago Peixoto's avatar
      Add convenience module graph_tool.all · 16d85651
      Tiago Peixoto authored
      This allows to import all submodules from graph_tool with one command,
      e.g.,
      
         from graph_tool.all import *
      16d85651
    • Tiago Peixoto's avatar
      Makefiles: AM_CPPFLAGS use srcdir · 1c84328d
      Tiago Peixoto authored
      Add $(srcdir) to include paths in AM_CPPFLAGS so that we can
      compile the program writing all targets into a directory separate
      from the sources.
      This is done simply by creatig a subdirectory of the project root
      and running "../configure" and "make" inside it.
      1c84328d
    • Tiago Peixoto's avatar
      Add dedicated average correlation calculation · 48aec77d
      Tiago Peixoto authored
      This is a re-implementation based on new histogram code, which does not
      build a 2D histogram, and is thus more exact and uses less memory.
      48aec77d
  12. 24 Sep, 2008 3 commits
    • Tiago Peixoto's avatar
      Fix edge indexing problem when modifying graph · dc184b46
      Tiago Peixoto authored
      This fixes a rather central bug, which causes duplicated indexes if
      edges are removed and then new ones are added. Edge indexes are now
      recycled as they are removed and then new ones are added. This still
      guarantees O(1) complexity when adding or removing edges.
      dc184b46
    • Tiago Peixoto's avatar
      Fix autogen.sh · 562d8aa5
      Tiago Peixoto authored
      Simplify autogen.sh and remove ltmain.sh from repository, which should
      be included as necessary from libtoolize.
      562d8aa5
    • Tiago Peixoto's avatar
      Add load_graph utility function · c804ff8e
      Tiago Peixoto authored
      Avoids having to do
      
          g = Graph()
          g.load("foo")
      
      each time. Now one can do simply,
      
          g = load_graph("foo")
      
      Fantastic.
      c804ff8e
  13. 19 Sep, 2008 1 commit
  14. 10 Sep, 2008 3 commits
  15. 15 Aug, 2008 1 commit
  16. 10 Aug, 2008 1 commit
    • Tiago Peixoto's avatar
      Add graph_tool.draw module · 403f2605
      Tiago Peixoto authored
      This adds a graph_draw() functions which draws graphs in variety of
      layouts and formats, and also to the screen, using the python graphviz
      bindings.
      403f2605
  17. 27 Jul, 2008 1 commit
  18. 22 Jul, 2008 2 commits
  19. 21 Jul, 2008 3 commits
  20. 20 Jul, 2008 1 commit
    • Tiago Peixoto's avatar
      Correctly normalize betweenness centrality · 36982c7a
      Tiago Peixoto authored
      Betweenness centrality should be differently normalized for undirected
      and directed graphs, i.e., (n-2)*(n-1)/2 vs. (n-2)*(n-1),
      respectively. Also, edge centrality should be respectively normalized
      with n*(n-1)/2 and n*(n-1).
      36982c7a
  21. 15 Jul, 2008 5 commits
  22. 17 Jun, 2008 1 commit
    • Tiago Peixoto's avatar
      Externalize property maps by default · e984bf8e
      Tiago Peixoto authored
      This commit removes the internal property maps from the GraphInterface
      class, and makes all property maps external by default. The internal
      property maps were moved to the python layer.
      e984bf8e