Skip to content

(diversity) Refactor attribute diversity to use id trait#1186

Draft
narendatha wants to merge 1 commit into
u/narendatha/det_div_pluginsfrom
u/narendatha/attribute_diversity_refactor
Draft

(diversity) Refactor attribute diversity to use id trait#1186
narendatha wants to merge 1 commit into
u/narendatha/det_div_pluginsfrom
u/narendatha/attribute_diversity_refactor

Conversation

@narendatha

Copy link
Copy Markdown
Contributor

No description provided.

…rait

Replace the AttributeValueProvider trait with a new DiverseId trait that exposes the attribute directly from the id. DiverseNeighborQueue is now generic over I: DiverseId and stores ids directly, dropping the Arc provider field. DiverseSearchParams becomes non-generic and the Diverse search adds a DP::InternalId: DiverseId bound. Unit tests rewritten around a TestId type.
@narendatha narendatha changed the base branch from main to u/narendatha/det_div_plugins June 18, 2026 15:12
@narendatha narendatha force-pushed the u/narendatha/attribute_diversity_refactor branch from b06180f to d4930c1 Compare June 18, 2026 15:55
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.

1 participant