- 26 Aug, 2011 1 commit
-
-
Tiago Peixoto authored
This implements a general "blockmodel" generation / rewiring algorithm, using Gibbs acceptence / rejection sampling (a.k.a Metropolis-Hastings). This also implements some optimizations in the rewiring code, which makes it more efficient on filtered graphs.
-
- 24 Aug, 2011 1 commit
-
-
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.
-
- 06 May, 2011 1 commit
-
-
Tiago Peixoto authored
Now, if 'm' is larger than the seed graph, it is set to the size of the seed graph, and is increased progressively until it matches the desired value. This removes the need to start with a random seed graph of the appropriate size. This also includes modifications which make the code more robust against parameter choices which don't make much sense, e.g. lead to negative probabilites.
-
- 06 Mar, 2011 1 commit
-
-
Tiago Peixoto authored
-
- 02 Mar, 2011 1 commit
-
-
Tiago Peixoto authored
This fixes a leftover bug from the removal of the 'core' submodule.
-
- 10 Feb, 2011 1 commit
-
-
Tiago Peixoto authored
-
- 21 Dec, 2010 1 commit
-
-
Tiago Peixoto authored
Added more DOI links to references, and other cosmetic changes.
-
- 13 Nov, 2010 3 commits
-
-
Tiago Peixoto authored
-
Tiago Peixoto authored
-
Tiago Peixoto authored
-
- 04 Oct, 2010 1 commit
-
-
Tiago Peixoto authored
-
- 13 Jul, 2010 1 commit
-
-
Tiago Peixoto authored
Now the meaning of the bin edges given to the several histogram functions are the same as in numpy/scipy. This means that the last bin edge represents an upper bound on the last bin.
-
- 21 May, 2010 1 commit
-
-
Tiago Peixoto authored
-
- 03 May, 2010 3 commits
-
-
Tiago Peixoto authored
-
Tiago Peixoto authored
Vectors are used now instead of unordered_sets, which dramatically improves performace.
-
Tiago Peixoto authored
-
- 07 Mar, 2010 2 commits
-
-
Tiago Peixoto authored
-
Tiago Peixoto authored
-
- 20 Feb, 2010 4 commits
-
-
Tiago Peixoto authored
This fixes the expected values for several doctests, after random_graph() re-factoring.
-
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.
-
Tiago Peixoto authored
This includes also some internal refactoring, and bug fixes.
-
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.
-
- 28 Jan, 2010 1 commit
-
-
Tiago Peixoto authored
-
- 10 Jan, 2010 1 commit
-
-
Tiago Peixoto authored
-
- 23 Dec, 2009 1 commit
-
-
Tiago Peixoto authored
-
- 22 Dec, 2009 3 commits
-
-
Tiago Peixoto authored
-
Tiago Peixoto authored
This implements a simpler rewire strategy where the edges are randomly placed, without preserving the degrees of the vertices.
-
Tiago Peixoto authored
-
- 06 Dec, 2009 2 commits
-
-
Tiago Peixoto authored
-
Tiago Peixoto authored
This also includes the library CGAL as a dependency.
-
- 01 Dec, 2009 1 commit
-
-
Tiago Peixoto authored
-
- 05 Nov, 2009 1 commit
-
-
Tiago Peixoto authored
Small fixes of some examples in the docstrings.
-
- 05 Oct, 2009 1 commit
-
-
Tiago Peixoto authored
This completes all the documentation up to this point.
-
- 06 Sep, 2009 1 commit
-
-
Tiago Peixoto authored
This returns the union of two graphs, and optionally specified property maps.
-
- 03 Sep, 2009 1 commit
-
-
Tiago Peixoto authored
-
- 27 Aug, 2009 1 commit
-
-
Tiago Peixoto authored
-
- 17 Aug, 2009 1 commit
-
-
Tiago Peixoto authored
-
- 07 Aug, 2009 1 commit
-
-
Tiago Peixoto authored
-
- 04 Aug, 2009 2 commits
-
-
Tiago Peixoto authored
Target degrees were not being sampled correctly from their probability.
-
Tiago Peixoto authored
-