C++ Reference: class SimpleDynamicPartition

Note: This documentation is automatically generated.

A subset of the API of DynamicPartition without backtrack support. The Refine() here is about twice as fast, but we have limited query support until a batch ComputeElementsByPart() is called.
Method
NumElements

Return type: int

NumParts

Return type: const int

PartOf

Return type: int

Arguments: int element

Refine

Return type: void

Arguments: absl::Span<const int> distinguished_subset

SimpleDynamicPartition

Return type: explicit

Arguments: int num_elements

SizeOfPart

Return type: int

Arguments: int part