1. 02 Jun, 2009 2 commits
  2. 23 May, 2009 4 commits
  3. 15 May, 2009 1 commit
  4. 11 May, 2009 2 commits
  5. 08 May, 2009 2 commits
  6. 26 Apr, 2009 1 commit
  7. 25 Apr, 2009 2 commits
  8. 24 Apr, 2009 2 commits
  9. 16 Apr, 2009 1 commit
  10. 10 Mar, 2009 2 commits
    • Tiago Peixoto's avatar
      Fix graph_rewire "can't rewire" bug · 6defdb43
      Tiago Peixoto authored
      This finally fixes in the bug addressed by commit 309ddbbd, where
      parallel edges could be erroneously created. In fact, the bug was more
      serious: The source and target edge lists always pointed to the same
      list (in the uncorrelated case, but could occasionally happen for the
      correlated case also) which got shuffled during iteration. Since the
      shuffling of one list interfered with the shuffling of the other, some
      combinations of source and target edges could simply never be
      considered... This commit forces both lists to always be independent.
    • 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)
  11. 09 Mar, 2009 2 commits
  12. 01 Mar, 2009 2 commits
  13. 22 Feb, 2009 1 commit
  14. 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.
  15. 14 Feb, 2009 2 commits
  16. 10 Feb, 2009 3 commits
  17. 06 Feb, 2009 10 commits
    • Tiago Peixoto's avatar
      Fix get_array() for property maps · 548d61bb
      Tiago Peixoto authored
      This includes the missing function declarations for edge and graph
      Property maps of value type "string" do not return an array, since the
      numpy string and std::string are different things.
    • Ale Abdo's avatar
      Improves small fix for 64bit architectures. · 2586bae6
      Ale Abdo authored
      graph_rewiring.cc: use static_cast<rng_t::result_type> instead of
      uint32_t to convert the seed value for the rng_t constructor, so
      the code becomes compatible with any rng_t.
    • Tiago Peixoto's avatar
      Improve run_action module · 0c87c492
      Tiago Peixoto authored
      Now inline() automatically converts known variables (such as property
      maps) and defaults to boost::python objects, instead of scxx objects.
      The code now is only generated for the current filtered, reversed and/or
      directed status of the graph, reducing compile time and binary size.
      Edge modification (remove and add) is now protected by a GraphWrap
      class, which takes care of the edge index housekeeping, which does not
      need to be done by hand anymore.
      The function is also no longer bound to one graph, and can take an
      arbitrary number of variables of known or unknown types, including
    • Tiago Peixoto's avatar
      Fix edge index housekeeping · ba56ebd9
      Tiago Peixoto authored
    • Tiago Peixoto's avatar
      Fix symbol visibility · d6422b73
      Tiago Peixoto authored
      Now all symbols are exported by default, except those strictly marked
      as hidden.
    • Tiago Peixoto's avatar
      Autoconf clean-up and new m4 macros · b5da5356
      Tiago Peixoto authored
    • Tiago Peixoto's avatar
      Fix compilation in 64 bit architecture · 4a9bf9f6
      Tiago Peixoto authored
    • Tiago Peixoto's avatar
      Fix small warning in community code · 7ea1d8c4
      Tiago Peixoto authored
    • Tiago Peixoto's avatar
      Disable internal bounds checking in property maps · 0ababf9c
      Tiago Peixoto authored
      This includes a new vector property map type (fast_vector_property_map)
      which has optional disabling of bounds checking, through its associate
      map type (unchecked_fast_vector_property_map). This should improve
      performance on algorithms which depend on tight loops which access
      property maps.
      Bounds checking is only disabled locally just before the algorithms run,
      and proper care is taken for bounds checking _beforehand_. The property
      maps exposed to python still have internal bounds checking.
    • Tiago Peixoto's avatar
      Add direct support for degree propery map creation · 8ae75c9f
      Tiago Peixoto authored
      i.e. g.degree_property_map("in") will create and return a vertex property map
      which corresponds to the in-degrees of the vertices. This is useful for
      temporarily modifying or getting an array of degrees.