1. 26 Dec, 2012 1 commit
  2. 02 Aug, 2012 1 commit
  3. 02 May, 2012 1 commit
  4. 26 Aug, 2011 1 commit
  5. 24 Aug, 2011 1 commit
    • Tiago Peixoto's avatar
      Several improvements to random_rewire() / random_graph() · 8240714e
      Tiago Peixoto authored
      This introduces several simplifications and corrections to the graph
      rewire algorithm, to guarantee unbiased sampling.
      Now a move is outright rejected if it produces a
      self-loop/parallel-edge, instead of retried. This also adds a
      "non-sweep" mode, where edges are rewired randomly, possibly with
      The edge moves are now simplified to the target of the edges only,
      since swaping sources is redundant.
      The number of iterations can now be explicitly modified, so it is not
      necessary to call the function more than once, and it is emphasized in
      the documentation that only after sufficiently many iterations can the
      graph be guaranteed to be fully mixed.
  6. 10 Feb, 2011 1 commit
  7. 13 Nov, 2010 1 commit
  8. 25 Jul, 2010 1 commit
  9. 03 May, 2010 1 commit
  10. 07 Mar, 2010 1 commit
  11. 20 Feb, 2010 1 commit
    • Tiago Peixoto's avatar
      Refactor random_graph() · 1f28345e
      Tiago Peixoto authored
      Now the degree sequence is verified with Erdös-Gallai inequalities, and
      the edges are connected in a deterministic fashion. The edges then are
      rewired with the random_rewire() function.
  12. 06 Sep, 2009 1 commit
  13. 04 Aug, 2009 1 commit
  14. 15 Jul, 2009 1 commit
    • Tiago Peixoto's avatar
      Improve correlated graph generation · e1dd1665
      Tiago Peixoto authored
      random_graph() now uses a modified algorithm for generation of
      correlated graphs, which is more efficient. Instead of giving a function
      which returns a sample of the correlated target degree, the user must
      give a function which will just compute its probability. This
      probability will then be used to choose the edges.
  15. 23 May, 2009 1 commit
  16. 10 Mar, 2009 1 commit
    • Tiago Peixoto's avatar
      Implement optional wrapping of graphs to deal with edge index housekeeping · 684efca7
      Tiago Peixoto authored
      Thins changes the graph filtering code slightly to wrap graph types with
      GraphWrap, which automatically updates the edge index list when edges
      are removed and added to the graph.
      This also changes how graphs are passed to algorithms, which is now by
      reference instead of pointer. (hence this touches lots of code, but
      changes are trivial)
  17. 27 Jul, 2008 1 commit
  18. 06 Apr, 2008 1 commit