1. 21 Feb, 2009 1 commit
  2. 17 Feb, 2009 1 commit
    • Tiago Peixoto's avatar
      Add convenient neighbour traversal functions · 52eaa36f
      Tiago Peixoto authored
      Add support for v.{out|in}_neighbours(), for direct iteration over the
      neighbours, as well as v.all_edges() and v.all_neighbours(). This also
      properly exports the Vertex and Edge classes, with docstrings.
      52eaa36f
  3. 14 Feb, 2009 2 commits
  4. 10 Feb, 2009 3 commits
  5. 06 Feb, 2009 15 commits
  6. 18 Jan, 2009 4 commits
  7. 11 Jan, 2009 2 commits
  8. 07 Dec, 2008 1 commit
  9. 03 Dec, 2008 1 commit
  10. 02 Dec, 2008 1 commit
  11. 01 Dec, 2008 1 commit
  12. 07 Nov, 2008 1 commit
  13. 26 Oct, 2008 2 commits
  14. 23 Oct, 2008 2 commits
  15. 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
  16. 20 Oct, 2008 1 commit