Lorenz Breidenbach
6e1ed79cbc
Add missing #include of boost/functional/hash.hpp
2014-10-15 13:05:26 +02:00
Noel Belcourt
03dbf02a5a
Fixes explicit operator() bool of Boost.Optional in c++11 mode.
...
Uses static_cast<const bool>() rather than explicit conversion.
2014-07-31 12:12:05 -06:00
Noel Belcourt
da78b282b4
Fix convertion to bool from vector boost::optional in c++0x mode.
2014-07-30 21:09:52 -06:00
Andrey Semashev
73c4e2e36c
Resolve assignment operator ambiguity with gcc 4.4.
2014-07-30 23:37:09 +04:00
Andrey Semashev
0f4ecbcd4b
Fix compilation with gcc 4.4 in C++11 mode
...
Add constructor and assignment operator implementations for gcc 4.4 since it does not support defaulted move constructors and assignment. The operators are also used for gcc 4.5 for good measure (I cannot test it but gcc 4.6 does not need this workaround).
Also the workaround is used for MSVC as well. The previous MSVC branch was incorrect since it did not invoke base class constructors and assignment.
2014-07-30 12:01:19 +04:00
Marcel Raad
d6314a81bb
Remove unused variables
...
This fixes compiler warnings about variable shadowing.
2014-07-12 13:32:16 +02:00
K. Noel Belcourt
9ce26cf6ea
Fix graph_parallel test conversion from const optional<> to
...
a non-const bool.
2014-05-18 21:27:08 -06:00
Noel Belcourt
887de5e2e3
Merge pull request #10 from jhunold/vc12
...
Vc12 does not support default move constructors
Looks okay, assume you'll followup with any remaining failing vc12 tests.
2014-05-14 17:07:40 -06:00
BenPope
9b7fbc1a76
Add tests for member swap and fix undirected_graph<>::swap
2014-05-14 23:43:53 +08:00
Jürgen Hunold
fcaef7c4e3
Fix: vc12 doe not support defaulted move constructors, so provide an implementation.
2014-05-13 15:52:46 +02:00
BenPope
86bbbf563d
Fix directed_graph::swap
2014-04-21 22:15:48 +08:00
Jeremiah Willcock
cb26ccf2ba
Changed to use unique_ptr when C++11 is enabled; made other fixes to enable move semantics
...
[SVN r86733]
2013-11-17 02:18:42 +00:00
Jeremiah Willcock
cec654dedb
Changed some names to fix shadowing warnings; refs #9371
...
[SVN r86680]
2013-11-13 17:36:02 +00:00
Jeremiah Willcock
983be4b9e7
Added graph property support to write_graphviz_dp
...
[SVN r86604]
2013-11-09 19:06:06 +00:00
Jeremiah Willcock
4af610830b
Fixed edge_range bug from http://stackoverflow.com/questions/19223692/boost-graph-library-directed-multigraph-edge-range-bug?rq=1
...
[SVN r86469]
2013-10-26 22:57:10 +00:00
Jeremiah Willcock
db6e8b7981
Moved parts of PBGL used by parallel property maps over to property map directories and namespaces; this fixes circular dependencies between these two libraries (assuming boost/property_map/parallel is treated as a separate library)
...
[SVN r86381]
2013-10-21 18:29:04 +00:00
Jeremiah Willcock
74564d5a1c
Made some of changes from #9246 : added new test case (modifying tests on callback usage to match current documentation); removed special-casing of empty graphs; added patch from #9246 for correct return values; did not make change to documentation suggested there since I chose to have the callback called even for empty graphs; fixes #9246
...
[SVN r86336]
2013-10-17 02:51:14 +00:00
Stephen Kelly
91a21a559c
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
Process #ifndef...#else...#endif blocks.
[SVN r86245]
2013-10-11 23:17:48 +00:00
Stephen Kelly
73b68e32ba
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
Process #ifndef...#endif conditions.
[SVN r86244]
2013-10-11 23:15:00 +00:00
Stephen Kelly
0464915a7f
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
Process #ifdef...#endif blocks.
[SVN r86243]
2013-10-11 23:13:10 +00:00
Jeremiah Willcock
4ebf7f60fc
Applied patch from #9229 to allow common subgraphs of size 1; fixes #9229
...
[SVN r86236]
2013-10-11 14:32:02 +00:00
Jeremiah Willcock
4fc3cbfaae
Made boost::unordered inclusion unconditional; removed support for non-partial-specialization compilers; enabled C++11 unordered containers when they are present; refs #8962
...
[SVN r86137]
2013-10-02 19:15:21 +00:00
Stephen Kelly
f0f1251da7
Graph: Remove obsolete GCC version check.
...
[SVN r86059]
2013-09-30 15:55:18 +00:00
Stephen Kelly
4f8a34090e
Pending: Remove obsolete MSVC version checks.
...
[SVN r86028]
2013-09-30 00:19:09 +00:00
Stephen Kelly
e096e7e5cc
Graph: Remove obsolete MSVC version checks.
...
[SVN r85934]
2013-09-26 09:41:38 +00:00
Jeremiah Willcock
51d3fe8aed
Cleaned up property maps and added a bunch of error checking asserts
...
[SVN r85853]
2013-09-23 15:30:22 +00:00
Jeremiah Willcock
93f232252e
Fixed VC++ warning
...
[SVN r85594]
2013-09-07 16:36:45 +00:00
Jeremiah Willcock
93f4a862c3
Changed from iterator to const_iterator to fix VC++ issue
...
[SVN r85593]
2013-09-07 16:34:49 +00:00
Jeremiah Willcock
bd107e4ab5
Applied patch and file renames from Piotr Wygocki
...
[SVN r85568]
2013-09-04 21:39:21 +00:00
Jeremiah Willcock
85b45da7c8
Fixed various data type bugs, and cleaned up signed vs. unsigned and int vs. size_t issues
...
[SVN r85567]
2013-09-04 20:47:36 +00:00
Jeremiah Willcock
915b70ec05
Added min_cost_max_flow code from Piotr Wygocki
...
[SVN r85536]
2013-08-31 20:09:11 +00:00
Jeremiah Willcock
5297423229
Added edge coloring code from Maciej Piechotka; fixes #8317
...
[SVN r85534]
2013-08-31 19:44:08 +00:00
Jeremiah Willcock
01a683d8ce
Added Hawick circuits code from Louis Dionne; fixes #8433
...
[SVN r85533]
2013-08-31 19:29:22 +00:00
Jeremiah Willcock
5ba855f46e
Removed use of "void" as property type to avoid errors in Clang; added static assertion to prevent this use in the future (it is broken anyway)
...
[SVN r85472]
2013-08-26 04:11:49 +00:00
Jeremiah Willcock
d983ea89a5
Simplified negative-edge test; refs #9012
...
[SVN r85387]
2013-08-17 22:21:16 +00:00
Jeremiah Willcock
cd267de654
Fixed test for negative-weight edges when combine operator is project2nd (as in prim_minimum_spanning_tree); fixes #9012 ; refs #8398
...
[SVN r85386]
2013-08-17 22:12:20 +00:00
Jeremiah Willcock
130f7129c3
Added MSSP support for non-named parameter versions
...
[SVN r85348]
2013-08-14 15:34:02 +00:00
Jeremiah Willcock
be2fc043d1
Fixed unused typedef warnings from GCC 4.9; fixes #8877 ; fixes #8986
...
[SVN r85323]
2013-08-12 18:14:58 +00:00
Jeremiah Willcock
a5a29bd065
Changed to use adjacency_list for temporary graph, avoiding ADL issues with vector_as_graph; fixes #8791
...
[SVN r84976]
2013-07-07 16:50:24 +00:00
Jeremiah Willcock
73d2d7500e
Added #define to detect recent modification
...
[SVN r84915]
2013-06-29 19:12:52 +00:00
Jeremiah Willcock
d53729083f
Changed dispatching strategy for bfs_helper
...
[SVN r84913]
2013-06-28 18:47:30 +00:00
Jeremiah Willcock
37bd777094
Moved distributed graph tags into graph_traits.hpp
...
[SVN r84912]
2013-06-28 18:47:10 +00:00
Jeremiah Willcock
ca70cdaa2c
Removed assertion to enable removal of non-existent edges, as suggested by comment to #4622 ; refs #4622
...
[SVN r84869]
2013-06-21 20:06:45 +00:00
Jeremiah Willcock
df1a183214
Added reference in parameter type
...
[SVN r84633]
2013-06-04 16:07:45 +00:00
Jeremiah Willcock
bf00bbe4f0
Fixed dangling reference bug reported by Marshall Clow; other small cleanups
...
[SVN r84632]
2013-06-04 16:07:20 +00:00
Jeremiah Willcock
b98f225d0d
Removed unused typedefs
...
[SVN r84471]
2013-05-25 02:20:09 +00:00
Jeremiah Willcock
1311d1b035
Chaned project1st and project2nd function objects to return copies rather than references to arguments, preventing a dangling reference when the type of the argument passed in is not exactly the same as the template argument of the projection function object
...
[SVN r84466]
2013-05-24 21:19:21 +00:00
Jeremiah Willcock
966aa0cf48
Fixed to work with self-loops
...
[SVN r84396]
2013-05-20 21:33:31 +00:00
Jeremiah Willcock
2c62f35e46
Added timeout support code from Brammert Ottens
...
[SVN r84102]
2013-05-01 17:42:44 +00:00
Jeremiah Willcock
67aacbe6ef
Added support for distance types without numeric_limits specializations; changed test to use that functionality to ensure that it keeps working; fixes #8490
...
[SVN r84028]
2013-04-24 02:19:13 +00:00