1. 01 Jan, 2017 1 commit
  2. 04 Dec, 2016 1 commit
  3. 01 Jan, 2016 1 commit
  4. 26 Sep, 2015 1 commit
  5. 17 Sep, 2015 1 commit
  6. 16 Jul, 2015 1 commit
  7. 15 Jul, 2015 2 commits
  8. 23 Apr, 2015 1 commit
  9. 29 Jan, 2015 1 commit
  10. 08 Jan, 2015 1 commit
  11. 14 Mar, 2014 1 commit
  12. 03 Feb, 2014 1 commit
    • Tiago Peixoto's avatar
      Improve speed of random_rewire() when parallel edges are not allowed · 0e21f9a5
      Tiago Peixoto authored
      This also changes the semantics of random_rewire() when parallel edges
      / self loops are forbidden, but the initial graph contains them. Now,
      instead of throwing an exception, the rewiring is attempted, with no
      new parallel edges / self-loops being created. Under some
      circumstances, if the degree sequence is graphical, eventually the
      graph can become simple after sufficiently many sweeps.
      0e21f9a5
  13. 03 Jan, 2014 1 commit
  14. 02 Jan, 2014 1 commit
  15. 21 Dec, 2013 1 commit
  16. 10 Nov, 2013 1 commit
  17. 25 Apr, 2013 1 commit
  18. 11 Feb, 2013 1 commit
  19. 10 Jan, 2013 1 commit
  20. 06 Jan, 2013 1 commit
  21. 26 Dec, 2012 1 commit
  22. 02 Aug, 2012 1 commit
  23. 03 Jun, 2012 1 commit
  24. 02 May, 2012 1 commit
  25. 29 Apr, 2012 3 commits
  26. 14 Sep, 2011 1 commit
  27. 02 Sep, 2011 1 commit
  28. 26 Aug, 2011 1 commit
  29. 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
      repetition.
      
      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.
      8240714e
  30. 10 Feb, 2011 1 commit
  31. 13 Nov, 2010 1 commit
  32. 25 Jul, 2010 1 commit
  33. 07 Mar, 2010 1 commit
  34. 20 Feb, 2010 2 commits
    • Tiago Peixoto's avatar
      Include probabilistic random_rewire() strategy · 64cb52b3
      Tiago Peixoto authored
      This includes also some internal refactoring, and bug fixes.
      64cb52b3
    • Tiago Peixoto's avatar
      Refactor random_rewire() · b678e65a
      Tiago Peixoto authored
      This extensively modifies the random_rewire() algorithm, so that only
      either the source or the edge of each edge is rewired (not both, as
      previously), and no parallel edges are created during the algorithm (if
      desired).
      
      The new version is much faster, and never gets stuck. However, more than
      one run may be necessary in order to obtain a uniform shuffling.
      b678e65a
  35. 14 Feb, 2010 1 commit
  36. 08 Feb, 2010 1 commit
    • Tiago Peixoto's avatar
      Fix rewiring bias bug for undirected graphs · d158af8f
      Tiago Peixoto authored
      This fixes a problem, where the underlying edge directionality would
      cause correlations to arise when rewiring undirected graphs. Now each
      edge is correctly considered in both possible orientations, which are
      chosen randomly.
      d158af8f