Commit Graph

1702 Commits

Author SHA1 Message Date
Douglas Gregor
47214f4fdc Move initialize_vertex after setting properties
[SVN r34861]
2006-08-10 13:41:30 +00:00
Douglas Gregor
ec7156274d Give bundle_property_map a default constructor
[SVN r34812]
2006-08-03 18:30:26 +00:00
Douglas Gregor
39b29f3d79 Give bundle_property_map a default constructor
[SVN r34811]
2006-08-03 18:29:44 +00:00
Gennaro Prota
fc6ec3f791 fixed almost all issues reported by the inspect tool in boost/graph/
[SVN r34731]
2006-07-25 21:14:19 +00:00
Gennaro Prota
b47cf53fcb tab removal
[SVN r34729]
2006-07-25 14:19:27 +00:00
Gennaro Prota
0d30a51129 removed unnamed namespace reported by inspect tool
[SVN r34715]
2006-07-24 21:56:37 +00:00
Douglas Gregor
b659351ea7 Fix locations of default constructors
[SVN r34422]
2006-06-28 20:00:27 +00:00
Douglas Gregor
ff7a5d1282 Deal with GCC problems in updated concepts library
[SVN r34418]
2006-06-27 15:01:14 +00:00
Douglas Gregor
50b1f74b93 Fix parameter to add_vertices
[SVN r34414]
2006-06-27 13:53:47 +00:00
Caleb Epstein
826f7a33d8 boost/graph/{king_ordering,cuthill_mckee_ordering}.hpp: Fix for typedef conflict with DS macro on Solaris (merge from RC_1_34_0)
[SVN r34356]
2006-06-19 14:50:30 +00:00
Douglas Gregor
fcd3996f0e Be consistent about initialize_vertex calls
[SVN r34135]
2006-06-02 15:52:46 +00:00
Dave Abrahams
ebb6697936 Strip off "Concept" suffix on concept checking classes.
[SVN r33908]
2006-05-02 15:06:06 +00:00
Dave Abrahams
53f5645393 Fixes for concept checking; use destructors for checking classes, misc cleanup.
[SVN r33862]
2006-04-29 20:27:14 +00:00
Jeremy Siek
62c6d9ef2f added edges_size_type and vertices_size_type to the adjacency_list_traits
[SVN r33766]
2006-04-22 13:35:32 +00:00
Jeremy Siek
69c5cf732c added comparison operators (<,etc.) to the edge class
[SVN r33765]
2006-04-22 13:19:48 +00:00
Douglas Gregor
f44af6dd2f Don't generate self edges when asked not to, from Johan Oudinet
[SVN r33644]
2006-04-10 20:09:33 +00:00
Douglas Gregor
96a3f1fa67 Move enum out of GraphParse::operator()
[SVN r33642]
2006-04-10 19:27:23 +00:00
Aaron Windsor
5597592ff5 Look at vertices with minimum degree 0 first instead of starting with those with minimum degree 1 (fix courtesy of Roman Dementiev)
[SVN r33414]
2006-03-21 00:26:19 +00:00
Aaron Windsor
bcb16ef822 Bug fix from Roman Dementiev: when updating the degree of a vertex in the BucketSorter, that vertex could be moved to the wrong bucket.
[SVN r33374]
2006-03-18 17:28:50 +00:00
Douglas Gregor
9e359134a1 Moved to the Boost Software License
[SVN r33324]
2006-03-12 15:01:03 +00:00
Douglas Gregor
be9ad03abe Update to Boost Software License
[SVN r33312]
2006-03-10 15:08:31 +00:00
Douglas Gregor
a4a5a1a42b Add dummy Directed parameter to the CSR graph
[SVN r33291]
2006-03-09 20:06:23 +00:00
Douglas Gregor
f9da93dbe2 Add two_bit_color_map
[SVN r33290]
2006-03-09 19:55:13 +00:00
Douglas Gregor
a0919bdff6 Fix CSR properties
[SVN r33289]
2006-03-09 19:52:39 +00:00
Douglas Gregor
573f424452 Update to Boost Software License
[SVN r33288]
2006-03-09 18:34:18 +00:00
Douglas Gregor
4a159ba118 Don't call boost::get qualified
[SVN r33286]
2006-03-09 16:23:36 +00:00
Ronald Garcia
6616bdba33 adjusted namespace imports to be more localized.
[SVN r33284]
2006-03-09 16:16:09 +00:00
Douglas Gregor
399aa3b28a Give vector_as_graph a default vertex_index property
[SVN r33173]
2006-02-28 14:33:14 +00:00
Douglas Gregor
3eadd82c6b Fixes for EdgeListS=setS and static_asserts for broken functionality when EdgeListS=vecS
[SVN r33158]
2006-02-27 18:17:56 +00:00
Douglas Gregor
779274575b Properly support bundled properties for members stored in base classes of the bundle
[SVN r33156]
2006-02-27 16:35:26 +00:00
Douglas Gregor
5f28b0237a Add support for compare, combine, inf, and zero in johnson_all_pairs_shortest_paths
[SVN r33148]
2006-02-27 15:38:18 +00:00
Douglas Gregor
29a09c1fc0 Use compare and zero properly
[SVN r33146]
2006-02-27 15:15:13 +00:00
Alisdair Meredith
af44a9cfa5 patch for infinite looping on Borland compilers
[SVN r33014]
2006-02-19 17:39:52 +00:00
Douglas Gregor
22ca266765 Improvements to biconnected components, from Janusz Piwowarski
[SVN r32902]
2006-02-13 18:42:30 +00:00
Douglas Gregor
70bbfe664b Some improvements from Jeremiah Willcock
[SVN r32743]
2006-02-08 16:15:16 +00:00
Douglas Gregor
3f81217fad Don't assume that null_vertex is the same type as vertices_size_type
[SVN r32740]
2006-02-08 15:37:02 +00:00
Douglas Gregor
3d7d3eb428 Work around x86 floating-point roundoff problems
[SVN r32737]
2006-02-08 14:47:35 +00:00
Douglas Gregor
7f05dc489b erdos_renyi_generator.hpp:
- Keep geometric_distribution happy by passing a non-zero probability

compressed_sparse_row_graph.hpp:
  - Weaken precondition for the Parallel BGL


[SVN r32712]
2006-02-07 17:11:29 +00:00
Douglas Gregor
70e0dd2d23 Add documentation, static_asserts for Bidirectional Graph support in adjacency_matrix
[SVN r32706]
2006-02-07 13:15:35 +00:00
Douglas Gregor
654e43a7ed Make adjacency_matrix model the BidirectionalGraph concept
[SVN r32688]
2006-02-07 04:02:22 +00:00
Douglas Gregor
174d0d2dff Update copyrights
[SVN r32679]
2006-02-06 22:12:57 +00:00
Douglas Gregor
42b9c97d31 boost/config/stdlib/libstdcpp3.hpp:
- libstdc++ has hashed containers and slist; they're just in a different place

boost/graph/graph_utility.hpp, boost/pending/container_traits.hpp,
boost/graph/adjacency_list.hpp:
  - Deal with weird placement of slist and hash_set


[SVN r32384]
2006-01-23 20:50:27 +00:00
Douglas Gregor
0e08ed3d80 constify adjacency list write routines
[SVN r32382]
2006-01-23 19:32:55 +00:00
Jeremiah Willcock
7815e65261 Fixes to uses of shared_ptr
[SVN r32289]
2006-01-11 21:18:26 +00:00
Douglas Gregor
eddae97983 boost/pending/property_serialize.hpp:
- Moved serialization code here

boost/pending/property.hpp:
  - From here

boost/graph/adj_list_serialize.hpp:
  - Include the new property_serialization header


[SVN r32275]
2006-01-10 13:53:48 +00:00
Douglas Gregor
e96148194d Don't try to use the serialization library on GCC 2.95.3
[SVN r32274]
2006-01-10 13:43:38 +00:00
Jeremy Siek
c668929a24 changed std::map to std::vector
[SVN r32252]
2006-01-06 22:16:39 +00:00
Jeremy Siek
efd6f46383 changed to be compatible with old properties
[SVN r32250]
2006-01-06 22:03:54 +00:00
Jeremy Siek
61c59d9c1d added support for serialization
[SVN r32249]
2006-01-06 22:03:18 +00:00
Jeremy Siek
5b572a82a3 first draft of serialization for adjacency_list
[SVN r32245]
2006-01-06 21:28:29 +00:00
Jeremiah Willcock
a1b7e1cd95 Undid commit of altered version of dominator_tree.hpp
[SVN r32243]
2006-01-06 19:22:34 +00:00
Jeremiah Willcock
9df2b90f56 Refactored indexed property code into separate file
[SVN r32242]
2006-01-06 19:20:38 +00:00
Douglas Gregor
183d88cfb6 Oops, fix non-bundled properties support
[SVN r32236]
2006-01-06 14:14:57 +00:00
Douglas Gregor
472dba30ed Bundled properties now work with adjacency_list I/O
[SVN r32235]
2006-01-06 14:01:55 +00:00
Douglas Gregor
d8fc6477d7 Start fixing adjacency_list I/O with bundled properties
[SVN r32234]
2006-01-06 13:17:35 +00:00
Douglas Gregor
2a204d5482 Pull in std::floor
[SVN r32229]
2006-01-05 21:57:36 +00:00
Douglas Gregor
db9796ddfd sqrt is in namespace std
[SVN r32197]
2006-01-01 17:20:32 +00:00
Vladimir Prus
c4d72905bf Remove a couple of "signed/unsigned comparison" warnings from gcc.
Note sure how it went unnoticed.


[SVN r32136]
2005-12-22 09:50:23 +00:00
Aaron Windsor
f497c3d195 Modified the predicate used by filtered_graph to avoid errors caused by default-initializing iterator property maps uncovered by gcc in _GLIBCXX_DEBUG mode. Included <algorithm> header for std::sort.
[SVN r32127]
2005-12-22 00:09:22 +00:00
Douglas Gregor
5879c83284 Add sorted_erdos_renyi_iterator, from Jeremiah Willcock
[SVN r32119]
2005-12-20 21:59:51 +00:00
Douglas Gregor
02f8dbe592 Initialization fixes for Dijkstra's single-source shortest paths and breadth-first search
[SVN r32000]
2005-12-12 15:53:50 +00:00
Jeremiah Willcock
0d93784f95 Fixed bug in dominator tree code (trying to increment iterator which was erased)
[SVN r31971]
2005-12-09 23:19:38 +00:00
Jeremiah Willcock
69317c5bdc Fixed some CSR and Kruskal bugs, plus trying to get more tests to pass
[SVN r31963]
2005-12-09 06:20:49 +00:00
Jeremiah Willcock
ada2d70c01 Added extra qualification to try to fix CW9.4 regression failure
[SVN r31959]
2005-12-08 20:44:12 +00:00
Douglas Gregor
6937336a09 Merged from Version_1_33_1
[SVN r31949]
2005-12-08 03:23:02 +00:00
Jeremiah Willcock
9ba47b4b7b Changed log2 to log_base_2 because log2 is a macro on some platforms
[SVN r31905]
2005-12-04 18:50:40 +00:00
Jeremiah Willcock
bb1fba7555 Attempted portability fixes
[SVN r31903]
2005-12-04 18:45:47 +00:00
Jeremiah Willcock
6fe01d0c4c Added more comprehensive CSR tests, and fixed a few m_last_source-related bugs
[SVN r31897]
2005-12-04 05:28:26 +00:00
Jeremiah Willcock
29d60b8e6a Fixed bug in edge_from_index() when used with partially constructed CSR graphs
[SVN r31894]
2005-12-03 22:24:28 +00:00
Jeremiah Willcock
0e2f464666 Added incremental construction functions to compressed_sparse_row_graph, along with tests and documentation
[SVN r31893]
2005-12-03 21:18:49 +00:00
Douglas Gregor
1e42266075 Dominator tree computation, from JongSoo Park
[SVN r31881]
2005-12-02 16:05:55 +00:00
Douglas Gregor
a5c1c8d953 Improvements and documentation for compressed_sparse_row_graph
[SVN r31871]
2005-12-01 23:42:01 +00:00
Douglas Gregor
80147f664b Add support for internal properties to the CSR graph
[SVN r31869]
2005-12-01 20:55:37 +00:00
Douglas Gregor
7ae0a8d974 Move constructor parameter to match adjacency_list
[SVN r31866]
2005-12-01 18:28:51 +00:00
Douglas Gregor
549f85c80f Compressed sparse row graph type
[SVN r31865]
2005-12-01 18:24:00 +00:00
Rene Rivera
6466795448 Merge from RC_1_33_0.
[SVN r31704]
2005-11-19 19:56:13 +00:00
Aaron Windsor
48577cde2f Added external vertex index maps to two function calls where they were missing.
[SVN r31015]
2005-09-17 16:00:55 +00:00
Douglas Gregor
85e1d7e344 Remove unnecessary typename
[SVN r30990]
2005-09-15 02:05:00 +00:00
Aaron Windsor
ca5bbacc2e Made a few cosmetic changes to the code and simplified the loop that walks up blossoms to find nearest common ancestors.
[SVN r30987]
2005-09-14 16:53:18 +00:00
Douglas Gregor
b48254406d Add visitor and named parameter support to biconnected_componnets, from Janusz Piwowarski
[SVN r30919]
2005-09-12 15:25:09 +00:00
Douglas Gregor
49ca29e905 Always use log2
[SVN r30916]
2005-09-12 14:58:37 +00:00
Douglas Gregor
e10fef2660 Use an integer log2 instead of the double version
[SVN r30892]
2005-09-09 22:15:05 +00:00
Douglas Gregor
ba824058ef edmonds_maximum_cardinality_matching, from Aaron Windsor
[SVN r30848]
2005-09-07 15:39:03 +00:00
Douglas Gregor
73a5b07661 Workaround for GCC 2.95.3
[SVN r30646]
2005-08-24 14:25:37 +00:00
Jeremy Siek
bbe399a2b0 added default initialization for property::m_value to quiet warning from gcc 4.0.1
[SVN r30629]
2005-08-22 14:47:48 +00:00
Douglas Gregor
786336804e Fully qualify detail namespace
[SVN r30619]
2005-08-22 01:53:37 +00:00
Vladimir Prus
b62baf4ec1 Support null_vertex for filtered_graph.
Thanks to Tiago de Paula Peixoto for the bug report.


[SVN r30583]
2005-08-15 06:13:19 +00:00
Douglas Gregor
6df693c448 get_property fix for subgraph
[SVN r30220]
2005-07-22 19:22:00 +00:00
Douglas Gregor
9294975522 Fix blips in inspection report
[SVN r29996]
2005-07-12 03:10:33 +00:00
Douglas Gregor
6aca595636 Eliminate unused output_heap function
[SVN r29929]
2005-07-07 13:57:16 +00:00
Douglas Gregor
39868b1498 Cannot write to a vec_adj_list_vertex_id_map
[SVN r29915]
2005-07-07 03:33:44 +00:00
Douglas Gregor
6bc7f34a38 silence a useless MSVC warning
[SVN r29897]
2005-07-05 11:52:49 +00:00
Douglas Gregor
6864b4cb77 Do not use bracket syntax when we're only reading a property map
[SVN r29847]
2005-06-30 18:41:02 +00:00
Douglas Gregor
c113d0c078 Make relax work when we're searching for longest paths
[SVN r29760]
2005-06-23 19:12:02 +00:00
Douglas Gregor
4e3c936503 Deal with macroized max
[SVN r29494]
2005-06-09 15:49:08 +00:00
Eric Niebler
656907543a min/max fixes
[SVN r28750]
2005-05-09 01:00:41 +00:00
Douglas Gregor
87588dd9ff Support set_property and get_property
[SVN r28579]
2005-05-02 15:33:35 +00:00
Douglas Gregor
41ebb5fbc1 boost/graph/king_ordering.hpp:
- Try to get bind invocation working on vc7

libs/graph/test/bellman-test.cpp:
  - Just don't run parts of this test on vc7 or older

libs/graph/test/gursoy_atun_layout_test.cpp:
  - Pull in names from ::boost so that vc7 can find them.


[SVN r28416]
2005-04-22 14:18:24 +00:00
Douglas Gregor
430aef4b59 Apply Joel's workaround for VC++ 8.0 as well as 7.1
[SVN r28409]
2005-04-22 11:47:48 +00:00
Douglas Gregor
b904a829b6 king_ordering.hpp: Access colors vector with index, not vertex
[SVN r28383]
2005-04-21 14:47:55 +00:00
Joel de Guzman
e184561762 Workaround for VC7.1
[SVN r28363]
2005-04-21 05:20:51 +00:00
Douglas Gregor
9fe51b2a58 cuthill_mckee_ordering.hpp, king_ordering.hpp:
- Use 3-parameter make_iterator_property_map, for stupid compilers

graph_traits.hpp:
  - Work around partial specialization bugs in GCC 2.95.3 and, potentially,
    CodeWarrior <= 9.4

properties.hpp:
  - I think Intel <= 7.1 can handle bundled properties...


[SVN r28338]
2005-04-20 14:57:00 +00:00
Douglas Gregor
003e90151e Deal with local/global issues with subgraph bundled properties
[SVN r28307]
2005-04-18 03:20:16 +00:00
Douglas Gregor
4bc19a1621 boost/graph/cuthill_mckee_ordering.hpp, boost/graph/king_ordering.hpp:
- Remove use of connected components, so we need only one color map
    running around
  - Provide simple overloads, requiring only the graph and the output iterator.

boost/graph/detail/sparse_ordering.hpp:
  - Move out_degree_property_map here

boost/graph/fruchterman_reingold.hpp:
  - Fix enumeration of pairs in grid_force_pairs to repulse vertices in
    adjacent grid cells (in addition to the current cell), so we don't get
    vertices forming crosses on grid lines.
  - Round up the number of rows/columns.

libs/graph/doc/cuthill_mckee_ordering.html, libs/graph/doc/king_ordering.html:
  - Document new overloads

libs/graph/doc/gursoy_atun_layout.html:
  - Add missing semicolon

libs/graph/src/python/cuthill_mckee_ordering.cpp,
libs/graph/test/cuthill_mckee_ordering.cpp:
  - Test and use the new overloads

libs/graph/build/python/Jamfile, libs/graph/src/python/module.cpp,
libs/graph/src/python/king_ordering.cpp:
  - Support King's ordering algorithm from Python

libs/graph/example/python/vis.py:
  - By default, do a "progressive" Fruchterman-Reingold layout

libs/graph/test/king_ordering.cpp:
  - Test new overload


[SVN r28306]
2005-04-17 23:50:43 +00:00
Douglas Gregor
ea6d11a47e Fix bundled properties support in filtered_graph adaptor and add it to reverse_graph adaptor
[SVN r28291]
2005-04-17 13:47:52 +00:00
Douglas Gregor
041f615cc3 boost/graph/filtered_graph.hpp, boost/graph/graph_traits.hpp,
boost/graph/subgraph.hpp:
  - Support bundled properties in graph adaptors

libs/graph/test/bundled_properties.cpp:
  - Test subgraph with bundled properties

libs/graph/doc/history.html:
  - Document what we did


[SVN r28265]
2005-04-15 07:23:47 +00:00
Douglas Gregor
2e67897926 Workaround for standard libraries without templated iterator constructors
[SVN r28254]
2005-04-14 22:22:38 +00:00
Douglas Gregor
1420cc346d Work around a very picky Tru64 compiler whose asserts don't like to convert
[SVN r28252]
2005-04-14 21:50:09 +00:00
Douglas Gregor
6ae80231b2 Lots of portability fixes throughout the graph library
[SVN r27997]
2005-04-06 03:48:20 +00:00
Douglas Gregor
8d1a7de32f Support mixed-case keywords in GraphViz parser
[SVN r27948]
2005-04-04 02:27:36 +00:00
Douglas Gregor
9eb9501c27 boost/graph/cuthill_mckee_ordering.hpp:
- Support for multiple components
  - Recast as invocation of breadth_first_search

boost/graph/king_ordering.hpp:
  - King's algorithm for sparse matrix ordering

boost/graph/detail/sparse_ordering.hpp:
  - Details for the sparse matrix ordering algorithms

libs/graph/example/king_ordering.cpp,
libs/graph/example/cuthill_mckee_ordering.cpp:
  - Usage examples for the sparse matrix ordering algorithms

libs/graph/doc/bibliography.html, libs/graph/doc/cuthill_mckee_ordering.html,
libs/graph/doc/king_ordering.html:
  - Updated documentation to reflect new implementations

libs/graph/doc/history.html, index_1_33_0.htm:
  - Announcements


[SVN r27907]
2005-04-01 20:18:45 +00:00
Douglas Gregor
bbb0b30dd3 Fix issues with separate compilation of GraphViz reader
[SVN r27870]
2005-03-29 18:36:31 +00:00
Douglas Gregor
2242193f11 Boost Software License conversion
[SVN r27869]
2005-03-29 18:04:18 +00:00
Douglas Gregor
3623623cf9 Converted to Boost Software License
[SVN r27802]
2005-03-24 15:10:49 +00:00
Douglas Gregor
e75984a2fb Converted to Boost Software License
[SVN r27801]
2005-03-24 15:06:43 +00:00
Douglas Gregor
2577136447 Converted to Boost Software License
[SVN r27800]
2005-03-24 14:54:12 +00:00
Douglas Gregor
63be68e1cb Undo a misguided optimization
[SVN r27798]
2005-03-24 14:12:37 +00:00
Douglas Gregor
6f84b0e9c8 Compile the GraphViz reader separately, for sanity's sake
[SVN r27783]
2005-03-23 18:40:03 +00:00
Douglas Gregor
c4b48cd144 Provide typedefs for the adjacency_list selectors
[SVN r27738]
2005-03-18 19:22:50 +00:00
Douglas Gregor
fb4e0aebd6 Remove-last-vertex optimization (Vikram Shrowty)
[SVN r27731]
2005-03-18 04:47:40 +00:00
Douglas Gregor
91ccce062e Make bundled properties type accessible
[SVN r27730]
2005-03-18 04:31:29 +00:00
Douglas Gregor
65339366d3 Random graph generators
[SVN r27677]
2005-03-15 20:02:54 +00:00
Douglas Gregor
4f9118a1d5 Forward iterators, not input iterators
[SVN r27668]
2005-03-15 14:11:33 +00:00
Douglas Gregor
426d8e1244 Don't copy singular iterators
[SVN r27650]
2005-03-14 16:23:54 +00:00
Douglas Gregor
972743058e Add clear() member
[SVN r27649]
2005-03-14 16:16:03 +00:00
Douglas Gregor
8b8d0183dc Scope not1
[SVN r27648]
2005-03-14 15:15:18 +00:00
Douglas Gregor
fb2a029e97 Fix for very small graphs
[SVN r27647]
2005-03-14 15:10:27 +00:00
Douglas Gregor
896ddc7d95 ReadablePropertyMap fixes
[SVN r27605]
2005-03-10 19:50:45 +00:00
Vladimir Prus
3c045dd60e Fix the issue with dag_shortest_paths discussed in
http://article.gmane.org/gmane.comp.lib.boost.devel/111573/


[SVN r27596]
2005-03-10 11:19:12 +00:00
Douglas Gregor
76483e6dcc Fix digraph typo
[SVN r27584]
2005-03-08 20:32:48 +00:00
Douglas Gregor
9203aaf140 Compiler workarounds
[SVN r27583]
2005-03-08 20:29:29 +00:00
Douglas Gregor
760b7f6c45 Some trivial cleanups
[SVN r27575]
2005-03-08 13:14:18 +00:00
Douglas Gregor
4167abcb5d Use vertex index maps
[SVN r27556]
2005-03-04 23:45:08 +00:00
Douglas Gregor
852cc06c85 lowpt stores indices, not values
[SVN r27555]
2005-03-04 23:26:26 +00:00
Douglas Gregor
3cca66df9c PageRank implementation
[SVN r27538]
2005-03-03 14:27:59 +00:00
Douglas Gregor
5754d6d866 Fix directed/undirected checks
[SVN r27531]
2005-03-01 22:52:26 +00:00
Douglas Gregor
4ebce62921 More qualification to protect against accidentally getting boost::bind instead of phoenix::bind
[SVN r27529]
2005-03-01 19:12:22 +00:00
Douglas Gregor
03368b302f Trivial rearrangement to work around an Apple GCC Bug
[SVN r27528]
2005-03-01 19:11:46 +00:00
Rene Rivera
3390d77e28 Apply typo fixes from Julio M. Merino Vidal
[SVN r27513]
2005-02-27 17:28:24 +00:00
Douglas Gregor
c0783b62c0 DFS-based biconnected components, from Janusz Piwowarski
[SVN r27442]
2005-02-20 01:08:11 +00:00
Douglas Gregor
c154f4ff95 Joel is da MAN
[SVN r27298]
2005-02-10 04:14:42 +00:00
Douglas Gregor
cc462f60ec write_graphviz supports dynamic_properties now
[SVN r27275]
2005-02-09 15:24:49 +00:00
Douglas Gregor
121f9b26c3 Fix handling of double-quoted property values
[SVN r27256]
2005-02-08 21:04:24 +00:00
Douglas Gregor
414d9cfeee Use minimal test tools
[SVN r27251]
2005-02-08 19:11:20 +00:00
Douglas Gregor
a6f984b406 Add Ron Garcia's new GraphViz parser.
[SVN r27250]
2005-02-08 18:58:24 +00:00
Douglas Gregor
b02d2011a8 Fix clear
[SVN r27242]
2005-02-08 15:59:42 +00:00
Stefan Slapeta
534b3efa0a replaced BOOST_TEST
[SVN r27239]
2005-02-08 12:33:07 +00:00
Douglas Gregor
bbd352bd57 Give queue a swap()
[SVN r27043]
2005-02-02 18:59:11 +00:00
Douglas Gregor
558b1a2fef Always include algorithm header, for swap
[SVN r26939]
2005-01-30 17:14:46 +00:00
Douglas Gregor
bc931e3286 Remove extra template parameters
[SVN r26887]
2005-01-28 07:06:18 +00:00
Douglas Gregor
0dc01eca8c Do not use log2, which is C99-only
[SVN r26765]
2005-01-20 21:21:44 +00:00
Douglas Gregor
56bfe6f4b7 Fix node movement for weighted graphs and update documentation
[SVN r26763]
2005-01-20 20:52:46 +00:00
Douglas Gregor
02635807ce Added contains() method to check if a heap contains a certain element
[SVN r26625]
2005-01-04 15:17:40 +00:00
Douglas Gregor
2ffc396f29 boost/pending/relaxed_heap.hpp:
- Relaxed heap data structure implementation

boost/graph/dijkstra_shortest_paths.hpp:
  - Use relaxed heap, with a debugging option allowing one to use the binary
    heap instead

libs/graph/test/relaxed_heap_test.cpp:
  - Comprehensive test of the relaxed heap

libs/graph/test/dijkstra_heap_performance.cpp:
  - Test the performance of the relaxed heap against the binary heap via
    Erdos-Renyi graphs.

libs/graph/test/Jamfile:
  - Introduce tests of relaxed heap

libs/graph/doc/dijkstra_shortest_paths.html:
  - Updated complexity to O(V log V), finally!
  - Cite relaxed heaps paper

libs/graph/doc/bibliography.html:
  - Added relaxed heap reference

index.htm, libs/graph/doc/history.html:
  - Announce introduction of relaxed heap


[SVN r26623]
2005-01-04 14:34:45 +00:00
Douglas Gregor
77ff4c53b8 Fixes for x86 Solaris
[SVN r26622]
2005-01-04 14:20:02 +00:00
Douglas Gregor
f2a49988ce Work around bug in GCC 2.95.3 standard library
[SVN r26604]
2004-12-29 16:53:05 +00:00
Douglas Gregor
5c155ac7a5 Blindly try to work around a CW bug
[SVN r26602]
2004-12-29 16:36:56 +00:00
Douglas Gregor
bf9af6d93a Gursoy-Atun layout
[SVN r26567]
2004-12-21 19:59:37 +00:00
Douglas Gregor
5604226901 Fixed, documented, and tested sequential_vertex_coloring
[SVN r26533]
2004-12-16 15:50:31 +00:00
Douglas Gregor
f27670da66 Move remove_directed_edge_dispatch up, thanks to Jurgen Hunold
[SVN r26529]
2004-12-16 14:03:02 +00:00
Douglas Gregor
6b12a2813a Deal with min/max appropriately
[SVN r26520]
2004-12-15 21:57:13 +00:00
Douglas Gregor
a6d2c98a5f Add support for vertex_id parameter to write_graphviz
[SVN r26517]
2004-12-15 20:57:35 +00:00
Douglas Gregor
eae6dc4a8e - Fixed remove_out_edge_if for undirected graphs.
- Make in_degree work for undirected graphs


[SVN r26515]
2004-12-15 20:32:23 +00:00
Douglas Gregor
f1278dca9f Rearrange detail namespace to get rid of order dependencies in function lookup, I hope
[SVN r26441]
2004-12-06 04:14:40 +00:00
Douglas Gregor
30ef8f84ff Graphs with zero vertices have zero connected components
[SVN r26403]
2004-12-02 16:32:05 +00:00
Douglas Gregor
a1078197fd Use union_set, not link, in incremental_components
[SVN r26288]
2004-11-25 07:39:21 +00:00
Douglas Gregor
2d2a71f7aa Add missing include
[SVN r26287]
2004-11-25 06:44:10 +00:00
Douglas Gregor
f2a278fad5 Fix parallel edge removal bug
[SVN r26286]
2004-11-25 06:33:10 +00:00
Douglas Gregor
9dd1992a9d Data-recursive undirected_dfs from Synge Todo
[SVN r26283]
2004-11-24 17:01:22 +00:00
Douglas Gregor
0c82c42f3d Initialize the predecessor map, dummy
[SVN r26232]
2004-11-18 15:51:29 +00:00
Douglas Gregor
9297879774 Fix for edge function provided by Eyal Farago
[SVN r26231]
2004-11-18 15:48:32 +00:00
Douglas Gregor
d34fed2e2a Add root_vertex support to Bellman-Ford shortest paths
[SVN r26189]
2004-11-11 19:34:35 +00:00
Douglas Gregor
8c2a5290ad index.htm, libs/graph/doc/table_of_contents.html:
- Document the existence of the biconnected components algorithm

libs/graph/example/biconnected_components.cpp:
  - Clean up the GraphViz output a bit

libs/graph/doc/figs/biconnected.dot, libs/graph/doc/figs/biconnected.png,
libs/graph/doc/biconnected_components.html:
  - Documentation for biconnected components and articulation points

boost/graph/biconnected_components.hpp:
  - Minor type tweaks


[SVN r26105]
2004-11-03 15:40:09 +00:00
Douglas Gregor
e7023ea88a boost/graph/biconnected_components.hpp:
- Fixed computation of articulation points

libs/graph/example/biconnected_components.cpp:
  - Remove the second example graph: we only need one for a good example

libs/graph/test/biconnected_components_test.cpp, libs/graph/test/Jamfile:
  - Randomized testcase verifying the biconnected components & articulation
    points computation. Biconnected components aren't thoroughly tested,
    but articulation points are.


[SVN r26094]
2004-11-03 05:02:30 +00:00
Douglas Gregor
6123fb57e9 boost/graph/biconnected_components.hpp:
- Added support for emitting articulation points (they come for free)
  - Eliminated unused parameters in public interface
  - Provided helper overloads that build the lowpt and discovertime property
    maps themselves.
  - Added articulation_points function that computes only articulation points
    (edge components not included)

libs/graph/example/biconnected_components.cpp:
  - Use some of the new overloads
  - Output articulation points as filled circles


[SVN r26091]
2004-11-02 22:34:26 +00:00
Douglas Gregor
5aa64b9cac Minor fixes
[SVN r26024]
2004-10-31 19:55:15 +00:00
Douglas Gregor
17985eaec5 Use appropriate grid cell size
[SVN r25918]
2004-10-28 15:31:42 +00:00
Douglas Gregor
71b302bc49 Merge from graph_devel_1_33_0 branch
[SVN r25893]
2004-10-27 14:38:15 +00:00
Douglas Gregor
63cfb2e00b Perform fast removal of edges in bidirectional graphs
[SVN r25868]
2004-10-26 01:05:11 +00:00
Douglas Gregor
8d219e56bc Fix assignment from *this
[SVN r25820]
2004-10-21 15:52:28 +00:00
Jeremy Siek
4b6effe849 added copyrights
[SVN r25809]
2004-10-20 13:07:46 +00:00
Joaquín M. López Muñoz
2341889e69 taken care of BOOST_NO_STDC_NAMESPACE
[SVN r25294]
2004-09-21 09:58:24 +00:00
Douglas Gregor
0b782a2f7f Work around the lack of a <limits> header
[SVN r25091]
2004-09-14 21:28:18 +00:00
Douglas Gregor
6c7a79387a Work around VC library bug
[SVN r25089]
2004-09-14 21:23:36 +00:00
Douglas Gregor
264620c744 Try to deal with platforms that don't move sin and cos into namespace std
[SVN r25087]
2004-09-14 21:01:04 +00:00
Douglas Gregor
fde46d6ee8 Fix BC include
[SVN r25060]
2004-09-13 18:14:14 +00:00
Douglas Gregor
b7d9331f0e Make the Graph library pass inspection
[SVN r25045]
2004-09-13 15:36:39 +00:00
Douglas Gregor
1b13e37ec2 Attempt at IBM xlC workaround
[SVN r25024]
2004-09-13 00:16:35 +00:00
Douglas Gregor
41e4d297e8 Attempt at IBM xlC workaround
[SVN r25023]
2004-09-13 00:16:03 +00:00
Douglas Gregor
d84342b076 Fix a silly typo
[SVN r24873]
2004-09-02 14:59:32 +00:00
Douglas Gregor
95eeae244b Various fixes for vc7 and Linux
[SVN r24853]
2004-09-01 16:35:57 +00:00
Douglas Gregor
ed11fbce92 VC7 can handle member templates; let it
[SVN r24723]
2004-08-24 22:01:04 +00:00
Douglas Gregor
e6c0a0b36e Use boost::optional to avoid copying singular iterators
[SVN r24721]
2004-08-24 22:00:33 +00:00
John Maddock
0f54780d9b Converted files to the BSL.
[SVN r24614]
2004-08-20 11:10:24 +00:00
Douglas Gregor
5e84be1a7d boost/graph/kamada_kawai_spring_layout.hpp:
- Use T, not double, in layout_tolerance
  - Make layout_tolerance use _relative_ tolerances, only
  - Make default tolerance 0.001, which returns some pleasing graphs

libs/graph/doc/layout_tolerance.html:
  - Document changes


[SVN r24608]
2004-08-19 21:50:19 +00:00
Douglas Gregor
455dae4bfe Test for disconnected graphs and document the change
[SVN r24541]
2004-08-17 21:53:49 +00:00
Douglas Gregor
667f926d1c Really, don't use fabs
[SVN r24540]
2004-08-17 21:33:07 +00:00
Douglas Gregor
46e2920f70 Fix silly error pointed out by Gordon Smith
[SVN r24537]
2004-08-17 20:46:38 +00:00
Douglas Gregor
83ed711d3c Whackin' a few buglets
[SVN r24451]
2004-08-13 02:53:11 +00:00
Jeremy Siek
d32278ed01 fixed bug, p == nil() instead of p != nil() in update
[SVN r24421]
2004-08-11 19:56:32 +00:00
Douglas Gregor
0b137f41e2 Fixed some minor errors, but it is still broken
[SVN r24415]
2004-08-11 17:02:09 +00:00
Douglas Gregor
836a69685b Merged the well-tested algorithms on the graph_devel branch to trunk
[SVN r24414]
2004-08-11 15:30:20 +00:00
Jeremy Siek
5de49c9ea3 added a copyright
[SVN r24393]
2004-08-10 18:44:34 +00:00
Douglas Gregor
d1be6c2495 boost/graph/leda_graph.hpp:
- Ported to new iterator adaptors (actually, iterator_facade)
  - Ported to LEDA 4.5

libs/graph/example/leda-concept-check.cpp, libs/graph/example/leda-graph-eg.cpp
  - Ported to LEDA 4.5


[SVN r24301]
2004-08-05 13:37:22 +00:00
Douglas Gregor
e4461f93d5 Qualify make_pair calls
[SVN r24265]
2004-08-03 10:50:26 +00:00
Douglas Gregor
d017d8e9e7 Converted to Boost Software License, Version 1.0
[SVN r24096]
2004-07-27 03:43:34 +00:00
Douglas Gregor
34fefcd0f6 Converted to Boost Software License, Version 1.0
[SVN r24055]
2004-07-26 00:32:12 +00:00
Douglas Gregor
008a8c7168 johnson_all_pairs_shortest.hpp: When writing into the distance map, we need
to subtract one from the index in graph g2, which has an extra vertex "s" at
the beginning. Amazing how long this bug persisted...


[SVN r24044]
2004-07-25 17:25:54 +00:00
Rene Rivera
f3d206f725 Remove tabs in file.
[SVN r24041]
2004-07-25 16:10:20 +00:00
Douglas Gregor
905969f542 Doug Gregor -> Douglas Gregor
[SVN r24016]
2004-07-25 02:29:29 +00:00
Vladimir Prus
598c2d2478 Do not copy default-constructed interator, which might be signular.
[SVN r23841]
2004-07-20 13:25:48 +00:00
Guillaume Melquiond
145474f398 finally corrected the iterator so that it stops at end of the adjacency matrix, also corrected the get_edge behavior between const and non-const matrix
[SVN r23808]
2004-07-19 20:11:43 +00:00
Guillaume Melquiond
29f3336462 return u-1 edges (rather than a random number) for undirected adjacency matrices
[SVN r23694]
2004-07-17 15:46:38 +00:00
Guillaume Melquiond
dd45b3d00f avoid dereferencing an end iterator
[SVN r23692]
2004-07-17 15:34:09 +00:00
Douglas Gregor
e0435ccc26 dijkstra_shortest_paths.hpp: Fix no_init version invocation(Jürgen Hunold)
[SVN r23346]
2004-07-05 15:41:47 +00:00
Eric Niebler
7b66953776 move BOOST_USING_STD_MIN and _MAX and BOOST_PREVENT_MACRO_SUBSTITUTION to the config headers, remove boost/minmax.hpp, update coding guidelines
[SVN r23313]
2004-07-02 01:21:32 +00:00
Douglas Gregor
778835199f filtered_graph.hpp:
- Workaround for IBM Visual Age C++ 6.0 (Matthias Troyer)


[SVN r23303]
2004-07-01 14:46:02 +00:00
Douglas Gregor
220b44fe17 Need to include iostream to use cout
[SVN r23302]
2004-07-01 14:25:20 +00:00
Jeremy Siek
cfc41552e7 removed inf parameter for the no_init version of Dijkstra's
[SVN r23289]
2004-06-30 16:18:43 +00:00
Jeremy Siek
00a2844d66 fixed bug in remove_edge(e, g) for bidirectional graphs.
The problem was that the edge property was not removed from the edge list


[SVN r23288]
2004-06-30 16:09:17 +00:00
Douglas Gregor
51d60f9b43 libs/graph/test/edge_list_cc.cpp: Specify all parameters, for VC7 support
libs/graph/test/isomorphism.cpp: Deal with atoi/atof missing from std::
boost/graph//adjacency_matrix.hpp: deal with missing allocator<T>::rebind
boost/graph/graph_test.hpp: Remove unusable default constructor (workaround)
boost/graph/vector_as_graph.hpp: When we say remove, we mean std::remove
status/explicit-failures-markup.xml: mark everything I can't or won't fix


[SVN r23237]
2004-06-29 02:30:29 +00:00
Douglas Gregor
73ad3cb092 adjacency_list.hpp:
- Add some more qualification to help VC7 along...


[SVN r23215]
2004-06-27 19:15:55 +00:00
Douglas Gregor
eedac55a7d Need to include <cctype> to get std::isspace
[SVN r23214]
2004-06-27 19:01:09 +00:00
Douglas Gregor
34f46c045a graph_test.hpp:
- Change the mysterious x's to v's.
  - Get the constness of the Graphs correct for
    test_readable_vertex_property_graph.


[SVN r23211]
2004-06-27 18:35:37 +00:00
Douglas Gregor
9d467c8df1 properties.hpp:
- Use is_convertible inside is_vertex_bundle. We lose some checking in
    pathological cases, but it's not worth the effort.


[SVN r23172]
2004-06-23 20:55:31 +00:00
Douglas Gregor
9613d2dd8c Disable bundled properties for EDG 2.38, which can't seem to handle
is_vertex_bundle.


[SVN r23171]
2004-06-23 16:49:55 +00:00
Eric Niebler
e3dd9042b1 remove std_min and std_max, update minmax coding guidelines
[SVN r23162]
2004-06-23 04:49:48 +00:00
Douglas Gregor
cf24fa4ca0 Fix a silly typo
[SVN r23129]
2004-06-20 22:15:40 +00:00
Douglas Gregor
23b3545c8d Overall: Second, more complete and better tested version of bundled properties.
The ->* syntax has been removed. Instead, one may use the member pointer as
the key for the standard get/put functions of property maps. This makes
graph adaptors work with bundled properties (automagically). Also added
support for bundled properties in adjacency_matrix.

index.htm: Announce the addition of bundled properties.

boost/graph/adjacency_list.hpp: Updated to support get/put for bundled
properties.

boost/graph/adjacency_matrix.hpp: Added support for bundled properties.
Suppressed some warnings and fixed a minor bug in add_edge(u, v, ep, g).

boost/graph/properties.hpp: Added property_map specialization for bundled
properties.

libs/graph/doc/*.html: Document uses of bundled properties and direct anyone
not using a broken compiler to bundled properties instead of property lists.

libs/graph/test/bundled_properties.cpp: Test both adjacency_list and
adjacency_matrix, along with filtered_graph. Makes sure all of the bundled
properties operations work.


[SVN r23125]
2004-06-20 03:37:09 +00:00
Douglas Gregor
c5b4dccdf4 Directed adjacency_lists don't model Adjacency Matrix
[SVN r23121]
2004-06-18 20:05:11 +00:00
Douglas Gregor
f68d704b60 pending/property.hpp: retag_property_list just shouldn't exist for compilers without partial specialization.
graph/adjacency_list.hpp: Totally turn off bundling for VC++ < 7.1


[SVN r22889]
2004-05-21 16:54:20 +00:00
Douglas Gregor
31b1be9154 adjacency_list.hpp: Work around VC++ 7.1 bug where the compiler thinks that a typedef in a template won't be a class type.
[SVN r22880]
2004-05-21 02:27:56 +00:00
Douglas Gregor
ce8344e9ad Overall: introduce bundled properties
index.htm:
  - Announce bundled properties

libs/graph/doc/bundles.html:
  - Document bundled properties

libs/graph/doc/adjacency_list.html:
  - Refer to bundled properties

boost/graph/properties.hpp:
  - Added vertex_bundle and edge_bundle properties for bundling
  - Added bundle_property_map for directly handling bundles

boost/pending/property.hpp:
  - Added retag_property_list metafunction that allows us to add a tag
    to the non-property<> element at the end of a property<> list.

boost/graph/adjacency_list.hpp:
  - Implement bundled properties

libs/graph/test/Jamfile, libs/graph/test/bundled_properties.cpp:
  - Test bundled properties


[SVN r22819]
2004-05-14 05:53:33 +00:00
Douglas Gregor
89476c57dd reverse_graph.hpp: Add null_vertex() to traits
[SVN r22818]
2004-05-14 05:41:53 +00:00
Douglas Gregor
20548378ed graphviz.hpp: Fix output of vertex descriptors for edges
(Mark Purtill  <mpurtill@softwarerevolution.com>)


[SVN r22767]
2004-05-08 16:00:24 +00:00
Vladimir Prus
edf7ef8641 Subgraph tweaks.
- copy m_global_edge member in copy constructor
- add BOOST_STATIC_ASSERT for (hopefully) better error reporting when
  user forgot to provide edge_index property.


[SVN r22635]
2004-04-15 07:26:57 +00:00
Jeremy Siek
b4a9b406c2 changed the concept check for Distance Matrix, and changed to
use vertex index to lookup into the distance matrix


[SVN r22601]
2004-04-04 18:02:00 +00:00
Jeremy Siek
844a2019a9 changed to use get() for accessing w1
[SVN r22599]
2004-04-04 17:32:26 +00:00
Jeremy Siek
d965824092 Fixed bug in is_flow() caught by Arun Bhalla.
[SVN r22598]
2004-04-04 13:55:26 +00:00
Jeremy Siek
1a95b1fff0 fixed remove_edge for bidirectional graphs
[SVN r22576]
2004-04-01 01:30:44 +00:00
Vladimir Prus
ff0ea074ab Add 'null_vertex' support to subgraph.
[SVN r22558]
2004-03-26 16:35:19 +00:00
Vladimir Prus
91b24b6363 An attempt to unbreak vc6.
[SVN r22557]
2004-03-26 16:25:08 +00:00
Jeremy Siek
21d9026dbb fixed num_edges() to work with undirected graphs, and also to be O(1)
[SVN r22514]
2004-03-17 17:21:31 +00:00
Jeremy Siek
b3cb4f8037 fixed Reference type for inv_adjacency_iterator
[SVN r22480]
2004-03-11 13:39:42 +00:00
Jeremy Siek
687befe638 added defaults to inv_adjacency_iterator_generator
[SVN r22473]
2004-03-10 13:52:09 +00:00
Jeremy Siek
32497ce2a2 fixed inv_adjacency_iterator
[SVN r22472]
2004-03-10 13:46:17 +00:00
Eric Niebler
d1b0ceea22 remove minmax hack from win32.hpp and fix all places that could be affected by the minmax macros
[SVN r22394]
2004-02-26 18:27:02 +00:00
Jeremy Siek
e29266e8a5 removed redundant initialization of member c
[SVN r22264]
2004-02-15 15:50:03 +00:00
Jeremy Siek
7a9d91ec88 fixed subgraph_local_property_map::operator[]
m_g -> *m_g


[SVN r22225]
2004-02-09 18:29:31 +00:00
Jeremy Siek
d4e507bab8 fixed bug with regards to in_edge_list for undirected graphs
[SVN r22222]
2004-02-09 18:21:05 +00:00
Jeremy Siek
9b53c7b81b changed order of initialization to avoid warnings
[SVN r22221]
2004-02-09 18:17:59 +00:00
Jeremy Siek
30d756a5f6 changed type of u1 and u2 in edge_cmp from vertex1_t to int so that they match the return type of dfs_num[...]
[SVN r22220]
2004-02-09 18:12:00 +00:00
Jeremy Siek
5133c85054 fixed bug in get_property, changed -> to .
[SVN r22211]
2004-02-09 16:29:53 +00:00
Jeremy Siek
2cebf15b79 moved the implementation of
bidirectional_graph_helper_with_property::remove_edge
into the class definition to avoid VC++ bug.


[SVN r22189]
2004-02-06 21:39:42 +00:00
Jeremy Siek
b5ded5174e fixed bug in undirected out edge iterator, missing initialization of m_inc
[SVN r22176]
2004-02-05 20:20:55 +00:00
Jeremy Siek
60f612a532 Fixed bug in properties. Global and local properties were not shared,
but they are suppose to be. The problem was that I was using the property
map from the local subgraphs instead of from the global graph.


[SVN r22150]
2004-02-03 14:10:39 +00:00
Jeremy Siek
d755f8f5c3 changed iterator to const_iterator
[SVN r22136]
2004-02-02 14:25:51 +00:00
Jeremy Siek
f7fa2e2942 changed to mutable iterator, to match return type of std::set::find, just
in case the std implementation does not provide constant to mutable
iterator conversions for std::set.


[SVN r22081]
2004-01-30 14:29:52 +00:00
Jeremy Siek
ad20c88c20 changed back to using std::set::find instead of std::find in edge_dispatch
[SVN r22080]
2004-01-30 14:27:32 +00:00
Jeremy Siek
23c981d632 performance bug fix
[SVN r21870]
2004-01-21 20:38:59 +00:00
Jeremy Siek
ccd8ecee09 fixed more bugs triggered by the changes in input_iterator_archetype
[SVN r21867]
2004-01-21 19:04:09 +00:00
Jeremy Siek
c3ad6d91cf fixed a bug brought to light by the change in input_iterator_archetype
[SVN r21865]
2004-01-21 18:55:16 +00:00
Jeremy Siek
fbe0af0831 fixed some bugs due to changes in iterator_adaptor::base()
[SVN r21864]
2004-01-21 18:46:08 +00:00
Rene Rivera
abd8f2aa84 Fix tabs in file.
[SVN r21399]
2003-12-26 23:26:49 +00:00
Douglas Gregor
aa9b63ba07 Deal with BOOST_NO_STD_ITERATOR_TRAITS
[SVN r21345]
2003-12-20 01:58:52 +00:00
Vladimir Prus
b6201b1288 Fix typos.
[SVN r21315]
2003-12-18 05:36:17 +00:00
Beman Dawes
e0f1e4c036 fix missing std:: plus 3 2-phase name lookup errors on Metrowerks
[SVN r21308]
2003-12-17 19:59:39 +00:00
Douglas Gregor
324d895dd9 transitive_closure.hpp: Use Bind instead of Compose
[SVN r21306]
2003-12-17 17:41:11 +00:00
Douglas Gregor
decc08bb0e Patch up Graph library so that it is (almost) clean w.r.t. Beman's
inspection script


[SVN r21066]
2003-12-02 06:28:12 +00:00
Vladimir Prus
33913b20ea Account for the fact that ostream is not template, and basic_ostream
should be used instread. Have no idea how it worked before.


[SVN r20976]
2003-11-27 16:10:09 +00:00
Jeremy Siek
811cf59a54 moving to sandbox
[SVN r20941]
2003-11-24 19:31:35 +00:00
Dave Abrahams
40644bc5ed Removed access category tags from iterator library, made corresponding
changes elsewhere.

boost/iterator and libs/iterator/test were updated from
branch "simplify"


[SVN r20905]
2003-11-22 01:18:37 +00:00
Jeremy Siek
07fe2aafa3 untabify
[SVN r20569]
2003-10-31 01:30:10 +00:00
Jeremy Siek
276e86d0a6 added an edge(u,v,g) function
[SVN r20556]
2003-10-29 23:40:45 +00:00
Jeremy Siek
d11130909b fix from Volodya
[SVN r20553]
2003-10-29 21:10:45 +00:00
Vladimir Prus
0658669b79 Make it work on Borland.
Patch from Hugo Duncan.


[SVN r20473]
2003-10-24 11:35:04 +00:00
Jeremy Siek
a8a1df5ff2 fixed the fix to source and target for filtered_graph
[SVN r20265]
2003-10-06 17:27:45 +00:00
Jeremy Siek
63a8ee23c5 changes to make vector_as_graph and filtered_graph work together
[SVN r20196]
2003-09-26 22:15:23 +00:00
Douglas Gregor
a5abf00cc7 Make the default TerminatorFunc nontruth2 instead of truth2, because we need
it to return false (i.e., don't abort) all the time, not true (which aborts
early).


[SVN r19839]
2003-08-28 16:34:20 +00:00
Vladimir Prus
121bb31837 Implement depth_first_visit variant which allows to stop the search at
certain vertices.


[SVN r19827]
2003-08-28 11:49:00 +00:00
Vladimir Prus
49e55bc606 Remove unused code.
Patch from Janusz Piwowarski.


[SVN r19818]
2003-08-28 04:56:32 +00:00
Vladimir Prus
fd543d5fae Implement remove_vertex function for vector_as_graph.
Patch from Janusz Piwowarski.


[SVN r19817]
2003-08-28 04:52:10 +00:00
Vladimir Prus
f52b93625f Fix compilation warning, reported by Janusz Piwowarski.
[SVN r19795]
2003-08-27 06:40:49 +00:00
Jeremy Siek
87bc680518 class -> struct
[SVN r19679]
2003-08-18 15:50:11 +00:00
Jeremy Siek
096c3d9eb2 fixed call to get()
[SVN r19605]
2003-08-14 17:15:02 +00:00
Jeremy Siek
c0fde285cd changed to print the vertex_index instead of the vertex_descriptor
[SVN r19539]
2003-08-12 01:15:37 +00:00
Jeremy Siek
9b195bb299 Fixed vertex_index to return local index instead of global index.
This is important when running a graph algorithm on a subgraph.


[SVN r19479]
2003-08-06 16:52:25 +00:00
Beman Dawes
487bb3ad72 Add missing inlines (Solomon Gibbs)
[SVN r19463]
2003-08-05 16:13:08 +00:00
Jeremy Siek
b174cc0adf added a call to const_constraints(g) that was missing from
IncidenceGraphConcept::constraints


[SVN r19452]
2003-08-05 02:13:27 +00:00
Dave Abrahams
5f98c9923c boost/graph/graph_traits.hpp -- workaround for a vc6 ICE
boost/graph/adjacency_matrix.hpp,
boost/graph/detail/adjacency_list.hpp -- use boost/limits.hpp instead of <limits>, for portability.


[SVN r19388]
2003-07-31 15:06:00 +00:00
Dave Abrahams
81a1368fab Workarounds for broken compilers
[SVN r19379]
2003-07-31 00:34:58 +00:00
Dave Abrahams
50270ae7ba Add missing backslashes
[SVN r19346]
2003-07-29 16:32:03 +00:00
Vladimir Prus
894905388c Wrap boost/pending/container_traits.hpp in boost::graph_detail namespace,
to avoid conflicts with container_traits.hpp from boost sandbox.


[SVN r19337]
2003-07-29 08:41:54 +00:00
Vladimir Prus
09488ccbbc Implement 'null_vertex' notion.
[SVN r19336]
2003-07-29 08:31:01 +00:00
Dave Abrahams
8121e5394a Patched for Borland on Hugo Duncan's say-so
[SVN r19333]
2003-07-28 23:01:27 +00:00
Dave Abrahams
d8e0253233 make all the iterator adaptors override only access category; add missing std:: qualification
[SVN r19234]
2003-07-21 01:48:49 +00:00
Dave Abrahams
ab5cb5e51d GCC 2.x workarounds
[SVN r19229]
2003-07-20 19:04:54 +00:00
Dave Abrahams
e530bade5b Apply fix from "Janusz Piwowarski" <jpiw-at-go2.pl>
[SVN r19155]
2003-07-16 15:45:11 +00:00
Dave Abrahams
4b9b46cf49 Stop using non-existent std::is_heap
[SVN r19075]
2003-07-11 22:19:24 +00:00
Dave Abrahams
dac729c926 Add missing next/prior.hpp
[SVN r19073]
2003-07-11 22:18:41 +00:00
Dave Abrahams
03b8ab6734 Move to new iterator adaptors, except for LEDA and standford graph
support.  Also fix many small bugs.


[SVN r19070]
2003-07-11 21:26:08 +00:00
Douglas Gregor
015276d003 depth_first_visit now calls start_vertex
[SVN r19060]
2003-07-11 16:06:07 +00:00
Jens Maurer
f4d8b68e0e adjust to Boost.Random interface change for C++ library TR
[SVN r19008]
2003-07-09 22:55:21 +00:00
Vladimir Prus
6715b847ca Add non-recursive dfs, from Bruce Barr.
[SVN r18862]
2003-06-24 09:59:03 +00:00
Douglas Gregor
925ab9b163 Allow easy visitor creation with do_on_XXX member functions.
[SVN r18853]
2003-06-23 04:38:16 +00:00
Beman Dawes
5dfedd00db Comeau and Metrowerks say randomize_property must follow detail::randomize_property
[SVN r18527]
2003-05-24 12:10:13 +00:00
Vladimir Prus
bc232d0067 Add missing typenames.
[SVN r18464]
2003-05-20 06:02:51 +00:00
Dave Abrahams
f84665b72d Fixed a typo.
[SVN r18454]
2003-05-19 19:20:18 +00:00
Vladimir Prus
659b99dec8 Bugfix from Alexey Nikitin.
* boost/graph/adjacency_list.hpp
  Register multisetS as container selector.


[SVN r18394]
2003-05-14 09:51:20 +00:00
Vladimir Prus
df7037fba6 Switch to pass-by-reference.
[SVN r17854]
2003-03-12 15:39:31 +00:00
Vladimir Prus
c62a911429 Minor bugfix.
* boost/graph/properties.hpp
  (property_traits<default_color_type>{}): Add 'reference' typedef.


[SVN r17765]
2003-03-07 16:13:04 +00:00
Vladimir Prus
ad6d5c75cd Use BOOST_STATIC_CONSTANT.
[SVN r17475]
2003-02-17 07:58:00 +00:00
Vladimir Prus
91f7d0d42d Bugfix.
[SVN r17474]
2003-02-17 07:36:18 +00:00
Björn Karlsson
55581ff209 Added copyright and untabified
[SVN r17323]
2003-02-12 08:51:11 +00:00
Vladimir Prus
0fab95269c Assert that connected_component is called on undirected graph, per docs.
[SVN r17261]
2003-02-07 08:56:15 +00:00
Vladimir Prus
e5f983c453 Improve random graph utilities.
* boost/graph/random.hpp: New file.
    (random_vertex, random_edge): Moved from graph_utility.hpp
    (generate_random_graph): Moved from graph_utility.hpp and
     added 'allow_parallel' parameter.
    (randomize_property): New function.

* lib/graph/doc/random.html: New file.


[SVN r17233]
2003-02-05 15:17:47 +00:00
Vladimir Prus
c275c502b6 Make 'copy_graph' version with named parameters work.
[SVN r17227]
2003-02-05 12:02:02 +00:00
Jeremy Siek
508e8bcbed moved over from sandbox
[SVN r17180]
2003-02-03 18:13:57 +00:00
Vladimir Prus
661eca78a1 Add missing typename.
[SVN r17178]
2003-02-03 16:34:10 +00:00
Vladimir Prus
1adbc147f1 Don't segfault on empty graph.
[SVN r17174]
2003-02-03 14:21:55 +00:00
Jeremy Siek
0e88c8cf7a fixed LvaluePropertyGraphConcept
[SVN r17079]
2003-01-29 15:18:45 +00:00
Vladimir Prus
f5bf31f89d Minor concept docfixes.
* boost/graph/graph_concepts.hpp
    (VertexAndEdgeListGraphConcept): New class.

* libs/graph/doc/BidirectionalGraph.html: Doc fixes.

* libs/graph/doc/VertexAndEdgeListGraph.html: Doc fixes.


[SVN r17069]
2003-01-28 16:38:27 +00:00
Björn Karlsson
8ec64fdd02 Added missing include; named_function_params.hpp
[SVN r16885]
2003-01-13 13:43:00 +00:00
Jeremy Siek
e055b2625c bug fix thanks to Nepomnyachiy Pavel!
[SVN r16117]
2002-11-05 17:56:35 +00:00
Jeremy Siek
37f92a391c pass by reference to fix add_edge bug
thanks Helge Jensen!


[SVN r16116]
2002-11-05 17:48:16 +00:00
Jeremy Siek
eefda06d3d added copyright statement
[SVN r16008]
2002-10-28 15:10:10 +00:00
Jeremy Siek
329d43b6c6 removed dependency on graph_utility
[SVN r15671]
2002-10-03 14:03:06 +00:00
Jeremy Siek
f7de068589 changed to const reference in breadth_first_visit
[SVN r15670]
2002-10-03 14:02:24 +00:00
Jeremy Siek
39104a5514 added this-> to access graph member since the base class is dependent
[SVN r15271]
2002-09-12 02:29:28 +00:00
Jeremy Siek
25dcd6f92c added this-> to access m_vis, since the base class is dependent
[SVN r15270]
2002-09-12 02:27:46 +00:00
Jeremy Siek
2b6b96b97d removed the assertion about self edges
[SVN r15105]
2002-08-27 17:22:37 +00:00
Jeremy Siek
4e687216b7 added more specializations of hash
[SVN r15103]
2002-08-26 17:10:28 +00:00
Jeremy Siek
b3e7396c37 added typename
[SVN r14996]
2002-08-20 15:54:59 +00:00
Jeremy Siek
397ddb31ea blah
[SVN r14995]
2002-08-20 15:54:39 +00:00
Jeremy Siek
cfbf43e814 added edge color
[SVN r14974]
2002-08-19 22:17:00 +00:00
Jeremy Siek
a22326d2b5 hmm, forget what I changed...
[SVN r14973]
2002-08-19 22:16:50 +00:00
Jeremy Siek
6a35e532d7 added edge_color_map
[SVN r14969]
2002-08-19 22:15:44 +00:00
Jeremy Siek
8608ebaf0a fixed edge coloring
[SVN r14961]
2002-08-19 18:12:14 +00:00
Jeremy Siek
8d4aaff25f small edit
[SVN r14957]
2002-08-19 16:59:46 +00:00
Jeremy Siek
08bb638505 new file
[SVN r14954]
2002-08-19 16:45:01 +00:00
Jeremy Siek
4c668211c7 changed back to old order, fixed iteration macro problem in isomorphism.hpp instead
[SVN r14860]
2002-08-14 21:18:58 +00:00
Jeremy Siek
54a5a4a7a3 fixed how undef was used
[SVN r14859]
2002-08-14 21:17:59 +00:00
Jeremy Siek
019cfbf502 move #include of iteration_macros.hpp to come last (after isomorphism.hpp)
[SVN r14858]
2002-08-14 21:14:30 +00:00
Jeremy Siek
6668dc65b8 changed 2nd i to j
[SVN r14855]
2002-08-14 20:55:59 +00:00
Jeremy Siek
6fea41727d Fixed check for negative edges. Hurrah for concept archetypes!
[SVN r14853]
2002-08-14 20:53:27 +00:00
Jeremy Siek
4333f4c3f2 changed checking for directedness to use is_convertible
[SVN r14796]
2002-08-12 19:13:18 +00:00
Jeremy Siek
185c8b4c66 added edge_range
[SVN r14712]
2002-08-06 14:55:12 +00:00
Jeremy Siek
85e8916e35 added non-named parameter version
[SVN r14611]
2002-07-25 20:34:36 +00:00
Jeremy Siek
f4392384c1 added stuff for undirected edges
[SVN r14609]
2002-07-25 19:53:38 +00:00
Jeremy Siek
b1fd572469 fixed bug, forgot to create the modifed graph with an extra vertex
[SVN r14606]
2002-07-25 19:25:50 +00:00
Jeremy Siek
6b08404083 moved call to postorder
[SVN r14523]
2002-07-18 17:00:25 +00:00
Jeremy Siek
22cb1e04ca added property map access
[SVN r14522]
2002-07-18 16:59:57 +00:00
Jeremy Siek
87f63c1241 added a tree parameter to the visitor functions
[SVN r14521]
2002-07-18 16:24:54 +00:00
Jeremy Siek
e4582d5118 added leda_ prefix to the node_map and node_array
[SVN r14482]
2002-07-16 14:57:08 +00:00
Jeremy Siek
74a679b769 removed tabs
[SVN r14443]
2002-07-13 21:03:06 +00:00
Jeremy Siek
ccaaef7a72 fixed typename bug
[SVN r14442]
2002-07-13 20:28:44 +00:00
Jeremy Siek
73f3dc1a92 put #ifdef around templated edge iter constructors
[SVN r14438]
2002-07-13 17:12:55 +00:00
Dave Abrahams
a500eba00d Fix unversioned VC++ checks
[SVN r14436]
2002-07-13 12:26:19 +00:00
Jeremy Siek
39e27bc6a7 fixed bug in set_difference
[SVN r14416]
2002-07-11 22:08:17 +00:00
Jeremy Siek
0f0cc3de96 fixed bug in remove_edge due to use of invalid iterator
(this bug was exposed by STLport)


[SVN r14406]
2002-07-11 19:07:45 +00:00
Jeremy Siek
595c3708ed added set_subset function
[SVN r14142]
2002-06-14 00:41:01 +00:00
Ronald Garcia
877606cb52 Fixed a bug in property map creation.
[SVN r14128]
2002-06-10 18:35:24 +00:00
Ronald Garcia
99fc1b170d fixed typo in name
[SVN r14104]
2002-06-07 17:42:22 +00:00
Jeremy Siek
42526b9ca5 changed Edge and Vertex to const& in topo_sort_visitor
[SVN r14026]
2002-05-23 16:28:02 +00:00
Jeremy Siek
d70300766c added copyright notice
[SVN r14009]
2002-05-22 18:28:38 +00:00
Jeremy Siek
d5573da050 added std:: prefix to invalid_argument
[SVN r14008]
2002-05-22 18:27:10 +00:00
Jeremy Siek
b2ac4c2743 added std:: prefix to string
[SVN r14007]
2002-05-22 16:18:23 +00:00
Jeremy Siek
834d6ad8fd added some exceptions
[SVN r13978]
2002-05-19 16:26:37 +00:00
Jeremy Siek
63290266da added optimization of stopping as soon as relaxation is done
(thanks Herve for the suggestion!)


[SVN r13977]
2002-05-19 15:42:14 +00:00
Jeremy Siek
ad88071877 did workaround, avoiding using default parameters in constructors for visitors
[SVN r13945]
2002-05-16 02:13:32 +00:00
Jeremy Siek
1efa4097a2 fix for dealing with leda macros
[SVN r13786]
2002-05-09 17:41:58 +00:00
Jeremy Siek
2d30710ee0 forgot to include <vector> and added is_sorted (meaning to check this in
for a while)


[SVN r13785]
2002-05-09 17:38:38 +00:00
Darin Adler
a78fe97664 Add missing <cassert> includes.
[SVN r13264]
2002-03-24 19:05:41 +00:00
Jeremy Siek
44ced84aa0 removed tabs
[SVN r12707]
2002-02-04 20:29:35 +00:00
Jeremy Siek
41d9380175 fixed name conflict with "Property" template parameter names for buggy compilers
[SVN r12493]
2002-01-25 01:58:56 +00:00
Jeremy Siek
fc7d71789b better solution for operator<<
[SVN r12459]
2002-01-23 15:51:18 +00:00
Jeremy Siek
3f735f2066 blah
[SVN r12450]
2002-01-23 03:24:26 +00:00
Jeremy Siek
b98e1687c2 moved the make_dfs_visitor function and the visitor class to above
where it first gets used


[SVN r12444]
2002-01-22 15:01:48 +00:00
Jeremy Siek
0604ad7274 *** empty log message ***
[SVN r12376]
2002-01-20 18:17:11 +00:00
Jeremy Siek
e58e655b29 making the code prettier
[SVN r12344]
2002-01-18 03:33:53 +00:00
Jeremy Siek
55581ebe44 resolved more conflicts
[SVN r12343]
2002-01-18 03:19:20 +00:00
Jeremy Siek
c5e6fda4de resolved merge
[SVN r12342]
2002-01-18 03:18:10 +00:00
Jeremy Siek
5ccae0f486 reorganized a bit
[SVN r12341]
2002-01-18 03:16:59 +00:00
Jeremy Siek
f700be45cb added concept check for DistanceMatrix
[SVN r12340]
2002-01-18 03:12:23 +00:00
Lie-Quan Lee
50bd678384 change tabs to spaces
[SVN r12337]
2002-01-17 15:57:53 +00:00
Lie-Quan Lee
256fe97529 change tabs to spaces
[SVN r12322]
2002-01-15 03:33:26 +00:00
Dave Abrahams
d6c4087341 changed nested "bind" templates to "bind_" for MSVC.
[SVN r12319]
2002-01-14 21:29:55 +00:00
Dave Abrahams
3f58e4d848 Work with more libraries due to boost::detail::iterator_traits
[SVN r12317]
2002-01-14 21:25:17 +00:00
Dave Abrahams
aeb2d4a45c Modified Files:
boost/graph/breadth_first_search.hpp

		MSVC workaround

	boost/python/reference.hpp boost/python/converter/type_id.hpp
	boost/python/converter/unwrap.hpp
	boost/python/converter/wrap.hpp
	boost/python/converter/wrapper.hpp
	boost/python/detail/config.hpp libs/python/Jamfile
	libs/python/src/converter/registry.cpp
	libs/python/src/converter/type_id.cpp
	libs/python/src/converter/unwrap.cpp libs/python/test/m1.cpp
Added Files:
	boost/python/converter/wrapper_base.hpp


		CXX 6.x fixes


[SVN r12271]
2002-01-10 19:28:16 +00:00
Jeremy Siek
de0a153c53 finished change, attributes[e] -> seq in write_attribute()
[SVN r12158]
2001-12-28 02:31:44 +00:00
Jeremy Siek
8dc5ae74ee Added Doug's write_all_attributes function and related changes
[SVN r12157]
2001-12-28 02:26:20 +00:00
Jeremy Siek
cf7d296292 fixed put() function. Thanks Doug!
[SVN r12156]
2001-12-28 02:15:54 +00:00
Jeremy Siek
6fa4c596fd subgraph related changes
[SVN r12107]
2001-12-18 16:08:06 +00:00
Jeremy Siek
fce3fe6ca6 changed passing convention for the edge_set
[SVN r12103]
2001-12-18 03:53:10 +00:00
Jeremy Siek
4d9bc14e69 changed to const graph pointer
[SVN r12102]
2001-12-18 03:51:59 +00:00
Jeremy Siek
d1f60541d9 const correctness fix, changed graph to const
[SVN r12100]
2001-12-18 02:43:16 +00:00
Jeremy Siek
97cab7e93e fixed infinite loop caused by a typo
[SVN r12098]
2001-12-17 23:07:55 +00:00
Jeremy Siek
e7c0d34a98 fixed a bug concerning g_to_tc_map
[SVN r12059]
2001-12-14 15:02:31 +00:00
Jeremy Siek
ed4bdc2417 added clear_vertex test
[SVN r12037]
2001-12-13 16:52:47 +00:00
Jeremy Siek
750bd9a13d fixed some typos
[SVN r12034]
2001-12-13 16:25:15 +00:00
Jeremy Siek
b1784b9ebb added another test
[SVN r12031]
2001-12-13 16:00:37 +00:00
Jeremy Siek
7a31d48962 got basic add_vertex and add_edge tests working
[SVN r12029]
2001-12-13 06:09:25 +00:00
Jeremy Siek
ab6d7a4b45 new file, modularized generic graph tests
[SVN r12026]
2001-12-13 03:23:18 +00:00
Jeremy Siek
097001da6a added indirect_pmap
[SVN r12003]
2001-12-10 16:24:39 +00:00
Jeremy Siek
6fda589723 added a note at the top
[SVN r12002]
2001-12-10 04:11:58 +00:00
Jeremy Siek
08b26e3f3b additions from the Wiki
[SVN r12001]
2001-12-10 04:10:00 +00:00
Jeremy Siek
b761b44a0d any_equal -> contains
and moved iota to detail/algorithm.hpp


[SVN r12000]
2001-12-10 03:58:15 +00:00
Jeremy Siek
02ac6db93d moved algorithm.hpp again
[SVN r11998]
2001-12-10 03:44:04 +00:00
Jeremy Siek
12e472b741 moved to boost/detail
[SVN r11997]
2001-12-10 03:40:27 +00:00
Jeremy Siek
994bbd5f4a this is getting used in the isomorphism algorithm.
This will eventually develop into the Boost.Algorithm library


[SVN r11996]
2001-12-10 03:39:57 +00:00
Jeremy Siek
73f8ed8f4c changed location of the algorithm.hpp header
[SVN r11994]
2001-12-10 03:33:46 +00:00
Jeremy Siek
36a92c7f3b being used in isomorphism.hpp
[SVN r11993]
2001-12-10 03:32:57 +00:00
Jeremy Siek
6f93b9d06d new version
[SVN r11989]
2001-12-09 16:46:12 +00:00
Jeremy Siek
320200fbc5 added a make function
[SVN r11982]
2001-12-08 20:42:36 +00:00
Jeremy Siek
a0061ba07e ADJACENT -> ADJ
[SVN r11974]
2001-12-07 17:34:56 +00:00
Jeremy Siek
d843017353 added vertex invariant stuff for isomorphism
[SVN r11967]
2001-12-07 07:55:12 +00:00
Jeremy Siek
c07cc82a4f removed _T in a couple places
[SVN r11961]
2001-12-06 20:41:06 +00:00
Jeremy Siek
ab92236d78 typo
[SVN r11958]
2001-12-06 17:08:47 +00:00
Jeremy Siek
ff79797a30 changed to safer two for-loop mechanism
[SVN r11957]
2001-12-06 17:07:51 +00:00
Jeremy Siek
8ddcdfd33e added more warnings and examples
[SVN r11956]
2001-12-06 16:20:33 +00:00
Jeremy Siek
dcde366d0e added a warning
[SVN r11955]
2001-12-06 16:17:33 +00:00
Jeremy Siek
25302ccbd7 fixed bug, edge -> edges
[SVN r11934]
2001-12-05 20:27:12 +00:00
Jeremy Siek
7234e21211 added some default constructors to property maps
[SVN r11925]
2001-12-05 03:41:40 +00:00
Jeremy Siek
571a855bbc fixed a bug in some of them, can't assign to edge or vertex var in the
initialization part, might be an empty sequence


[SVN r11923]
2001-12-05 03:40:10 +00:00
Jeremy Siek
9177957cfc added a comment to document how the macros work
[SVN r11920]
2001-12-05 00:36:14 +00:00
Jeremy Siek
c8d186e50b new files
[SVN r11919]
2001-12-04 23:07:03 +00:00
Jeremy Siek
7ecf6f59a6 improved and simplified version, matching the literate doc
[SVN r11893]
2001-12-03 22:43:11 +00:00
Jeremy Siek
2af0e49c87 removed debug print stuff
[SVN r11817]
2001-11-29 23:37:25 +00:00
Jeremy Siek
4585685c64 fixed another bug
[SVN r11816]
2001-11-29 23:27:47 +00:00
Douglas Gregor
1a29ad2c7a isomorphism.hpp:
- Fixed small typo - used Graph1 instead of Graph2 to get VertexG2


[SVN r11805]
2001-11-29 13:33:23 +00:00
Jeremy Siek
7385173288 fixed several bugs
[SVN r11803]
2001-11-29 07:08:17 +00:00
Douglas Gregor
04ef43e4ac graph/isomorphism.hpp:
- Added some missing "typename"s

random/uniform_int.hpp:
  - Don't include <limits> directly


[SVN r11802]
2001-11-29 04:03:52 +00:00
Jeremy Siek
6b3b2d1c0c added dijkstra_shortest_paths_no_init
[SVN r11798]
2001-11-28 21:58:53 +00:00
Douglas Gregor
0385bca4b7 depth_first_search.hpp:
- Added ability to specify starting vertex for depth_first_search


[SVN r11793]
2001-11-28 06:55:46 +00:00
Jeremy Siek
e579bf2cd1 fixed bug in make_filtered_graph with respect to the VertexPredicate
[SVN r11646]
2001-11-09 20:55:45 +00:00
Jeremy Siek
076be173e2 changed subgraph constructor
[SVN r11643]
2001-11-09 14:52:23 +00:00
Jeremy Siek
04bc75cd40 some bug fixes from Rich
[SVN r11641]
2001-11-09 14:41:02 +00:00
Jeremy Siek
140de98250 make sure #include <boost/config.hpp> comes first
[SVN r11617]
2001-11-06 21:45:27 +00:00
Jeremy Siek
43efa28d29 *** empty log message ***
[SVN r11607]
2001-11-06 04:18:10 +00:00
Jeremy Siek
90e70dce7b special case for empty graph and sixed a problem with orig_to_copy
[SVN r11598]
2001-11-05 20:28:41 +00:00
Jeremy Siek
ea5aa3d107 fixed get() constness
[SVN r11597]
2001-11-05 20:13:55 +00:00
Jeremy Siek
2c10480b28 changed to take const graph in constructor
[SVN r11593]
2001-11-05 17:22:01 +00:00
Jeremy Siek
7162fea287 fixed lexical cast g++ sstream problem
[SVN r11592]
2001-11-05 16:43:43 +00:00
Jeremy Siek
1c9b7a86f5 finished changes for random acces edge list
[SVN r11579]
2001-11-05 03:51:41 +00:00
Jeremy Siek
2d22a32f3a added random access option for the edge list
[SVN r11578]
2001-11-05 03:40:55 +00:00
Jeremy Siek
f3ddfbfead finished adding non-named parameter (forgot one thing)
[SVN r11577]
2001-11-05 01:07:04 +00:00
Jeremy Siek
3ddd054124 non-named parameter version of some BGL algorithms
some VC++ compiler stuff


[SVN r11576]
2001-11-04 23:24:12 +00:00
Jeremy Siek
cb16f8a63e added a copy constructor to do deep copy of the list of children
[SVN r11564]
2001-11-04 05:13:14 +00:00
Jeremy Siek
a2fa9cf2cb avoid warnings about not being initialized
[SVN r11562]
2001-11-04 04:08:46 +00:00
Jeremy Siek
6fb684c821 iterator adaptor change
[SVN r11559]
2001-11-04 03:28:19 +00:00
Jeremy Siek
1c31f8cafa some more iterator adaptor changes
[SVN r11555]
2001-11-04 03:07:53 +00:00
Jeremy Siek
1ffe30f89b iterator adaptor update and related changes
[SVN r11554]
2001-11-04 02:50:10 +00:00
Jeremy Siek
e7dda7eb6d *** empty log message ***
[SVN r11553]
2001-11-04 00:26:55 +00:00
Jeremy Siek
4b7aa8fc4b *** empty log message ***
[SVN r11552]
2001-11-03 19:13:47 +00:00
Jeremy Siek
86e7e07e2e *** empty log message ***
[SVN r11551]
2001-11-03 17:20:30 +00:00
Jeremy Siek
fbe3b430e0 *** empty log message ***
[SVN r11550]
2001-11-03 16:38:55 +00:00
Jeremy Siek
21ba3be83c *** empty log message ***
[SVN r11548]
2001-11-03 06:20:59 +00:00
Jeremy Siek
8c5fc2a96e *** empty log message ***
[SVN r11543]
2001-11-03 04:43:33 +00:00
Jeremy Siek
8888e44a0f *** empty log message ***
[SVN r11542]
2001-11-03 01:46:24 +00:00
Jeremy Siek
d5d69d0c82 *** empty log message ***
[SVN r11539]
2001-11-02 22:51:24 +00:00
Jeremy Siek
44c8e75c2e *** empty log message ***
[SVN r11538]
2001-11-02 21:35:44 +00:00
Jeremy Siek
98f6b487bd fixes for KCC
[SVN r11535]
2001-11-02 14:47:00 +00:00
Jeremy Siek
deb9d39027 kcc fixes
[SVN r11533]
2001-11-02 06:21:32 +00:00
Jeremy Siek
d265125e8f fixed isomoprhism
[SVN r11519]
2001-11-01 22:43:20 +00:00
Jeremy Siek
bb0fc3a38c various fixes
[SVN r11513]
2001-11-01 20:30:32 +00:00
Jeremy Siek
36e2a3074f fixed signed/unsigned compares
[SVN r11512]
2001-11-01 20:10:30 +00:00
Jeremy Siek
393fa73878 fixed bug in constructor
[SVN r11434]
2001-10-24 19:00:22 +00:00
Jeremy Siek
3521815d8c fixed include of bucket sorter
[SVN r11343]
2001-10-04 22:47:31 +00:00
Jeremy Siek
ce7f13f760 fixed
[SVN r11342]
2001-10-04 22:46:41 +00:00
Jeremy Siek
36da83ffe1 visitor stuff
[SVN r11280]
2001-09-26 15:28:51 +00:00
Jeremy Siek
c78cc61a52 added default_bfs_visitor
[SVN r11279]
2001-09-26 15:28:41 +00:00
Darin Adler
0d833d261b Fix to work with non-std extensions namespace.
[SVN r11193]
2001-09-22 02:55:45 +00:00
Darin Adler
b6df85d0ff Fix to work properly with non-std extensions namespace.
[SVN r11192]
2001-09-22 02:55:10 +00:00
Jeremy Siek
61ba919d47 bye bye
[SVN r11185]
2001-09-21 17:16:21 +00:00
Jeremy Siek
f96a2347c0 changed #include of tree_structure.hpp to tree_traits.hpp
[SVN r11171]
2001-09-20 15:37:29 +00:00
Jeremy Siek
14dee94585 added named parameter version
[SVN r11124]
2001-09-14 17:01:16 +00:00
Jeremy Siek
918a13fd5d new file
[SVN r11107]
2001-09-12 20:48:21 +00:00
Jeremy Siek
d01e32a0c8 moved source(pair) and target(pair) into namespace std
[SVN r11096]
2001-09-11 15:28:50 +00:00
Jeremy Siek
da4c8f3c59 added a public non-NTP version
[SVN r11048]
2001-09-06 05:23:21 +00:00
Jeremy Siek
a8ccda6a94 switch to use simpler version of BFS
[SVN r11047]
2001-09-06 05:20:45 +00:00
Jeremy Siek
78e6dc44cd fixed breadth_first_search
[SVN r11046]
2001-09-06 05:12:42 +00:00
Jeremy Siek
cac9c7c670 changed the name of bfs_impl to breadth_first_visit and made it public
(moved out of detail namespace)


[SVN r11044]
2001-09-06 04:57:00 +00:00
Jeremy Siek
741ac3cc5d swap unqualified is not working for builtins on the MacOS X c++
[SVN r11043]
2001-09-06 04:14:38 +00:00
Jeremy Siek
37cfe92cd1 call abs() unqualified
[SVN r11031]
2001-09-05 15:04:39 +00:00
Jeremy Siek
be7fdbbc90 call std::swap unqualified
[SVN r11030]
2001-09-05 15:03:28 +00:00
Jeremy Siek
80d97db4d4 removed inf and zero generator, just passing in objects instead
[SVN r11012]
2001-09-03 23:15:55 +00:00
Jeremy Siek
63cb03ee66 updated to dijkstra change
[SVN r11009]
2001-09-03 21:17:45 +00:00
Jeremy Siek
753f3deacc switched to closed plus
[SVN r11006]
2001-09-03 20:36:51 +00:00
Jeremy Siek
020fff0e68 added closed plus
[SVN r11005]
2001-09-03 20:36:22 +00:00
Jeremy Siek
8e55436641 reverted the change to use expand/summarize. That abstraction doesn't
work for the implementation because the compare is really required,
for the queue in Dijkstra's and for checking for neg cycles in Bellman.


[SVN r11004]
2001-09-03 20:25:49 +00:00
Jeremy Siek
e49c09dbcc removed unused parameter
[SVN r11000]
2001-09-03 16:01:43 +00:00
Jeremy Siek
585bdc4581 now this is auto-generated
[SVN r10958]
2001-08-29 16:58:38 +00:00
Jeremy Siek
4978760586 fixed hash_setS by adding a specialization of hash<> for stored edge
[SVN r10956]
2001-08-29 03:18:47 +00:00
Jeremy Siek
78221a7d9d avoid warning about un-init var
[SVN r10955]
2001-08-28 22:17:56 +00:00
Jeremy Siek
f1218f29c1 fixed leda_node_property_map
[SVN r10954]
2001-08-28 22:17:13 +00:00
Jeremy Siek
8e883f6b8d changed handling of zero element
[SVN r10945]
2001-08-28 02:00:54 +00:00
Jeremy Siek
a8169117e7 removed some unused parameter names
[SVN r10943]
2001-08-28 01:01:02 +00:00
Jeremy Siek
38d9e1c16a added a missing typename
[SVN r10942]
2001-08-28 00:56:44 +00:00
Jeremy Siek
fce1e474de changed dijkstra's and bellman_ford to reflect closed semiring abstraction
[SVN r10941]
2001-08-27 22:31:48 +00:00
Jeremy Siek
79c23ef37c changed from #include <boost/utility.hpp> to #include <boost/tuple/tuple.hpp>
to get tie()


[SVN r10940]
2001-08-27 14:08:52 +00:00
Jeremy Siek
8dbcb2cc35 removed #include of map and hash_map
[SVN r10937]
2001-08-26 19:17:57 +00:00
Jeremy Siek
3633d698d5 edge iterators qualify as forward iterators
[SVN r10933]
2001-08-24 20:29:24 +00:00
Jeremy Siek
f4bee8e49d added #include of <cmath> for std::abs(float)
[SVN r10932]
2001-08-24 20:05:55 +00:00
Jeremy Siek
a53afa3f85 made condensation graph separate
[SVN r10879]
2001-08-16 18:57:48 +00:00
Jeremy Siek
d7fef57674 made build_component_lists a separate function
[SVN r10878]
2001-08-16 15:28:37 +00:00
Jeremy Siek
cc7bb99dab added build_components_lists
[SVN r10877]
2001-08-16 15:27:58 +00:00
Jeremy Siek
3573eca026 removed check for self edges in final stage
[SVN r10869]
2001-08-15 13:16:56 +00:00
Jeremy Siek
63801dee89 added concept check of the VertexIndexMap
[SVN r10865]
2001-08-15 03:25:07 +00:00
Jeremy Siek
377af01609 make component_number a property map
[SVN r10863]
2001-08-15 02:01:12 +00:00
Jeremy Siek
1c27e7e1d7 added another concept check
[SVN r10859]
2001-08-15 01:53:27 +00:00
Jeremy Siek
a28c64e02b changed the implementation a bunch
[SVN r10858]
2001-08-15 01:49:40 +00:00
Jeremy Siek
cab2ffe94b fixed num_vertices(G) == 0 case
[SVN r10826]
2001-08-09 14:37:10 +00:00
Jeremy Siek
af8a8a7515 fixed some grammar/spelling and complexity
[SVN r10825]
2001-08-09 13:40:56 +00:00
Jeremy Siek
66e3331645 MutableGraph -> EdgeMutableGraph
[SVN r10808]
2001-08-07 20:34:37 +00:00
Jeremy Siek
a91c4c778d added include for fstream
[SVN r10806]
2001-08-07 20:20:34 +00:00
Jeremy Siek
1b5044517d some half fixes
[SVN r10805]
2001-08-07 20:16:12 +00:00
Jeremy Siek
56ea9ab04f various small edits and fixes
[SVN r10804]
2001-08-07 20:13:14 +00:00
Jeremy Siek
f0b9143ff4 new file
[SVN r10802]
2001-08-07 18:06:21 +00:00
Darin Adler
1f770d8cd5 Spell things consistently. Add some bits of Mac stuff to the tests.
Use std::size_t where needed.


[SVN r10800]
2001-08-07 17:22:02 +00:00
Jeremy Siek
7c4b90d3a5 added Vladimir's functions
[SVN r10739]
2001-08-03 18:29:12 +00:00
Jeremy Siek
df74e82f30 added workaround for abs
[SVN r10738]
2001-08-03 16:33:45 +00:00
Jeremy Siek
8496830250 fixed the _visit() versions
[SVN r10736]
2001-08-02 16:26:38 +00:00
Jeremy Siek
1b2fdeaa9a rolling back, splitting out the neighbor bfs
[SVN r10735]
2001-08-02 15:56:57 +00:00
Jeremy Siek
df57d4ff71 split from breadth_first_search.hpp
[SVN r10734]
2001-08-02 15:56:39 +00:00
Jeremy Siek
cb8b64e33f added neighbor_breadth_first_visit
[SVN r10722]
2001-07-30 15:30:31 +00:00
Jeremy Siek
c609181bad added neighbor_breadth_first_search
[SVN r10710]
2001-07-27 21:27:44 +00:00
Jeremy Siek
76de551288 added check for directed graph
[SVN r10709]
2001-07-27 14:26:08 +00:00
Jeremy Siek
637c6d4b63 fixed memory leak in ~adj_list_impl()
[SVN r10703]
2001-07-25 15:11:21 +00:00
Jeremy Siek
6f356bf76d fix a memory leak
[SVN r10698]
2001-07-24 18:16:22 +00:00
Jeremy Siek
2af0b6c3e9 [Francios Faure]
I have added a new functionality to adjacency_list_io: now it is                possible to input/output subsets of properties. This is useful when the         nodes and edges contain auxiliary data which is irrelevant in a                 description file.


[SVN r10666]
2001-07-19 15:30:00 +00:00
Jeremy Siek
b4cd14409b added clear_out_edges()
[SVN r10663]
2001-07-18 22:49:33 +00:00
Jeremy Siek
d56e2dcca3 removed use of color_vec[0] to avoid problems when num_vertices(g) == 0
[SVN r10572]
2001-07-09 14:10:56 +00:00
Jeremy Siek
1ae3184d72 removed unused parameter
[SVN r10474]
2001-06-28 19:28:17 +00:00
Jeremy Siek
03c5d4bd5d new file
[SVN r10473]
2001-06-28 19:21:47 +00:00
Jeremy Siek
3f2ba8e6c5 removed unused parameter
[SVN r10471]
2001-06-28 17:53:58 +00:00
Jeremy Siek
efb7469f57 fixed warning
[SVN r10470]
2001-06-28 17:45:06 +00:00
Jeremy Siek
71b616180a fixed some g++ warnings, unused variables, etc.
[SVN r10467]
2001-06-28 17:29:46 +00:00
Jeremy Siek
310050bc6a forgot to commit fix to the traversal_category
[SVN r10466]
2001-06-28 15:14:42 +00:00
Dave Abrahams
8235b88eed untabified
[SVN r10356]
2001-06-18 13:13:35 +00:00
Jeremy Siek
f9001b444a various cleanup
[SVN r10335]
2001-06-14 19:19:00 +00:00
Jeremy Siek
b528c8d862 new algorithm, thanks to Lie-Quan Lee!
[SVN r10332]
2001-06-14 18:38:16 +00:00
Jeremy Siek
28696f5d5f fixed bug in constructor of the edge iterator
[SVN r10309]
2001-06-11 15:36:28 +00:00
Jeremy Siek
36e574eeaa fixed search-replace error that munged the name of sgb_vertex_name_map
[SVN r10256]
2001-06-02 17:10:00 +00:00
Jeremy Siek
d3fe34a860 changed "gen" to "bind" inside slistS
[SVN r10241]
2001-05-29 18:03:09 +00:00
Jeremy Siek
009b171767 removed initialize()
[SVN r10203]
2001-05-23 18:39:00 +00:00
Jeremy Siek
8be1db0687 removed vis.initialize
[SVN r10202]
2001-05-23 18:38:49 +00:00
Jeremy Siek
f861bff900 only do overflow check when w_e > 0
[SVN r10199]
2001-05-23 16:44:07 +00:00
Jeremy Siek
bed761e2c2 added check for overflow
[SVN r10198]
2001-05-23 16:40:46 +00:00
Jeremy Siek
db5a2b138d fixed to do topological order (not reverse topo)
[SVN r10197]
2001-05-23 16:39:49 +00:00
Jeremy Siek
27960ba125 put initialize back in
[SVN r10196]
2001-05-23 16:01:14 +00:00
Jeremy Siek
2251bbcb88 fixed property map, added default constructor
[SVN r10195]
2001-05-23 15:37:57 +00:00
Jeremy Siek
c657912300 forgot to remove a comment
[SVN r10186]
2001-05-22 15:25:03 +00:00
Jeremy Siek
7530c853c1 changed to use vertex_property and edge_property traits classes
[SVN r10185]
2001-05-22 03:59:43 +00:00
Jeremy Siek
6509b5286c added specialization of vertex_property and edge_property traits classes
[SVN r10183]
2001-05-22 02:04:19 +00:00
Jeremy Siek
26229bc41d added vertex_property and edge_property
[SVN r10182]
2001-05-22 01:55:52 +00:00
Jeremy Siek
61a1d47e50 added some property graph features
[SVN r10181]
2001-05-22 01:17:36 +00:00
Jeremy Siek
e2a15d933f fixed reference type for adjacency_iterator and added adjacency_graph_tag
to the traversal category


[SVN r10179]
2001-05-21 20:07:21 +00:00
Jeremy Siek
ccd4026450 removed const casts
[SVN r10178]
2001-05-21 19:35:01 +00:00
Jeremy Siek
75c8652d82 fixed source() and target() functions to take a const graph ptr
[SVN r10174]
2001-05-21 19:17:08 +00:00
Jeremy Siek
e662337924 more fixes for const correctness
[SVN r10172]
2001-05-21 18:35:25 +00:00
Jeremy Siek
f71a3a3ec1 changed default predecessor map to the dummy property map
[SVN r10171]
2001-05-21 18:32:26 +00:00
Jeremy Siek
71c875133a some changes to the mutable graph concepts
[SVN r10169]
2001-05-21 18:13:33 +00:00
Jeremy Siek
796580e232 updated the traversal tag
[SVN r10166]
2001-05-21 17:28:08 +00:00
Jeremy Siek
abe493726d changed VertexAndEdgeList to VertexList and EdgeList
[SVN r10162]
2001-05-21 00:47:11 +00:00
Jeremy Siek
8e26b31654 changed traversal tags to take into account change in VertexListGraph
[SVN r10151]
2001-05-19 02:36:19 +00:00
Jeremy Siek
62d252cf30 updated traversal tags to take into account change in VertexListGraph
[SVN r10150]
2001-05-19 02:35:55 +00:00
Jeremy Siek
6112510ccc updated for change in VertexListGraph
[SVN r10149]
2001-05-19 02:31:15 +00:00
Jeremy Siek
03bdb90920 updated for removal of vertex_and_edge_list_graph_tag
[SVN r10148]
2001-05-19 02:30:41 +00:00
Jeremy Siek
770d1be136 vertex and edge list removed
[SVN r10147]
2001-05-19 02:29:32 +00:00
Jeremy Siek
1d119b7e06 changed VertexListGraph
[SVN r10146]
2001-05-19 02:25:47 +00:00
Jeremy Siek
dd326e44e1 fixed some property map constructors
[SVN r10144]
2001-05-19 02:08:46 +00:00
Jeremy Siek
46c4758971 added default constructor to property maps
[SVN r10143]
2001-05-19 01:29:36 +00:00
Jeremy Siek
08ebd39282 fixed the property maps
[SVN r10142]
2001-05-19 01:26:23 +00:00
Jeremy Siek
b6d8de4cf9 fixed some get color compare issues
[SVN r10140]
2001-05-18 22:49:44 +00:00
Jeremy Siek
2ddd8e0d87 fixed color comparison
[SVN r10139]
2001-05-18 22:47:04 +00:00
Jeremy Siek
0263065191 updated for put_get_helper
[SVN r10137]
2001-05-18 22:43:59 +00:00
Jeremy Siek
4e539c158a fixed LvaluePropertyGraphConcept
[SVN r10136]
2001-05-18 22:43:33 +00:00
Jeremy Siek
2466d4a818 updated for put_get_helper
[SVN r10135]
2001-05-18 22:35:51 +00:00
Jeremy Siek
980457c573 updated degree_property_map
[SVN r10134]
2001-05-18 22:31:13 +00:00
Jeremy Siek
5615f1a34c updated property maps
[SVN r10133]
2001-05-18 22:30:40 +00:00
Jeremy Siek
66220c880f fixed the property maps
[SVN r10132]
2001-05-18 22:28:41 +00:00
Jeremy Siek
2b3b105bf8 fixed random functions to handle num_vertices(g) == 1 case correctly
[SVN r10105]
2001-05-13 14:17:48 +00:00
Jeremy Siek
6d14ca4278 added RandNumGen parameter to the random graph functions
[SVN r10102]
2001-05-13 14:10:16 +00:00
Jeremy Siek
ce5ff30b1b added in_degree()
[SVN r10092]
2001-05-11 16:04:35 +00:00
Jeremy Siek
a1932a87df fixed property_map for filtered_graph
[SVN r10084]
2001-05-10 08:26:26 +00:00
Jeremy Siek
a81199c4e8 few fixes
[SVN r10077]
2001-05-09 05:14:16 +00:00
Jeremy Siek
c39e9ba90d removed excess template parameters from the strong_components() with
all defaults


[SVN r10075]
2001-05-09 03:00:40 +00:00
Jeremy Siek
fd57957914 mored vertex_root here
[SVN r10073]
2001-05-08 20:30:06 +00:00
Jeremy Siek
da9b33a3d7 moved vertex_root_t
[SVN r10072]
2001-05-08 20:29:46 +00:00
Jeremy Siek
f4448a194c dummy_cons -> static_object<detail::dummy_constructor>::get()
[SVN r10056]
2001-05-07 21:28:32 +00:00
Jeremy Siek
c11c698bec fixed constness of property maps to not depend on the constness of
the property map object itself


[SVN r10053]
2001-05-07 21:26:16 +00:00
Jeremy Siek
ad8fc9ca0d added comments about num_vertices()
[SVN r10047]
2001-05-07 20:36:15 +00:00
Jeremy Siek
e0b96232d1 changed num_vertices and num_edges
[SVN r10046]
2001-05-07 20:21:04 +00:00
Jeremy Siek
70a5ab79dd fixed num_vertices() and num_edges()
[SVN r10045]
2001-05-07 15:50:16 +00:00
Jeremy Siek
fc1154b36e fixed in_edges, typo in creating the in_edge_iter_policy
[SVN r10044]
2001-05-07 15:47:23 +00:00
Jeremy Siek
64bbd3a721 added root_vertex_num
[SVN r10042]
2001-05-07 04:19:22 +00:00
Jeremy Siek
c23f3afebe added root_vertex()
[SVN r10041]
2001-05-07 04:19:07 +00:00
Jeremy Siek
6447f3e0c1 changed interface to emphasize importance of the predecessor map
[SVN r10038]
2001-05-07 04:10:38 +00:00
Jeremy Siek
66504e2668 property map fixes
[SVN r10036]
2001-05-06 20:21:42 +00:00
Jeremy Siek
10e21dd82f changed from 0 to 1 for size of temporary vector
[SVN r10016]
2001-05-05 18:02:05 +00:00
Jeremy Siek
43a267a1a3 changed to creating size 0 to size 1 temporary vectors
[SVN r10015]
2001-05-05 17:58:56 +00:00
Jeremy Siek
e459d66d3f new file
[SVN r10014]
2001-05-05 16:37:14 +00:00
Jeremy Siek
d2259781a1 added reference to property maps
[SVN r10013]
2001-05-05 16:36:42 +00:00
Jeremy Siek
b0e3fe0c55 VC++ internal compiler error workaround (and a few more workarands too)
[SVN r9988]
2001-04-27 15:58:18 +00:00
Jeremy Siek
d869963bf3 moved operator<< for edge_desc_impl to namespace std to fix bug showing up when using STLport
[SVN r9975]
2001-04-24 14:14:49 +00:00
Jeremy Siek
f2810ee881 access violation, changed class result to a struct
[SVN r9970]
2001-04-24 03:56:46 +00:00
Jeremy Siek
bc5483502c VC++ workaround
[SVN r9967]
2001-04-24 03:33:05 +00:00
Jeremy Siek
cdb4c44d6a some VC++ workarounds
[SVN r9966]
2001-04-24 03:21:34 +00:00
Jeremy Siek
41393743d6 vc++ workarounds
[SVN r9963]
2001-04-24 02:58:39 +00:00
Jeremy Siek
911c3c3f08 removed erroneous return
[SVN r9962]
2001-04-24 02:21:09 +00:00
Jeremy Siek
f234453512 vc++ workarounds
[SVN r9960]
2001-04-24 02:08:45 +00:00
Jeremy Siek
177fcbdf4a vc++ workarounds and named parameter changes
[SVN r9959]
2001-04-24 01:46:38 +00:00
Jeremy Siek
dfcc95bc76 VC++ workaround
[SVN r9953]
2001-04-23 23:30:57 +00:00
Jeremy Siek
95ca715167 removed #if 0
[SVN r9952]
2001-04-23 23:25:04 +00:00
Jeremy Siek
beae839fea more vc++ workarounds
[SVN r9951]
2001-04-23 23:23:21 +00:00
Jeremy Siek
96fe03b71e VC++ workarounds
[SVN r9950]
2001-04-23 22:27:56 +00:00
Jeremy Siek
8a1daa735b vc++ workaround
[SVN r9949]
2001-04-23 22:27:34 +00:00
Jeremy Siek
3e773ebaf7 workaround for VC++ bug, confusion from the type<> class
[SVN r9948]
2001-04-23 21:42:14 +00:00
Jeremy Siek
ae3bdc2893 fixed get() for const graphs
[SVN r9945]
2001-04-23 20:01:25 +00:00
Jeremy Siek
3df72bcb26 named parameters changes
[SVN r9942]
2001-04-23 19:47:08 +00:00
Jeremy Siek
53d0c78393 moved edge_capacity_value into this file
[SVN r9939]
2001-04-23 19:45:04 +00:00
Jeremy Siek
60dc2f1a1f named parameters changes
[SVN r9938]
2001-04-23 19:31:26 +00:00
Jeremy Siek
1078af6c86 simplified code
[SVN r9933]
2001-04-23 19:00:20 +00:00
Jeremy Siek
960dc10fcd small edits
[SVN r9932]
2001-04-23 18:54:54 +00:00
Jeremy Siek
a33577dfe9 fixed a typo
[SVN r9929]
2001-04-23 18:49:27 +00:00
Jeremy Siek
17328ea518 small edits
[SVN r9928]
2001-04-23 18:48:59 +00:00
Jeremy Siek
f11e0c7736 added "type" to the default_param
[SVN r9924]
2001-04-23 18:21:31 +00:00
Jeremy Siek
8fb64a1adf fixed by in return type compile-time computation
[SVN r9923]
2001-04-23 18:20:16 +00:00
Jeremy Siek
c0fe0b2432 provide access to unqualified pmap
[SVN r9922]
2001-04-23 18:19:56 +00:00
Jeremy Siek
61f5b67f8b updated for named parameters
[SVN r9921]
2001-04-23 18:19:31 +00:00
Jeremy Siek
1420a46386 added specialization of graph_traits for Graph*const
[SVN r9919]
2001-04-23 18:06:30 +00:00
Jeremy Siek
dc4101b2fd resolved name conflict
[SVN r9915]
2001-04-23 17:48:33 +00:00
Jeremy Siek
81dfa0a162 choose_pmap to choose_const_pmap for vertex index
[SVN r9913]
2001-04-23 17:15:53 +00:00
Jeremy Siek
e6ac5e2e5b changed [] to get()
[SVN r9910]
2001-04-23 16:51:18 +00:00
Jeremy Siek
7f005bdc7c updated to use named parameters
[SVN r9908]
2001-04-23 16:36:30 +00:00
Jeremy Siek
90dcb85b49 updated for named parameters
[SVN r9901]
2001-04-23 06:21:21 +00:00
Jeremy Siek
221e9f053d fixed graphviz_io_traits
[SVN r9900]
2001-04-23 05:50:16 +00:00
Jeremy Siek
0d402ae6f5 removed reference vertex_index in case when color_map param is provided
[SVN r9899]
2001-04-23 05:41:03 +00:00
Jeremy Siek
4a200f9c7c untabify
[SVN r9898]
2001-04-23 05:40:06 +00:00
Jeremy Siek
7146fd319c fixed handling of vertex_index when color_map param is provided
[SVN r9896]
2001-04-23 05:27:35 +00:00
Jeremy Siek
fd7ed3fbff pass by value for inf and zero to allow for functions
[SVN r9895]
2001-04-23 04:28:22 +00:00
Jeremy Siek
74f877d9a7 added weight2
[SVN r9894]
2001-04-23 03:53:02 +00:00
Jeremy Siek
f3986e9966 changed to pass-by-value for distance_compare/combine so we can pass
functions (in addition to function objects)


[SVN r9892]
2001-04-23 03:44:02 +00:00
Jeremy Siek
ceb2bfadf2 updated to named parameters
[SVN r9887]
2001-04-23 01:50:52 +00:00
Jeremy Siek
404ed90019 named parameters and some related changes
[SVN r9886]
2001-04-23 01:24:03 +00:00
Jeremy Siek
dda7b5b40b updated for named parameters
[SVN r9882]
2001-04-22 22:06:22 +00:00
Jeremy Siek
1cf743abfd added some more parameters
[SVN r9881]
2001-04-22 22:06:03 +00:00
Jeremy Siek
a462655804 choose_pmap -> choose_const_pmap
[SVN r9879]
2001-04-22 22:05:22 +00:00
Jeremy Siek
5cc0fa180f cleaned up a bit
[SVN r9878]
2001-04-22 21:41:51 +00:00
Jeremy Siek
4643560dc6 switched to named params
[SVN r9875]
2001-04-22 21:04:45 +00:00
Jeremy Siek
e5751f31f5 fixed degree_vertex_invariant
[SVN r9866]
2001-04-22 16:57:43 +00:00
Jeremy Siek
095b01eb3f updated choose_pmap
[SVN r9856]
2001-04-21 22:02:23 +00:00
Jeremy Siek
e80eb85175 changed to use get() function
[SVN r9853]
2001-04-21 21:28:38 +00:00
Jeremy Siek
ca5c8ad7f0 changed names
[SVN r9852]
2001-04-21 21:28:24 +00:00
Jeremy Siek
69357fe4bb added operator() to property maps so they can be used as function objects
[SVN r9851]
2001-04-21 21:28:00 +00:00
Jeremy Siek
99ce28beaf added stuff for isomorphism
[SVN r9850]
2001-04-21 21:27:20 +00:00
Jeremy Siek
7dbf526742 improved the isomorphism algorithm
[SVN r9845]
2001-04-21 20:32:08 +00:00
Jeremy Siek
654872e2a0 x.remove(a) -> x.erase(a)
[SVN r9843]
2001-04-21 17:09:47 +00:00
Jeremy Siek
5a724284d0 named parameter changes
[SVN r9804]
2001-04-16 17:14:19 +00:00
Jeremy Siek
778b4970d9 working on named parameters for kruskal, etc.
[SVN r9777]
2001-04-13 22:02:41 +00:00
Jeremy Siek
3b2a833749 change to an implementation that uses copy_graph and the reverse_graph
adaptor


[SVN r9773]
2001-04-12 22:10:16 +00:00
Jeremy Siek
6637e0681c untabify
[SVN r9772]
2001-04-12 22:08:08 +00:00
Jeremy Siek
729f743711 almost added reverse_edge(), but then didn't
[SVN r9771]
2001-04-12 22:06:35 +00:00
Jeremy Siek
14cbbf71b6 added edge_iterator, edges(), and num_edges()
[SVN r9770]
2001-04-12 22:04:54 +00:00
Jeremy Siek
27d93257f5 added vertex_copy_num, etc.
[SVN r9769]
2001-04-12 20:49:32 +00:00
Jeremy Siek
be50fa129c added vertex_copy() etc.
[SVN r9768]
2001-04-12 20:49:15 +00:00
Jeremy Siek
3a4ebf174d much improved with named parameters and better defaults
[SVN r9767]
2001-04-12 20:47:43 +00:00
Jeremy Siek
51645430ea changed color default handling to avoid initialization loop
[SVN r9766]
2001-04-12 19:55:40 +00:00
Jeremy Siek
c03b438253 switching to named parameters
[SVN r9764]
2001-04-12 04:02:19 +00:00
Jeremy Siek
c3c09c0b99 added named parameter variant
[SVN r9763]
2001-04-11 21:52:07 +00:00
Jeremy Siek
5c6fa4c0cf added breadth_first_visit
[SVN r9762]
2001-04-11 19:53:51 +00:00
Jeremy Siek
6d07a3a5e8 new file
[SVN r9761]
2001-04-11 06:07:01 +00:00
Jeremy Siek
29c92f9043 added buffer_param_num
[SVN r9760]
2001-04-11 04:44:03 +00:00
Jeremy Siek
7d2d242856 added named parameter variant of BFS
[SVN r9759]
2001-04-11 04:43:43 +00:00
Jeremy Siek
5ba5e64d00 added buffer()
[SVN r9758]
2001-04-11 04:43:11 +00:00
Jeremy Siek
381100c372 added dijkstra visitor stuff
[SVN r9742]
2001-04-08 20:13:05 +00:00
Jeremy Siek
d5c5dd61f7 added distance infinity and zero
[SVN r9741]
2001-04-08 20:03:43 +00:00
Jeremy Siek
70750cdc9a made named parameter variant more powerful, it will replace uniform_cost_search
[SVN r9740]
2001-04-08 20:03:14 +00:00
Jeremy Siek
ae3c899bfa changed choose_pmap() so that is really does what it is suppose to
[SVN r9739]
2001-04-08 19:11:31 +00:00
Jeremy Siek
a1dfaeab00 added choose_pmap()
[SVN r9737]
2001-04-07 17:35:29 +00:00
Jeremy Siek
9df1764497 changed to use choose_pmap in a couple places
[SVN r9736]
2001-04-07 17:35:09 +00:00
Jeremy Siek
47fa4e6e65 updated get_property_value()
[SVN r9734]
2001-04-05 20:28:58 +00:00
Jeremy Siek
4efaed6988 update get_property_value
[SVN r9733]
2001-04-05 20:26:56 +00:00
Jeremy Siek
ed7aa0ad30 removed uneccessary argument from get_property_value
[SVN r9732]
2001-04-05 20:23:20 +00:00
Jeremy Siek
3ae90ab840 added recursion stop to get_value() and const_get_value()
[SVN r9731]
2001-04-05 20:22:31 +00:00
Jeremy Siek
fb1d5b6a7a updated named parameter mechanism
[SVN r9730]
2001-04-05 20:21:37 +00:00
Jeremy Siek
bb22d80a95 changed to use "property" style recursion
[SVN r9729]
2001-04-05 20:21:16 +00:00
Jeremy Siek
6a42658199 added LvaluePropertyMap requirement to LvaleuPropertyGraph
[SVN r9726]
2001-04-05 17:22:24 +00:00
Jeremy Siek
0a7f838911 fixed reference/const-reference problems with property maps
[SVN r9724]
2001-04-05 17:20:23 +00:00
Jeremy Siek
38b2aecf97 use_visitor -> visitor
[SVN r9716]
2001-04-05 04:59:27 +00:00
Jeremy Siek
b712b85d2b Added named parameter variant.
[SVN r9715]
2001-04-05 04:54:29 +00:00
Jeremy Siek
cfbd495345 new file
[SVN r9714]
2001-04-05 04:53:36 +00:00
Jeremy Siek
5fa6b2bf2d protected use of std::iterator_traits with #ifdef
[SVN r9713]
2001-04-05 03:15:47 +00:00
Jeremy Siek
3b5fdbec36 added LvaluePropertyGraphConcept
[SVN r9710]
2001-04-05 02:11:11 +00:00
Jeremy Siek
14f85b8986 fixed template parameters
[SVN r9701]
2001-04-04 21:29:38 +00:00
Jeremy Siek
5e41c529cf added #include of graph_traits.hpp to make properties.hpp self-contained
[SVN r9698]
2001-04-03 16:04:47 +00:00
Jeremy Siek
1a31f705af added #include for properties.hpp
[SVN r9697]
2001-04-03 16:01:36 +00:00
John Maddock
b9c6708852 Added boost-wide <limits> woraround
[SVN r9688]
2001-04-01 11:59:18 +00:00
Jeremy Siek
c34f602abb added copy cons
[SVN r9680]
2001-03-29 04:57:19 +00:00
Jeremy Siek
88e9336be9 added copy cons req
[SVN r9679]
2001-03-29 04:56:29 +00:00
Jeremy Siek
8590ee9b64 added traversal_category
[SVN r9672]
2001-03-29 02:04:10 +00:00
Jeremy Siek
55eb406cac added traversal_category to graph concepts
[SVN r9671]
2001-03-29 01:56:49 +00:00
Jeremy Siek
d5a7d42929 added traversal categories
[SVN r9670]
2001-03-29 01:55:17 +00:00
Jeremy Siek
f6d0b7ea44 added traversal_category
[SVN r9669]
2001-03-29 01:54:18 +00:00
Jeremy Siek
eae9b22a8d added traversal category
[SVN r9668]
2001-03-29 01:46:17 +00:00
Jeremy Siek
ea705ac53f added traversal_category
[SVN r9667]
2001-03-29 01:42:33 +00:00
Jeremy Siek
19ed2331fd added traversal category
[SVN r9666]
2001-03-29 01:36:46 +00:00
Jeremy Siek
c1cb9240cf added some more generating functions
[SVN r9660]
2001-03-28 00:57:56 +00:00
Jeremy Siek
db00049b35 added some Iterator Property Map Generating Functions contributed by
Kevin Vanhorn


[SVN r9659]
2001-03-28 00:54:05 +00:00
Jeremy Siek
a6dc03773e fixed is_isomorphic()
[SVN r9611]
2001-03-20 05:23:16 +00:00
Jeremy Siek
e3a8ba103a port to KAI C++
[SVN r9610]
2001-03-20 05:15:11 +00:00
Jeremy Siek
29a34b199d new file, fixes shadow_iterator
[SVN r9607]
2001-03-20 05:12:35 +00:00
Jeremy Siek
0e550aee82 fixed bug in filtered graph
finished simple isomorphism algorithm
added some #include's to adjacency_iterator


[SVN r9606]
2001-03-20 04:58:13 +00:00
Jeremy Siek
4e29fa0497 work on isomorphism, fixed some bugs
[SVN r9605]
2001-03-20 04:55:39 +00:00
Jeremy Siek
90ea3b2441 removed shadow iterator
[SVN r9596]
2001-03-19 22:50:31 +00:00
Jeremy Siek
a156259d75 oops
[SVN r9595]
2001-03-19 22:50:05 +00:00
Jeremy Siek
b327f08b86 new files
[SVN r9594]
2001-03-19 22:49:56 +00:00
Jeremy Siek
6a85d72962 blah
[SVN r9590]
2001-03-19 20:23:25 +00:00
Jeremy Siek
7e7cad34fa new files, and changes to bitset
[SVN r9589]
2001-03-19 20:23:12 +00:00
Jeremy Siek
b9e27e9e73 changed name of 1st incident_on() to incident_edges() to avoid
conflict with 2nd incident_on()


[SVN r9579]
2001-03-18 20:11:52 +00:00
Jeremy Siek
6932248ef4 changed has_target() to incident_to(), and added incident_on() and
connects()


[SVN r9575]
2001-03-18 16:30:14 +00:00
Jeremy Siek
73f9128f12 worked on dyn_size_bitset
[SVN r9543]
2001-03-11 17:10:49 +00:00
Jeremy Siek
020754d41b new file
[SVN r9535]
2001-03-10 02:59:53 +00:00
Jeremy Siek
019e7d59a4 new files, under construction
[SVN r9534]
2001-03-10 02:49:09 +00:00
Jeremy Siek
60799c4d99 added defaults
[SVN r9528]
2001-03-09 18:26:53 +00:00
Jeremy Siek
3ed034416a fixed use of edge_descriptor
[SVN r9501]
2001-03-08 20:16:28 +00:00
Jeremy Siek
a25a678a60 fixed remove_vertex for bidirectional graph, needed to reindex the
edge list


[SVN r9466]
2001-03-06 05:57:19 +00:00
Jeremy Siek
0c8db5bd23 added inv_adjacency_iterator_generator
[SVN r9465]
2001-03-06 05:36:51 +00:00
Jeremy Siek
9b81ec002e large change due to subtle edge::operator== bugs with multigraphs
simplified the implementation considerably, at some cost to space complexity


[SVN r9464]
2001-03-06 05:33:55 +00:00
Jeremy Siek
9a92335451 changed edge equality to be based on property object so we will get
correct behaviour with multi graphs


[SVN r9463]
2001-03-06 05:32:01 +00:00
Jeremy Siek
202ab00774 added allows_parallel_edges()
[SVN r9462]
2001-03-06 05:31:12 +00:00
Jeremy Siek
ad856f3fd4 changed namespace
[SVN r9434]
2001-03-04 18:53:02 +00:00
Jeremy Siek
51d4f166cf added edgesum
[SVN r9433]
2001-03-04 18:52:30 +00:00
Jeremy Siek
aa869df676 changed MutableGraph
[SVN r9431]
2001-03-04 18:50:32 +00:00
Jeremy Siek
f79f66db8f brought up to date
[SVN r9430]
2001-03-04 18:36:39 +00:00
Jeremy Siek
ae1d55dfee changed color traits default to use enums
[SVN r9427]
2001-03-04 18:07:05 +00:00
Jeremy Siek
3e82ea3625 fixed clear() function to handle case with no edge property
[SVN r9401]
2001-03-03 18:53:13 +00:00
Jeremy Siek
bd22fe7c87 avoid internal compiler error on MSVC with STLport
[SVN r9381]
2001-03-02 23:38:53 +00:00
Jeremy Siek
1feee2a564 added a couple functions
[SVN r9376]
2001-03-02 03:34:11 +00:00
Jeremy Siek
6d38d384d0 indenting
[SVN r9362]
2001-02-28 04:20:51 +00:00
Jeremy Siek
69f205fd74 fixed default_writer
[SVN r9357]
2001-02-27 17:46:27 +00:00
Jeremy Siek
230e30aee3 fixed g++ with STLport problem with source(std::pair<T,T>,G)
[SVN r9354]
2001-02-27 06:33:08 +00:00
Jeremy Siek
37f4440d1d fixed access of filter iterator policies type
[SVN r9353]
2001-02-27 06:14:02 +00:00
Jeremy Siek
243d74572e fixed access to filter iterator policies type
[SVN r9352]
2001-02-27 06:12:29 +00:00
Jeremy Siek
aa8e953574 new file
[SVN r9346]
2001-02-26 23:17:47 +00:00
Jeremy Siek
1df5e72394 more edits
[SVN r9345]
2001-02-26 23:17:15 +00:00
Jeremy Siek
41b167816f added degree_property_map
[SVN r9342]
2001-02-26 23:08:45 +00:00
Jeremy Siek
b2f02dfc15 stopped using fenced queue, just makes it harder to understand
[SVN r9341]
2001-02-26 21:49:19 +00:00
Jeremy Siek
e843876765 stanford graph update from Andreas
renamed dynamic components to incremental components


[SVN r9338]
2001-02-26 18:13:00 +00:00
Jeremy Siek
01e3d04946 work on connected components, and various fixes
[SVN r9335]
2001-02-26 03:29:07 +00:00