Skip to content

Personalized page rank#502

Draft
maniospas wants to merge 9 commits into
boostorg:developfrom
maniospas:personalized_page_rank
Draft

Personalized page rank#502
maniospas wants to merge 9 commits into
boostorg:developfrom
maniospas:personalized_page_rank

Conversation

@maniospas
Copy link
Copy Markdown

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

Provides an implementation of personalized PageRank following the motivating issue's outline for the provided interface.

Motivation

Refs #493

Testing

personalized_pagerank_test.cpp was added to tests. This runs two node scoring scenarios on a graph with well-understood structure, where assertions are added for equality between isomorphic nodes and certain interesting numerical comparisons checked to hold. The build command for local testing was g++ -std=c++14 -I./boost -o test test.cpp -O2.

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.

Documentation change not applicable, but likely new documentation should be added to reflect the introduced algorithm.

jeremy-murphy and others added 9 commits May 20, 2024 16:12
Merge a few years worth of changes
Merge September 2024 to early February 2025
New features and user-visible improvements
Replace dependency on Boost.Geometry with simplified, robust integer crosses implementation.
adjacency_matrix now fulfills the Bidirectional concept.
Bug fixes
Multiplicity value comparison in isomorphism.
Various documentation fixes.

Internal improvements
Library modularization.
Various modernizations to library and examples.
Simplified implementation of Lengauer-Tarjan dominator tree.
Replace deprecated functions like sprintf with snprintf.
Removed dependency on Boost.StaticAssert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants