Skip to content

Add keep argument for Graph::remove_unused_nodes() - #620

Open
arcondello wants to merge 1 commit into
dwavesystems:mainfrom
arcondello:feature/remove-unused-nodes-keep
Open

Add keep argument for Graph::remove_unused_nodes()#620
arcondello wants to merge 1 commit into
dwavesystems:mainfrom
arcondello:feature/remove-unused-nodes-keep

Conversation

@arcondello

Copy link
Copy Markdown
Member

AI Generation Disclosure

No AI used.

@arcondello arcondello added the enhancement New feature or request label Aug 14, 2026
// indicate unsorted
constexpr ssize_t seen = -2; // already checked for duplicates
constexpr ssize_t drop = -3; // marked for deletion
constexpr ssize_t SEEN = -2; // already checked for duplicates

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to keep a standard convention between the two Graph::remove_ methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant