Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge a few years worth of changes #377

Merged
merged 118 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
70d7fca
Isomorphism docs: AdaptableUnaryFn, null vertices
jan-grimo Feb 16, 2020
e5f9471
Isomorphism: Ignore vertex_max_invariant
jan-grimo Feb 16, 2020
e9852ef
Add test for the all defaults overload with interior properties
sebrockm Oct 23, 2022
a487ba0
Add a test for the all defaults overload with custom properties
sebrockm Oct 15, 2022
ed75fd3
Merge pull request #310 from sebrockm/fix-boykov-kolmogorov-all-defau…
jeremy-murphy Oct 24, 2022
dd77077
Silence maybe-uninitialized warning in adj_list_edge_iterator::operat…
mattpulver Nov 14, 2022
6f1f605
Add parentheses so compiles in C++23 mode
poelmanc Nov 22, 2022
c9f5153
Merge pull request #314 from poelmanc/c++23-fix-add-parentheses
jeremy-murphy Nov 23, 2022
3f75ea7
Optionally specify a maximum circuit length in Hawick circuits algorithm
svengato Nov 26, 2022
f58f3df
Don't run performance test in CI
Dec 16, 2022
231de4c
Merge pull request #318 from hdu-sdlzx/develop
jeremy-murphy Dec 19, 2022
a314883
fixed hyperlink for disjoint sets
derek-mcblane Dec 28, 2022
5ccd085
Fix r_c_shortest_paths example
weenchvd Jan 26, 2023
b33c1eb
Add missing include on boost/config.hpp
Feb 10, 2023
1cf05f2
Merge pull request #325 from ams2990/develop
jeremy-murphy Feb 15, 2023
0002876
Merge pull request #324 from weenchvd/patch-1
jeremy-murphy Feb 15, 2023
b9509fd
Enforce 80-column line limit
svengato Mar 10, 2023
e17d6f9
Use snake case (max_length) for style consistency
svengato Mar 10, 2023
a07f353
Do not use 'const' with value parameters
svengato Mar 10, 2023
5a9e2aa
Add unit tests for nonzero max_length
svengato Mar 10, 2023
d95b3d4
Modify unit tests to compare computed and expected number of cycles, …
svengato Mar 13, 2023
04a2130
Don't include graphviz.hpp from graphml.hpp (#326)
francoisk Mar 13, 2023
68ee797
Don't look for representatives in link
mglisse Mar 19, 2023
e8e47ea
Add missing break to switch
Mar 27, 2023
aa0a4d3
Merge pull request #332 from ams2990/develop
jeremy-murphy Mar 28, 2023
21a9c65
Refactor existing tests
daankolthof Apr 20, 2023
2eea120
Small cleanup on mas_test
daankolthof Apr 20, 2023
b460995
More small cleanups to mas_test
daankolthof Apr 20, 2023
1cf87d5
Cleanup based on static code analysis
daankolthof Apr 21, 2023
4d968a2
Reorganise mas_test, add some simple new tests
daankolthof Apr 21, 2023
088714f
Change arity for d-ary-heaps in testing
daankolthof Apr 21, 2023
0fb5562
More mas_test unit tests + refactoring test helper functions
daankolthof Apr 21, 2023
0714892
Fix mas_test compatibility issues with C++98, 0x, 03
daankolthof Apr 23, 2023
eb0ab8b
Fix deprecation of boost/progress.hpp
daankolthof Apr 23, 2023
5308f29
Fix small coding errors
daankolthof Apr 23, 2023
a3001ec
Merge branch 'progress_hpp_deprecated' into develop
daankolthof Apr 23, 2023
a981db8
Remove Ubuntu Bionic from ci.yml
daankolthof Apr 25, 2023
634f5fb
Merge branch 'progress_hpp_deprecated' into ubuntu_bionic_deprecation
daankolthof Apr 25, 2023
985bfbd
Merge pull request #336 from daankolthof/ubuntu_bionic_deprecation
jeremy-murphy Apr 27, 2023
12a57f9
Merge branch 'develop' into mas
daankolthof Apr 27, 2023
b5fa4d9
Merge pull request #337 from daankolthof/mas
jeremy-murphy Apr 30, 2023
2573812
Add unit tests for max_length from 0 to 10
svengato May 4, 2023
5ef6a07
Merge pull request #315 from svengato/develop
jeremy-murphy May 8, 2023
05e0993
Make comments match actual values of the random graph's number of ver…
svengato May 8, 2023
0182f74
Generalize comments to be valid for any values of N and P
svengato May 8, 2023
e56883f
Merge pull request #339 from svengato/develop
jeremy-murphy May 8, 2023
ee2cdcc
Merge pull request #205 from jargonzombies/isomorphism-docs
jeremy-murphy Jul 7, 2023
8c9f2dc
Merge pull request #313 from mattpulver/develop
jeremy-murphy Jul 7, 2023
38efd9d
max_invariant initialization, expand doc
jan-grimo Jul 7, 2023
41aa918
[[no_unique_address]] on the base of property
mglisse Jul 7, 2023
b14f16b
Revert empty checks
jan-grimo Jul 9, 2023
ec28611
Remove max since `invar?_arrays` are equal
jan-grimo Jul 9, 2023
98e7bfa
Isomorphism: Map disconnected vertices
jan-grimo Feb 16, 2020
2097d8f
Replace lowest with min for int case
jan-grimo Feb 17, 2020
047fff6
Variable renames, doc update
jan-grimo Jul 9, 2023
9f36ca3
Add overflow assert and doc explanation for bound
jan-grimo Jul 17, 2023
4fc6b0b
Merge pull request #206 from jargonzombies/isomorphism-max-invariant
jeremy-murphy Jul 18, 2023
942829e
Merge pull request #329 from francoisk/develop
jeremy-murphy Jul 18, 2023
b48bf93
Move disconnected vertex matching to member fn
jan-grimo Aug 1, 2023
1a3dab9
Remove redundant scope braces
jeremy-murphy Aug 2, 2023
7a469ec
Merge pull request #207 from jargonzombies/map-disconnected-vertices
jeremy-murphy Sep 4, 2023
2cff7c5
Remove GCC 4.x and Clang 3.5
jeremy-murphy Sep 4, 2023
3e2b86a
Remove C++03 testing
jeremy-murphy Sep 4, 2023
e5ccf79
Add a missing include to topology.hpp
vslashg Sep 8, 2023
c3574b1
Remove 03 from GitHub CI
jeremy-murphy Sep 10, 2023
0fd6167
Merge pull request #348 from jeremy-murphy/drone
jeremy-murphy Sep 11, 2023
d09128f
Reordered incluldes
jeremy-murphy Sep 12, 2023
f2d0ae7
Merge pull request #350 from vslashg/patch-1
jeremy-murphy Sep 12, 2023
2e63766
Merge pull request #331 from mglisse/link-disjoint
jeremy-murphy Sep 12, 2023
77c07d1
Merge pull request #321 from derek-mcblane/fixup-challenge-doc
jeremy-murphy Sep 12, 2023
f315868
Merge pull request #341 from mglisse/small_prop
jeremy-murphy Sep 13, 2023
52c216c
graph/labeled_graph: added remove_labeled_vertex
Jan 30, 2020
8dc51f8
test/labeled_graph: added test for removing a labeled vertex
Nov 20, 2023
e94408c
test/labeled_graph: added test for multiple associative container
Nov 27, 2023
fa2636d
Merge pull request #354 from DeuceBox/remove-labeled-vertex
jeremy-murphy Nov 28, 2023
372355b
Move an #include outside of the boost namespace declaration.
vslashg Dec 2, 2023
5235d7d
Merge pull request #355 from vslashg/patch-2
jeremy-murphy Dec 2, 2023
3d6b1d4
Add missing includes to graph headers
vslashg Dec 6, 2023
a63690a
Merge pull request #357 from vslashg/develop
jeremy-murphy Dec 7, 2023
1f6bb4a
Remove Clang 3.x from Drone config
jeremy-murphy Dec 7, 2023
e522561
Remove link against boost regex library, as normally it is header onl…
Romain-Geissler-1A Sep 25, 2023
a7c3845
Merge pull request #352 from Romain-Geissler-1A/remove-link-against-b…
jeremy-murphy Jan 1, 2024
72cad02
fix reverse graph example example broken link; fix rcsp functions par…
andrea-cassioli-maersk Jan 26, 2024
a052dcd
Updated Boost.Filesystem usage.
Lastique Jan 26, 2024
9c9f9f4
Merge pull request #360 from andrea-cassioli-maersk/andrea-cassioli-m…
jeremy-murphy Jan 29, 2024
46ddc51
Merge pull request #361 from Lastique/feature/update_filesystem_usage
jeremy-murphy Jan 31, 2024
46a2823
fix issue in the single solution rcsp
andrea-cassioli-maersk Mar 22, 2024
3fd626f
Update .gitignore
andrea-cassioli-maersk Mar 22, 2024
57fdbf4
Update rcsp_single_solution.cpp
andrea-cassioli-maersk Mar 22, 2024
33a2510
Update rcsp_single_solution.cpp
andrea-cassioli-maersk Mar 22, 2024
fa8caee
fix wrong naming
andrea-cassioli-maersk Apr 3, 2024
158eebd
Merge pull request #368 from andrea-cassioli-maersk/fix-single-soluti…
jeremy-murphy Apr 3, 2024
81ead6e
Fix typo in name adjacenct_vertices.
jcdong98 Apr 12, 2024
4375631
Remove MSVC 14.0 from github workflow
jeremy-murphy Apr 13, 2024
5ec4327
Invariant contiguous range requirement removal
jan-grimo Sep 7, 2023
0be4c87
Avoid requiring invariant default-constructibility
jan-grimo Sep 19, 2023
8f3139b
Avoid reference member in multiplicity functor
jan-grimo Sep 19, 2023
db7b373
Refactor multiplicities() with iterators
jan-grimo Sep 19, 2023
2f5a3c2
Clean up bracket style
jan-grimo Sep 19, 2023
2c36c0f
Replace is_detected_v w/ is_detected<...>::value
jan-grimo Sep 19, 2023
b9fbc47
Remove C++20 reserved keyword namespace (concept)
jan-grimo Sep 20, 2023
71cea99
Remove Invariant concept checking
jan-grimo Sep 21, 2023
2e7d74b
Remove iterator rename in multiplicities
jan-grimo Sep 21, 2023
044c7d6
Use unordered_flat_map, parameterize invariant map
jan-grimo Apr 12, 2024
6caa0ba
Merge pull request #349 from jan-grimo/isomorphism-no-contiguous-inva…
jeremy-murphy Apr 15, 2024
a3fffa9
Merge pull request #370 from jcdong98/fix
jeremy-murphy Apr 17, 2024
e7d0adb
Replace Noel with myself as maintainer
jeremy-murphy Apr 30, 2024
06339d6
Update cxxstd to 14
jeremy-murphy Apr 30, 2024
b8150fa
Restore broken test_basic_csr_directed_graph
sehe Apr 20, 2024
2154398
Review comments
sehe May 8, 2024
8126d97
refactoring graphviz_test for review
sehe Apr 21, 2024
5007b01
Fix non-keyword subgraph parsing
sehe May 2, 2024
9c0ceda
test_subgraphs verifies (keyword) subgraphs parse
sehe May 2, 2024
c71ceb8
max_subgraph_nesting_level in read_graphviz_new
sehe May 2, 2024
05aa9fd
Include test for subgraph nesting limit
sehe May 8, 2024
64a3bae
Merge pull request #374 from sehe/workaround-373
jeremy-murphy May 9, 2024
17acf25
Merge pull request #375 from sehe/graphviz_test-refactor
jeremy-murphy May 9, 2024
5557ccf
Merge pull request #376 from sehe/pr-364
jeremy-murphy May 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 0 additions & 82 deletions .drone.star

Large diffs are not rendered by default.

96 changes: 4 additions & 92 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,57 +51,10 @@ jobs:
run: 'echo "using $TOOLSET : : ${{ matrix.compiler }} ;" > ~/user-config.jam'
working-directory: ../boost-root
- name: Config info
run: ../../../b2 print_config_info toolset=$TOOLSET cxxstd=03,11,14,17,2a
run: ../../../b2 print_config_info toolset=$TOOLSET cxxstd=11,14,17,2a
working-directory: ../boost-root/libs/config/test
- name: Test
run: ../../../b2 toolset=$TOOLSET cxxstd=03,11,14,17,2a
working-directory: ../boost-root/libs/graph/test
ubuntu-bionic:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
compiler: [ g++-7, g++-8, clang++-7, clang++-8 ]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- uses: mstachniuk/ci-skip@v1
with:
commit-filter: '[skip ci];[ci skip];[CI SKIP];[SKIP CI];***CI SKIP***;***SKIP CI***;[windows];[Windows];[WINDOWS];[apple];[Apple];[APPLE]'
commit-filter-separator: ';'
fail-fast: true
- name: Set TOOLSET
run: echo ${{ matrix.compiler }} | awk '/^g/ { print "TOOLSET=gcc" } /^clang/ { print "TOOLSET=clang" }' >> $GITHUB_ENV
- name: Add repository
run: sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
- name: Install packages
run: sudo apt install g++-7 g++-8 clang-7 clang-8
- name: Checkout main boost
run: git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
- name: Update tools/boostdep
run: git submodule update --init tools/boostdep
working-directory: ../boost-root
- name: Copy files
run: cp -r $GITHUB_WORKSPACE/* libs/graph
working-directory: ../boost-root
- name: Install deps
run: python tools/boostdep/depinst/depinst.py graph
working-directory: ../boost-root
- name: Bootstrap
run: ./bootstrap.sh
working-directory: ../boost-root
- name: Generate headers
run: ./b2 headers
working-directory: ../boost-root
- name: Generate user config
run: 'echo "using $TOOLSET : : ${{ matrix.compiler }} ;" > ~/user-config.jam'
working-directory: ../boost-root
- name: Config info install
run: ../../../b2 print_config_info toolset=$TOOLSET cxxstd=03,11,14,17
working-directory: ../boost-root/libs/config/test
- name: Test
run: ../../../b2 toolset=$TOOLSET cxxstd=03,11,14,17
run: ../../../b2 toolset=$TOOLSET cxxstd=11,14,17,2a
working-directory: ../boost-root/libs/graph/test
macos:
runs-on: macos-latest
Expand Down Expand Up @@ -136,51 +89,10 @@ jobs:
run: ./b2 headers
working-directory: ../boost-root
- name: Config info
run: ../../../b2 print_config_info toolset=${{ matrix.toolset }} cxxstd=03,11,14,17,2a
working-directory: ../boost-root/libs/config/test
- name: Test
run: ../../../b2 toolset=${{ matrix.toolset }} cxxstd=03,11,14,17,2a define=CI_SUPPRESS_KNOWN_ISSUES
working-directory: ../boost-root/libs/graph/test
windows_msvc_14_0:
runs-on: windows-2019
defaults:
run:
shell: cmd
strategy:
fail-fast: false
matrix:
toolset: [ msvc-14.0 ]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- uses: mstachniuk/ci-skip@v1
with:
commit-filter: '[skip ci];[ci skip];[CI SKIP];[SKIP CI];***CI SKIP***;***SKIP CI***;[apple];[Apple];[APPLE];[linux];[Linux];[LINUX]'
commit-filter-separator: ';'
fail-fast: true
- name: Checkout main boost
run: git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
- name: Update tools/boostdep
run: git submodule update --init tools/boostdep
working-directory: ../boost-root
- name: Copy files
run: xcopy /s /e /q %GITHUB_WORKSPACE% libs\graph
working-directory: ../boost-root
- name: Install deps
run: python tools/boostdep/depinst/depinst.py graph
working-directory: ../boost-root
- name: Bootstrap
run: bootstrap
working-directory: ../boost-root
- name: Generate headers
run: b2 headers
working-directory: ../boost-root
- name: Config info
run: ..\..\..\b2 print_config_info cxxstd=14,17 address-model=64 toolset=msvc-14.0
run: ../../../b2 print_config_info toolset=${{ matrix.toolset }} cxxstd=11,14,17,2a
working-directory: ../boost-root/libs/config/test
- name: Test
run: ..\..\..\b2 --hash address-model=64 cxxstd=14,17 toolset=msvc-14.0
run: ../../../b2 toolset=${{ matrix.toolset }} cxxstd=11,14,17,2a define=CI_SUPPRESS_KNOWN_ISSUES
working-directory: ../boost-root/libs/graph/test
windows_msvc_14_2:
runs-on: windows-2019
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ kevin-bacon2.dat
random.dot
triangular-fr.dot
triangular-kk.dot
test/*.dot
example/routing-table.dat
example/figs/ospf-sptree.dot
CMakeFiles/
1 change: 0 additions & 1 deletion build/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ lib boost_graph
read_graphviz_new.cpp
graphml.cpp
:
<library>../../regex/build//boost_regex
<link>shared:<define>BOOST_GRAPH_DYN_LINK=1
# Without these flags, MSVC 7.1 and 8.0 crash
# User reports that VC++ 8.0 does not fail anymore, so that is removed
Expand Down
2 changes: 1 addition & 1 deletion doc/challenge.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h2>Boost Graph Library Challenge and To-Do Items</h2>
<tt>mutable_queue.hpp</tt>, <tt>fibonacci_heap.hpp</tt>.
Somehow merge implementation with Dietmer's heaps and queues.</li>

<li><tt>disjoint_sets</tt> (see <a href="disjoint_sets.html">)</li>
<li><tt>disjoint_sets</tt> (see <a href="disjoint_sets.html">Disjoint Sets</a>)</li>
</ul>

<li>Construct a set of planar graph algorithms.</li>
Expand Down
12 changes: 9 additions & 3 deletions doc/hawick_circuits.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
<h1 id="hawick_circuits"><code>hawick_circuits</code></h1>

<pre><code>template &lt;typename Graph, typename Visitor, typename VertexIndexMap&gt;
void hawick_circuits(Graph const&amp; graph, Visitor visitor, VertexIndexMap const&amp; vim = get(vertex_index, graph));
void hawick_circuits(Graph const&amp; graph, Visitor visitor, VertexIndexMap const&amp; vim = get(vertex_index, graph), unsigned int max_length = 0);

template &lt;typename Graph, typename Visitor, typename VertexIndexMap&gt;
void hawick_unique_circuits(Graph const&amp; graph, Visitor visitor, VertexIndexMap const&amp; vim = get(vertex_index, graph));
void hawick_unique_circuits(Graph const&amp; graph, Visitor visitor, VertexIndexMap const&amp; vim = get(vertex_index, graph), unsigned int max_length = 0);
</code></pre>

<p>Enumerate all the elementary circuits in a directed multigraph. Specifically,
<p>Enumerate all the elementary circuits (of length &le; <code>max_length</code>, if nonzero) in a directed multigraph. Specifically,
self-loops and redundant circuits caused by parallel edges are enumerated too.
<code>hawick_unique_circuits</code> may be used if redundant circuits caused by parallel
edges are not desired.</p>
Expand Down Expand Up @@ -59,6 +59,12 @@ <h3 id="parameters">Parameters</h3>
the vertex index map provided by the <code>graph</code>.</p>
</blockquote>

<p><strong>IN:</strong> <code>unsigned int max_length = 0</code></p>

<blockquote>
<p>The maximum circuit length to consider. Beyond this it truncates the depth-first search, reducing the computation time by ignoring longer circuits. The default value of <code>max_length = 0</code> implies no maximum.</p>
</blockquote>

<hr />

<div class="footer">
Expand Down
23 changes: 8 additions & 15 deletions doc/isomorphism.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ <h3>Named Parameters</h3>

OUT: <tt>isomorphism_map(IsoMap f)</tt>
<blockquote>
The mapping from vertices in graph 1 to vertices in graph 2. This must
be a <a href="../../property_map/doc/ReadWritePropertyMap.html">Read/Write
The mapping from vertices in graph 1 to vertices in graph 2. <tt>IsoMap</tt>
must be a <a href="../../property_map/doc/ReadWritePropertyMap.html">Read/Write
Property Map</a>.<br> <b>Default:</b> an <a
href="../../property_map/doc/iterator_property_map.html"><tt>iterator_property_map</tt></a>
constructed from a <tt>std::vector</tt> of graph 2's vertex
Expand All @@ -111,27 +111,20 @@ <h3>Named Parameters</h3>
default value, which requires that the degrees of <i>v1</i> and <i>v2</i> are
equal) or to impose extra conditions on the result. The
<tt>VertexInvariant1</tt> and <tt>VertexInvariant2</tt> types must model <a
href="http://www.boost.org/sgi/stl/UnaryFunction.html">UnaryFunction</a>, with
the argument type of <tt>vertex_invariant1</tt> being <tt>Graph1</tt>'s vertex
href="http://www.boost.org/sgi/stl/AdaptableUnaryFunction.html">AdaptableUnaryFunction</a>,
with the argument type of <tt>vertex_invariant1</tt> being <tt>Graph1</tt>'s vertex
descriptor type, the argument type of <tt>vertex_invariant2</tt> being
<tt>Graph2</tt>'s vertex descriptor type, and both functions having integral
result types. The values returned by these two functions must be in the range
[0, <tt>vertex_max_invariant</tt>).
<tt>Graph2</tt>'s vertex descriptor type, and both functions sharing a
result type that is totally ordered and hashable, such as an integer.
<br>
<b>Default:</b> <tt>degree_vertex_invariant</tt> for both arguments<br>
<b>Python</b>: Unsupported parameter.
</blockquote>

IN: <tt>vertex_max_invariant(std::size_t max_invariant)</tt>
<blockquote>
An upper bound on the possible values returned from either
vertex_invariant1 or vertex_invariant2.
<br>
<b>Default:</b> <tt>vertex_invariant2.max()</tt>. The default
<tt>vertex_invariant2</tt> parameter, an instance of
<tt>degree_vertex_invariant</tt>, defines this function to
return <tt>num_vertices(g2) * (num_vertices(g2)+1)</tt>.<br>
<b>Python</b>: Unsupported parameter.
This parameter is ignored as it is no longer necessary, but kept for backwards
compatibility.
</blockquote>

IN: <tt>vertex_index1_map(VertexIndex1Map i1_map)</tt>
Expand Down
6 changes: 3 additions & 3 deletions doc/r_c_shortest_paths.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h1><a name="sec:espprc"></a>
typename graph_traits&lt;Graph&gt;::vertex_descriptor s,
typename graph_traits&lt;Graph&gt;::vertex_descriptor t,
std::vector&lt;typename graph_traits&lt;Graph&gt;::edge_descriptor&gt;&amp; pareto_optimal_solution,
Resource_Container&gt;&amp; pareto_optimal_resource_container,
Resource_Container&amp; pareto_optimal_resource_container,
const Resource_Container&amp; rc,
const Resource_Extension_Function&amp; ref,
const Dominance_Function&amp; dominance,
Expand Down Expand Up @@ -93,7 +93,7 @@ <h1><a name="sec:espprc"></a>
typename graph_traits&lt;Graph&gt;::vertex_descriptor s,
typename graph_traits&lt;Graph&gt;::vertex_descriptor t,
std::vector&lt;typename graph_traits&lt;Graph&gt;::edge_descriptor&gt;&amp; pareto_optimal_solution,
Resource_Container&gt;&amp; pareto_optimal_resource_container,
Resource_Container&amp; pareto_optimal_resource_container,
const Resource_Container&amp; rc,
const Resource_Extension_Function&amp; ref,
const Dominance_Function&amp; dominance )
Expand Down Expand Up @@ -554,7 +554,7 @@ <h3>Examples</h3>

<p>
The file <a href="../example/r_c_shortest_paths_example.cpp">
<rr>example/r_c_shortest_paths_example.cpp</tt></a> provides examples for how SPPRCs can be solved with the <tt>r_c_shortest_paths</tt> functions. There is an example for an SPP without resource constraints and an example for a shortest path problem with time windows.<br>
<tt>example/r_c_shortest_paths_example.cpp</tt></a> provides examples for how SPPRCs can be solved with the <tt>r_c_shortest_paths</tt> functions. There is an example for an SPP without resource constraints and an example for a shortest path problem with time windows.<br>
It is obvious that one would not use the algorithm for SPPs without resource constraints, because there are faster algorithms for this problem, but one would expect a code for the SPP with resource constraints to be able to handle such a case.
</p>

Expand Down
4 changes: 2 additions & 2 deletions doc/read_graphviz.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ <h1><a class="toc-backref" href="#id4">Example</a></h1>
<div class="section" id="building-the-graphviz-readers">
<h1><a class="toc-backref" href="#id5">Building the GraphViz Readers</a></h1>
<p>To use the GraphViz readers, you will need to build and link against
the &quot;boost_graph&quot; and &quot;boost_regex&quot; libraries. These libraries can be built by following the
<a class="reference external" href="../../../more/getting_started.html#Build_Install">Boost Jam Build Instructions</a> for the subdirectories <tt class="docutils literal"><span class="pre">libs/graph/build</span></tt> and <tt class="docutils literal"><span class="pre">libs/regex/build</span></tt>.</p>
the &quot;boost_graph&quot; library. This library can be built by following the
<a class="reference external" href="../../../more/getting_started.html#Build_Install">Boost Jam Build Instructions</a> for the subdirectory <tt class="docutils literal"><span class="pre">libs/graph/build</span></tt>.</p>
</div>
<div class="section" id="notes">
<h1><a class="toc-backref" href="#id6">Notes</a></h1>
Expand Down
4 changes: 2 additions & 2 deletions doc/read_graphviz.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ GraphViz reader to populate an ``adjacency_list`` graph
Building the GraphViz Readers
-----------------------------
To use the GraphViz readers, you will need to build and link against
the "boost_graph" and "boost_regex" libraries. These libraries can be built by following the
`Boost Jam Build Instructions`_ for the subdirectories ``libs/graph/build`` and ``libs/regex/build``.
the "boost_graph" library. This library can be built by following the
`Boost Jam Build Instructions`_ for the subdirectory ``libs/graph/build``.


Notes
Expand Down
2 changes: 1 addition & 1 deletion doc/reverse_graph.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <H1><A NAME="sec:reverse-graph-adaptor"></A>
<H3>Example</H3>

The example from <a
href="../example/reverse-graph-eg.cpp"><tt>examples/reverse-graph-eg.cpp</tt></a>.
href="../example/reverse_graph.cpp"><tt>example/reverse_graph.cpp</tt></a>.

<pre>
int
Expand Down
6 changes: 3 additions & 3 deletions example/fr_layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <map>
#include <vector>
#include <boost/random/linear_congruential.hpp>
#include <boost/progress.hpp>
#include <boost/timer/progress_display.hpp>
#include <boost/shared_ptr.hpp>

using namespace boost;
Expand Down Expand Up @@ -67,7 +67,7 @@ class progress_cooling : public linear_cooling< double >
public:
explicit progress_cooling(std::size_t iterations) : inherited(iterations)
{
display.reset(new progress_display(iterations + 1, std::cerr));
display.reset(new boost::timer::progress_display(iterations + 1, std::cerr));
}

double operator()()
Expand All @@ -77,7 +77,7 @@ class progress_cooling : public linear_cooling< double >
}

private:
shared_ptr< boost::progress_display > display;
shared_ptr< boost::timer::progress_display > display;
};

int main(int argc, char* argv[])
Expand Down
10 changes: 8 additions & 2 deletions example/hawick_circuits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ int main(int argc, char const* argv[])
{
if (argc < 2)
{
std::cout << "usage: " << argv[0] << " num_vertices < input\n";
std::cout << "usage: " << argv[0] << " <num_vertices>";
std::cout << " <max_length (optional)>\n";
return EXIT_FAILURE;
}

Expand All @@ -88,7 +89,12 @@ int main(int argc, char const* argv[])
build_graph(graph, num_vertices, first_vertex, last_vertex);

cycle_printer< std::ostream > visitor(std::cout);
boost::hawick_circuits(graph, visitor);
if (argc == 2) {
boost::hawick_circuits(graph, visitor);
} else {
unsigned int max_length = boost::lexical_cast< unsigned int >(argv[2]);
boost::hawick_circuits(graph, visitor, max_length);
}

return EXIT_SUCCESS;
}
4 changes: 2 additions & 2 deletions example/r_c_shortest_paths_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ int main()

std::cout << "SPP with time windows:" << std::endl;
std::cout << "Number of optimal solutions: ";
std::cout << static_cast< int >(opt_solutions.size()) << std::endl;
for (int i = 0; i < static_cast< int >(opt_solutions.size()); ++i)
std::cout << static_cast< int >(opt_solutions_spptw.size()) << std::endl;
for (int i = 0; i < static_cast< int >(opt_solutions_spptw.size()); ++i)
{
std::cout << "The " << i << "th shortest path from A to E is: ";
std::cout << std::endl;
Expand Down
1 change: 1 addition & 0 deletions include/boost/graph/bandwidth.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <algorithm> // for std::min and std::max
#include <boost/config.hpp>
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/properties.hpp>
#include <boost/detail/numeric_traits.hpp>

namespace boost
Expand Down
1 change: 1 addition & 0 deletions include/boost/graph/chrobak_payne_drawing.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <stack>
#include <boost/config.hpp>
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/properties.hpp>
#include <boost/property_map/property_map.hpp>

namespace boost
Expand Down
1 change: 1 addition & 0 deletions include/boost/graph/circle_layout.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/iteration_macros.hpp>
#include <boost/graph/topology.hpp>
#include <boost/property_map/property_map.hpp>
#include <boost/static_assert.hpp>

namespace boost
Expand Down
4 changes: 4 additions & 0 deletions include/boost/graph/detail/adjacency_list.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2189,8 +2189,12 @@ class vec_adj_list_impl : public adj_list_helper< Config, Base >
}
// Copy the edges by adding each edge and copying its
// property object.
#ifdef BOOST_NO_CXX17_STRUCTURED_BINDINGS
edge_iterator ei, ei_end;
for (boost::tie(ei, ei_end) = edges(x); ei != ei_end; ++ei)
#else // Silences -Wmaybe-uninitialized in adj_list_edge_iterator::operator++().
for (auto [ei, ei_end] = edges(x); ei != ei_end; ++ei)
#endif
{
edge_descriptor e;
bool inserted;
Expand Down
1 change: 1 addition & 0 deletions include/boost/graph/detail/index.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#define BOOST_GRAPH_DETAIL_INDEX_HPP

#include <boost/graph/graph_traits.hpp>
#include <boost/graph/properties.hpp>

// The structures in this module are responsible for selecting and defining
// types for accessing a builting index map. Note that the selection of these
Expand Down
Loading
Loading