Skip to content
Merged

1.92 #515

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
374db7b
Add Louvain clustering algorithm
Becheler Jan 15, 2026
6ef3267
adding louvain tests to jamfile
Becheler Feb 4, 2026
76efd88
add some comments
Becheler Feb 4, 2026
de9b6a8
Delete scratch/benchmark/run_benchmark.sh
Becheler Feb 4, 2026
385e8c8
Delete scratch/benchmark/bgl_louvain.cpp
Becheler Feb 4, 2026
78d9225
PR review: fixed copyright, local optimization visibility, assertions…
Becheler Feb 9, 2026
422d376
fix: URGB made generic
Becheler Feb 9, 2026
6b278b8
adding LouvainQualityFunctionConcept
Becheler Feb 10, 2026
28721e1
incremental versus non-incremental concepts
Becheler Feb 16, 2026
c5c9ac4
fix wrong namespace
Becheler Feb 16, 2026
24002db
fix unused variables in concepts
Becheler Feb 16, 2026
a02bc0f
incremental and non incremental metrics can lead to different optimiz…
Becheler Feb 16, 2026
0034d3f
Trigger CI
Becheler Feb 16, 2026
e8760cf
incremental and non incremental metrics can lead to different optimiz…
Becheler Feb 16, 2026
7180cd6
fix: no hierarchy_t, free unfold function
Becheler Feb 17, 2026
fb61051
docs
Becheler Feb 17, 2026
af23880
index-based interals and contguous outputs labels
Becheler Feb 23, 2026
967f47b
index-based interals and contguous outputs labels
Becheler Feb 23, 2026
bdedea7
fix dosctrsing
Becheler Feb 23, 2026
4b8a584
specializing std::hash forbidden here
Becheler Feb 23, 2026
f04a9cc
quality functions passed as objects with named methods
Becheler Feb 24, 2026
39c4863
default value for policy
Becheler Feb 24, 2026
a4e2ada
typo
Becheler Feb 24, 2026
ca528f5
updated documentation
Becheler Feb 26, 2026
85f0174
fix: assertion on edge added
Becheler Mar 6, 2026
a846cde
fix: cleanup dead internal_weights
Becheler Mar 11, 2026
ef7933e
test: TRUST_AGGREGATED_Q path
Becheler Mar 11, 2026
79523b6
fix: disentangle trust Q and track peak
Becheler Mar 11, 2026
b9ad3a8
benchmarks informed choice to trust aggregation as modularity preserv…
Becheler Mar 12, 2026
d2c82c8
fix docs
andreacassioli Mar 30, 2026
422ba53
beginning switching to adoc + antora
Becheler Apr 9, 2026
7fd07d7
fixes, document generators
Becheler Apr 9, 2026
a466abb
fix synopsis
andreacassioli Apr 11, 2026
4e51dea
fix synopsis
andreacassioli Apr 11, 2026
4188686
add a const
andreacassioli Apr 11, 2026
8acad90
more auto
andreacassioli Apr 13, 2026
76c33f6
progress
Becheler Apr 14, 2026
65c234f
generators ok
Becheler Apr 15, 2026
8f2e44c
generators ok
Becheler Apr 15, 2026
b7a2acd
property maps ok
Becheler Apr 15, 2026
3d1dcb3
IO ok
Becheler Apr 16, 2026
f9ec2bd
adaptors ok
Becheler Apr 16, 2026
3480acd
algorithms mostly ok
Becheler Apr 16, 2026
53189be
fixes algorithms
Becheler Apr 16, 2026
1a254b7
removing old tutorials
Becheler Apr 16, 2026
9bdc4a8
publish
Becheler Apr 16, 2026
e8799c4
pages
Becheler Apr 16, 2026
372dd21
adding static html build
Becheler Apr 16, 2026
394bea9
update
Becheler Apr 20, 2026
1dc5574
update
Becheler Apr 20, 2026
7e1812e
update
Becheler Apr 20, 2026
8c0d42b
boost url template
Becheler Apr 21, 2026
3de2a68
bibliography
Becheler Apr 21, 2026
0b37a0c
build examples and doc in CI
Becheler Apr 21, 2026
3ff2386
generator fix
Becheler Apr 21, 2026
4c8b05e
fix playbook
Becheler Apr 21, 2026
2edd465
fix
Becheler Apr 21, 2026
2e528f2
align expected output code snippet
Becheler Apr 21, 2026
4801103
fix toc and bugs
Becheler Apr 21, 2026
4c32a93
See on CE
Becheler Apr 21, 2026
ca2c6a6
remove internal properties
Becheler Apr 21, 2026
4aab928
harmonize signatures styles
Becheler Apr 21, 2026
559b68b
references: andreaas feedback
Becheler Apr 22, 2026
7e7a17a
toc and faq
Becheler Apr 22, 2026
6b7ca26
search bar
Becheler Apr 22, 2026
90a5859
fixes
Becheler Apr 22, 2026
4bc3762
fix ci
Becheler Apr 22, 2026
ae8e08d
Merge pull request #453 from Becheler/feature/louvain-algorithm
jeremy-murphy Apr 28, 2026
288c626
Enable adding Ubuntu toolchain PPA by default
Flamefire May 5, 2026
c1f4786
Merge pull request #488 from Flamefire/add-toolchain-ppa
jeremy-murphy May 6, 2026
57b7cba
adding and editing github plumbing files
Becheler May 13, 2026
b2ceaae
add banner with old doc, fix Edit This Page
Becheler May 14, 2026
5b19b1d
bug boost static assert
Becheler May 14, 2026
d8371c7
add warning to mcgregor
Becheler May 14, 2026
8790022
update landing page animation+code
Becheler May 15, 2026
672f6f0
fix name
Becheler May 15, 2026
14264f3
add animations for BGL primitives
Becheler May 18, 2026
3f972d6
add note and link for graph theory
Becheler May 18, 2026
f51204e
follow sylvain feedback for TOC
Becheler May 18, 2026
7304e54
follow sylvain feedback for TOC
Becheler May 18, 2026
6800e76
retiring old doc and hooking new doc to boost antora
Becheler May 19, 2026
2c30cd9
fix merge conflicts
Becheler May 19, 2026
65c691f
have the Edit This Page link point to boost::graph::develop rather th…
Becheler May 19, 2026
7f10bfb
clean up doc root folder, remove unused and broken files
Becheler May 19, 2026
b448bf3
integrate andreacassioli's feedback
Becheler May 21, 2026
3ba1ef9
revert change in index type
andreacassioli May 21, 2026
6c1b24d
using types and labels
Becheler May 23, 2026
439351a
Merge pull request #469 from andreacassioli/fix-circle-layout-docs-an…
jeremy-murphy May 30, 2026
d112309
minor rewording
Becheler Jun 1, 2026
223223a
Merge remote-tracking branch 'upstream/develop' into doc-migration
Becheler Jun 1, 2026
6efc6b6
Merge pull request #489 from Becheler/doc/gh-plumbing
Becheler Jun 1, 2026
6039644
fix #246 by documentation const Graph ref properly
Becheler Jun 4, 2026
5a86742
fixes #343: surprising counts of faces in planar_face_traversal
Becheler Jun 4, 2026
c1ed7ec
remove narrowing conversion
Becheler Jun 6, 2026
95e3a3c
remove narrowing conversion in bandwidth
Becheler Jun 6, 2026
a808917
harden king ordering test
Becheler Jun 6, 2026
de9a2f6
king_ordering: widen heap indices to std::ptrdiff_t
Becheler Jun 6, 2026
2dd06ac
sparse_ordering: widen queue operator[] from int to size_type
Becheler Jun 7, 2026
f3ea278
remove unused variables and typedefs
Becheler Jun 7, 2026
bc69cb4
generate warnings counts in PR comment
Becheler Jun 7, 2026
21cd4df
ci: trigger
Becheler Jun 7, 2026
35c7a09
Merge pull request #500 from Becheler/ci/warning-count-comment
jeremy-murphy Jun 8, 2026
85d048a
fix bot warning count to match head.sha against base repo open PR list
Becheler Jun 8, 2026
7ac2ddf
fix wrong return type in accessor
Becheler Jun 8, 2026
e6fa040
Merge pull request #503 from Becheler/fix/warning-bot-fork-pr-number
Becheler Jun 8, 2026
d86a207
fix: initialize value
Becheler Jun 8, 2026
fe3ac07
Merge pull request #497 from Becheler/fix/random-hpp-size-t-narrowing
Becheler Jun 8, 2026
8ad0ef8
Merge pull request #498 from Becheler/fix/bandwidth-hpp-size-t-narrowing
Becheler Jun 8, 2026
0d3e577
Merge pull request #499 from Becheler/fix/king-ordering-size-t-narrowing
Becheler Jun 8, 2026
a1ac741
Merge pull request #504 from Becheler/fix/sparse-ordering-eccentricit…
Becheler Jun 8, 2026
d064024
Merge pull request #505 from Becheler/fix/adjacency-list-uninitialize…
Becheler Jun 8, 2026
5c61bd0
Merge pull request #506 from Becheler/fix/louvain-unused-dead-code
Becheler Jun 8, 2026
02cb179
Merge pull request #491 from Becheler/doc-migration
jeremy-murphy Jun 15, 2026
da8ff0f
fix: adding doc/index.html
Becheler Jun 15, 2026
dae20d5
Merge pull request #507 from Becheler/doc/index-html-redirect
Becheler Jun 15, 2026
41e64b1
add missing const values; use some using instead of typedef
andreacassioli Jun 18, 2026
cf1839a
aPR comments
andreacassioli Jun 19, 2026
1de0d5c
Merge pull request #508 from andreacassioli/succ-shortest-path-missin…
Becheler Jun 20, 2026
434eba8
fix: take andrzej feedback into account
Becheler Jun 20, 2026
b70604b
fix: verbosity level in example
Becheler Jun 20, 2026
8ed6e41
fix: identation
Becheler Jun 20, 2026
32fe89d
update num_vertices to nb_vertices, update godbolt
Becheler Jun 22, 2026
476e379
fix: lambda capture 'this' is not used
Becheler Jun 22, 2026
505d1ca
fix: remove dead test variables
Becheler Jun 22, 2026
30013ad
Silence -Wunused-local-typedef and -Wunused-variable in four examples
Becheler Jun 22, 2026
29be624
clears Wdeprecated-declarations
Becheler Jun 22, 2026
6103fa5
clears gcc -Wsign-compare
Becheler Jun 22, 2026
fa19c3b
Merge pull request #510 from Becheler/fix/howard-unused-lambda-capture
Becheler Jun 23, 2026
4df6881
Merge pull request #509 from Becheler/doc/frontpage-example-cleanup
Becheler Jun 23, 2026
7012e97
Merge pull request #511 from Becheler/fix/unused-but-set-variable
Becheler Jun 23, 2026
bd10fa6
Merge pull request #512 from Becheler/fix/example-unused-warnings
Becheler Jun 23, 2026
1349344
Merge pull request #513 from Becheler/fix/deprecated-random-shuffle
Becheler Jun 23, 2026
a77dec6
Merge pull request #514 from Becheler/fix/sign-compare-warnings
Becheler Jun 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# As the yaml syntax for Drone CI is rather limited.
#
#
globalenv={}
globalenv={'ADD_UBUNTU_TOOLCHAIN_PPA': 'true'}
linuxglobalimage="cppalliance/droneubuntu1604:1"
windowsglobalimage="cppalliance/dronevs2019"

Expand Down
19 changes: 19 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Code owners for Boost.Graph
#
# When a PR is opened, GitHub automatically requests review from the matching
# owners listed below. The order of rules matters: later, more specific rules
# override earlier, more general ones.
#
# Authoritative maintainer list: meta/libraries.json
# Contact details: CONTRIBUTING.md#maintainers

# Default reviewers for everything
* @jeremy-murphy @becheler

# Documentation, contributor-facing files, and CI configuration
/doc/ @becheler
/README.md @becheler
/CONTRIBUTING.md @becheler
/SECURITY.md @becheler
/CODE_OF_CONDUCT.md @becheler
/.github/ @becheler
84 changes: 84 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
---
name: Bug report
about: Report a defect or unexpected behavior in Boost.Graph
title: ''
labels: ''
type: Bug
assignees: ''
---

<!--
Thank you for taking the time to file a bug report. Please fill in as much
of the template below as you can. Reports without a reproducer or
environment details are very hard to triage.
-->

### Before filing

- [ ] I searched the [existing issues](https://github.com/boostorg/graph/issues?q=is%3Aissue) and did not find a duplicate.
- [ ] I have reproduced the bug against the `develop` branch or the latest Boost release.
- [ ] I have a minimal reproducer (or I will paste my full failing code below).

### Boost version

<!--
You can find the version number in `<boost/version.hpp>`, or by running
`git log -1` in your local Boost.Graph checkout.
-->

### Compiler family

- [ ] GCC / g++
- [ ] Clang / clang++
- [ ] MSVC (Visual Studio)
- [ ] Intel / oneAPI
- [ ] Other (specify below)

Exact compiler version: <!-- e.g. g++ 13.2.0, clang 17.0.6, MSVC 19.39 -->

### Standard library

- [ ] libstdc++
- [ ] libc++
- [ ] MSVC STL
- [ ] Other (specify below)

### Operating system

- [ ] Linux
- [ ] macOS
- [ ] Windows
- [ ] Other (specify below)

### Kind of component affected

- [ ] Graph data structure (e.g. `adjacency_list`, `adjacency_matrix`)
- [ ] Algorithm (e.g. `dijkstra_shortest_paths`, `breadth_first_search`)
- [ ] Property map
- [ ] I/O or file-format reader (e.g. `read_graphml`, `read_graphviz`)
- [ ] Visitor / event hooks
- [ ] Other (specify below)

Exact name of the affected component: <!-- e.g. dijkstra_shortest_paths -->

### Steps to reproduce

<!--
A minimal compiling program that demonstrates the problem is ideal.
A [Compiler Explorer](https://godbolt.org/z/9Esszr9Ga) link is even better.
-->

### Expected behavior

### Actual behavior

<!--
Include compiler error messages or runtime output verbatim, with file and
line numbers where applicable.
-->

### Are you willing to help?

- [ ] I'd like to submit a fix as a pull request.
- [ ] I can help diagnose or test a candidate fix.
- [ ] I'm only reporting the issue.
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
blank_issues_enabled: false
contact_links:
- name: Design discussion or open-ended question
url: https://github.com/boostorg/graph/discussions
about: |
For "should we...?" questions, design exploration, or anything not
yet a concrete proposal, please start a GitHub Discussion. Issues
are reserved for bugs, feature requests with a concrete proposal,
and documentation problems.
59 changes: 59 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
name: Documentation issue
about: Report missing, incorrect, or unclear documentation
title: ''
labels: docs
type: Task
assignees: ''
---

<!--
Documentation problems are real issues. Thanks for taking the time to
report one.
-->

### Before filing

- [ ] I searched the [existing issues](https://github.com/boostorg/graph/issues?q=is%3Aissue+label%3Adocs) and did not find a duplicate.
- [ ] I checked the latest version of the documentation on `develop`.

### Kind of problem

- [ ] Documentation is missing entirely
- [ ] Documentation is incorrect or out of date
- [ ] Explanation is unclear or confusing
- [ ] Example does not compile
- [ ] Example compiles but does not produce the documented result
- [ ] Dead link or broken cross-reference
- [ ] Other (specify below)

### Where is the issue?

<!--
A link to the page, or the path to the file (for example,
`doc/quick_tour.html` or `include/boost/graph/dijkstra_shortest_paths.hpp`).
-->

### What is wrong, missing, or unclear?

<!--
For example: an example does not compile, an algorithm's complexity is
not stated, a parameter is undocumented, an explanation is confusing.
-->

### What did you expect to find?

<!-- What information would have helped you? -->

### Suggested wording (optional)

<!--
If you already have an idea of what the docs should say, paste a draft
here.
-->

### Are you willing to help?

- [ ] I'd like to submit a docs pull request.
- [ ] I can review a candidate fix.
- [ ] I'm only reporting the issue.
72 changes: 72 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
name: Feature request
about: Suggest a new algorithm, API addition, or enhancement
title: ''
labels: ''
type: Feature
assignees: ''
---

<!--
Thanks for proposing an addition to Boost.Graph.

If you want to explore an idea or discuss whether a feature would be
worthwhile before committing to a concrete proposal, please start a
GitHub Discussion instead:
https://github.com/boostorg/graph/discussions

This template is for requests with a clear, actionable proposal: a
specific algorithm, API, or enhancement that a maintainer could
reasonably implement or review.
-->

### Before filing

- [ ] I searched the [existing issues](https://github.com/boostorg/graph/issues?q=is%3Aissue) and did not find a duplicate.
- [ ] This is a concrete proposal, not an open-ended design question.

### Kind of addition

- [ ] New algorithm
- [ ] New data structure
- [ ] New property map or utility
- [ ] New I/O format reader or writer
- [ ] Extension to an existing component
- [ ] Performance improvement
- [ ] Other (specify below)

### Motivation

<!--
What problem does this feature solve? Who would use it, and in what
context?
-->

### Proposed addition

<!--
A new algorithm, a new data structure, an extension to an existing
component, or something else? If you have a rough API sketch, paste it
here.
-->

### Relation to existing Boost.Graph components

<!--
Does this overlap with or build on something that already exists in the
library (for example, an existing algorithm or property map)?
-->

### Prior art

- [ ] Reference paper or textbook (cite below)
- [ ] Implementation in another library (link below)
- [ ] None / original idea

References: <!-- paste DOI, ISBN, or URL -->

### Are you willing to contribute?

- [ ] I'd like to submit the implementation as a pull request.
- [ ] I can help with review or testing, but not the implementation.
- [ ] I'm only proposing the idea.
50 changes: 50 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!--
Thanks for contributing to Boost.Graph! A few notes before you fill this in:

* Target the `develop` branch.
* New contributions must be licensed under the
[Boost Software License 1.0](https://www.boost.org/LICENSE_1_0.txt).
* Please link any related issue with `Fixes #N` or `Refs #N`.
-->

### Before submitting

- [ ] This PR targets the `develop` branch.
- [ ] I searched for an existing PR or issue covering the same change.
- [ ] My contribution is licensed under the Boost Software License 1.0.

### Type of change

- [ ] Bug fix
- [ ] New feature or API addition
- [ ] Refactor (no behavior change)
- [ ] Documentation
- [ ] Build, CI, or tooling
- [ ] Other (specify below)

### Does this PR introduce a breaking change?

- [ ] Yes (describe migration impact below)
- [ ] No

### What this PR does

<!-- A short summary of the change. -->

### Motivation

<!-- Why is this needed? Link related issue with `Fixes #N` or `Refs #N`. -->

### Testing

<!--
How did you verify the change? Which compilers and standard libraries did
you build against? Were new tests added under `test/`?
-->

### Checklist

- [ ] Existing tests pass (`b2` in the `test/` directory).
- [ ] New behavior is covered by a test, or this is a docs / build / refactor change.
- [ ] Documentation was updated if user-facing behavior changed.
- [ ] No new compiler warnings on the platforms I built against.
48 changes: 48 additions & 0 deletions .github/scripts/warn_table.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#!/usr/bin/env python3
"""Print a markdown table comparing compiler-warning counts between two CI log archives.

Usage: warn_table.py BASELINE.zip AFTER.zip

A warning is a line matching 'file:line:col: warning:' (clang/gcc) or 'warning Cxxxx'
(msvc). Linker, "N warnings generated" summary, and CI-runner lines are not counted.
"""
import re
import sys
import zipfile

WARNING = re.compile(r":\d+:\d+: warning:|warning C\d+")


def counts(zip_path):
"""Map each CI job to its warning count, read from the run's log archive."""
result = {}
with zipfile.ZipFile(zip_path) as archive:
for entry in archive.namelist():
# Top-level per-job logs are named like "12_ubuntu (gcc-14, 14).txt".
if "/" in entry or not entry.endswith(".txt"):
continue
job = re.sub(r"^\d+_", "", entry[:-4])
log = archive.read(entry).decode("utf-8", "replace")
result[job] = sum(1 for line in log.splitlines() if WARNING.search(line))
return result


def main(baseline_zip, after_zip):
baseline = counts(baseline_zip)
after = counts(after_zip)
print("| Job | Baseline | After | Delta |")
print("|-----|---------:|------:|------:|")
for job in sorted(baseline.keys() | after.keys()):
if "cmake" in job: # cmake jobs build only the library, they never warn
continue
before = baseline.get(job, 0)
now = after.get(job, 0)
diff = now - before
delta = f"{diff:+d}" if diff else "0"
print(f"| {job} | {before} | {now} | {delta} |")


if __name__ == "__main__":
if len(sys.argv) != 3:
sys.exit("usage: warn_table.py BASELINE.zip AFTER.zip")
main(sys.argv[1], sys.argv[2])
Loading
Loading