1. 13 Jul, 2010 1 commit
    • Tiago Peixoto's avatar
      Fix segfault bug in motifs() · e75cf856
      Tiago Peixoto authored
      This fixes a bug in the motifs() code which generates a segfault for
      certain subgraph signatures. This also fixes a potential problem for
      multithreaded execution.
  2. 07 Mar, 2010 1 commit
  3. 05 Oct, 2009 1 commit
  4. 12 Sep, 2009 1 commit
    • Tiago Peixoto's avatar
      Speed up motifs() and motif_significance() · 06b2914a
      Tiago Peixoto authored
      In both functions we can save some time by hashing the subgraphs found,
      according to their degree distribution signature (instead of number of
      edges). This avoids a large number of useless exactness or isomorphism
      This also removes the "seed" parameter, which is redundant to
      the numpy.random.seed() function.
  5. 06 Sep, 2009 1 commit
  6. 21 Aug, 2009 1 commit
    • Tiago Peixoto's avatar
      Dump lambda::bind in favor of boost::bind · 7fb5d71d
      Tiago Peixoto authored
      This is a large commit which replaces lambda::bind with boost::bind in
      most parts of the code. This improves compilation time, and slightly
      decreases compilation memory usage in some cases.
  7. 13 Aug, 2009 1 commit
    • Tiago Peixoto's avatar
      Reorganize exceptions thrown · f257d426
      Tiago Peixoto authored
      No longer only thrown GraphError upon any error, but instead throw
      specific exceptions which are more meaninful and are mapped to standard
      python exceptions, such as IOError, ValueError and RuntimeError.
  8. 04 Aug, 2009 1 commit
  9. 23 May, 2009 1 commit
  10. 24 Apr, 2009 1 commit
  11. 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)
  12. 09 Mar, 2009 1 commit
  13. 06 Feb, 2009 1 commit
    • 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.
  14. 26 Oct, 2008 1 commit
  15. 07 Oct, 2008 1 commit
    • Tiago Peixoto's avatar
      Makefiles: AM_CPPFLAGS use srcdir · 1c84328d
      Tiago Peixoto authored
      Add $(srcdir) to include paths in AM_CPPFLAGS so that we can
      compile the program writing all targets into a directory separate
      from the sources.
      This is done simply by creatig a subdirectory of the project root
      and running "../configure" and "make" inside it.
  16. 22 Jul, 2008 1 commit
  17. 15 Jul, 2008 1 commit
  18. 17 Feb, 2008 1 commit
    • Tiago Peixoto's avatar
      Split libgraph_tool into sub-modules and add test cases · 3cfff0cb
      Tiago Peixoto authored
      This commit splits libraph_tool into different libraries:
         - libgraph_tool_core
         - libgraph_tool_clustering (*)
         - libgraph_tool_community (*)
         - libgraph_tool_correlations (*)
         - libgraph_tool_distance (*)
         - libgraph_tool_generation (*)
         - libgraph_tool_layout (*)
         - libgraph_tool_misc (*)
         - libgraph_tool_stats (*)
      It also adds the python sub-module 'test', which provides extensive unit
      testing of the core functionality. The core library is fully functional
      and all test pass successfully.
      (*) -> module needs to be ported to new refactoring, and does not yet build