C++ Reference
C++ Reference: Algorithms
SimpleDynamicPartition
Detailed Description
Definition at line 279 of file dynamic_partition.h.
Public Member Functions | |
| SimpleDynamicPartition (int num_elements) | |
| int | NumElements () const |
| const int | NumParts () const |
| int | PartOf (int element) const |
| int | SizeOfPart (int part) const |
| void | Refine (absl::Span< const int > distinguished_subset) |
| std::vector< absl::Span< const int > > | GetParts (std::vector< int > *buffer) |
Constructor & Destructor Documentation
◆ SimpleDynamicPartition()
|
inlineexplicit |
Definition at line 281 of file dynamic_partition.h.
Member Function Documentation
◆ GetParts()
| std::vector<absl::Span<const int> > GetParts | ( | std::vector< int > * | buffer | ) |
◆ NumElements()
|
inline |
Definition at line 285 of file dynamic_partition.h.
◆ NumParts()
|
inline |
Definition at line 286 of file dynamic_partition.h.
◆ PartOf()
|
inline |
Definition at line 287 of file dynamic_partition.h.
◆ Refine()
| void Refine | ( | absl::Span< const int > | distinguished_subset | ) |
◆ SizeOfPart()
|
inline |
Definition at line 288 of file dynamic_partition.h.
The documentation for this class was generated from the following file: