1. 23 Oct, 2008 2 commits
  2. 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.
    • Tiago Peixoto's avatar
  3. 20 Oct, 2008 1 commit
  4. 13 Oct, 2008 2 commits
  5. 10 Oct, 2008 2 commits
  6. 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,
         from graph_tool.all import *
    • 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.
    • 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.
  7. 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.
    • 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.
    • Tiago Peixoto's avatar
      Add load_graph utility function · c804ff8e
      Tiago Peixoto authored
      Avoids having to do
          g = Graph()
      each time. Now one can do simply,
          g = load_graph("foo")
  8. 19 Sep, 2008 1 commit
  9. 10 Sep, 2008 3 commits
  10. 15 Aug, 2008 1 commit
  11. 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
  12. 27 Jul, 2008 1 commit
  13. 22 Jul, 2008 2 commits
  14. 21 Jul, 2008 3 commits
  15. 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).
  16. 15 Jul, 2008 5 commits
  17. 17 Jun, 2008 2 commits
  18. 01 Jun, 2008 1 commit
  19. 30 May, 2008 1 commit
  20. 19 May, 2008 1 commit
  21. 12 May, 2008 1 commit
  22. 09 May, 2008 1 commit