1. 25 Apr, 2009 3 commits
  2. 24 Apr, 2009 3 commits
  3. 22 Apr, 2009 1 commit
    • Tiago Peixoto's avatar
      Merge branch 'no-conversions' · de3f34f5
      Tiago Peixoto authored
      Conflicts:
      	acinclude.m4
      	configure.in
      	src/graph-tool
      	src/graph/Makefile.am
      	src/graph/correlations/graph_assortativity.hh
      	src/graph/graph.cc
      	src/graph/graph_betweenness.cc
      	src/graph_tool/__init__.py
      de3f34f5
  4. 16 Apr, 2009 1 commit
  5. 14 Apr, 2009 3 commits
  6. 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.
      6defdb43
    • 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)
      684efca7
  7. 09 Mar, 2009 4 commits
  8. 01 Mar, 2009 3 commits
  9. 22 Feb, 2009 3 commits
  10. 21 Feb, 2009 2 commits
  11. 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
  12. 14 Feb, 2009 2 commits
  13. 10 Feb, 2009 3 commits
  14. 06 Feb, 2009 9 commits
    • Tiago Peixoto's avatar
      Fix seeding in random_graph() · 7f10e926
      Tiago Peixoto authored
      The seed option is now correctly interpreted.
      7f10e926
    • Tiago Peixoto's avatar
      Fix graph_draw() seeding · be9b2596
      Tiago Peixoto authored
      The seed option is now properly passed to graphviz.
      be9b2596
    • Tiago Peixoto's avatar
      Fix get_array() for property maps · 548d61bb
      Tiago Peixoto authored
      This includes the missing function declarations for edge and graph
      properties.
      
      Property maps of value type "string" do not return an array, since the
      numpy string and std::string are different things.
      548d61bb
    • 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.
      2586bae6
    • 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
      graphs.
      0c87c492
    • Tiago Peixoto's avatar
      Fix edge index housekeeping · ba56ebd9
      Tiago Peixoto authored
      ba56ebd9
    • Tiago Peixoto's avatar
      Fix symbol visibility · d6422b73
      Tiago Peixoto authored
      Now all symbols are exported by default, except those strictly marked
      as hidden.
      d6422b73
    • Tiago Peixoto's avatar
      Autoconf clean-up and new m4 macros · b5da5356
      Tiago Peixoto authored
      b5da5356
    • Tiago Peixoto's avatar
      Fix compilation in 64 bit architecture · 4a9bf9f6
      Tiago Peixoto authored
      4a9bf9f6