C++ Reference
C++ Reference: Algorithms
DynamicPermutation
Detailed Description
Definition at line 33 of file dynamic_permutation.h.
Public Member Functions | |
| DynamicPermutation (int n) | |
| int | Size () const |
| void | AddMappings (const std::vector< int > &src, const std::vector< int > &dst) |
| void | UndoLastMappings (std::vector< int > *undone_mapping_src) |
| void | Reset () |
| int | ImageOf (int i) const |
| const std::vector< int > & | AllMappingsSrc () const |
| int | RootOf (int i) const |
| const std::set< int > & | LooseEnds () const |
| std::unique_ptr< SparsePermutation > | CreateSparsePermutation () const |
| std::string | DebugString () const |
Constructor & Destructor Documentation
◆ DynamicPermutation()
|
explicit |
Member Function Documentation
◆ AddMappings()
| void AddMappings | ( | const std::vector< int > & | src, |
| const std::vector< int > & | dst | ||
| ) |
◆ AllMappingsSrc()
|
inline |
Definition at line 67 of file dynamic_permutation.h.
◆ CreateSparsePermutation()
| std::unique_ptr<SparsePermutation> CreateSparsePermutation | ( | ) | const |
◆ DebugString()
| std::string DebugString | ( | ) | const |
◆ ImageOf()
|
inline |
Definition at line 114 of file dynamic_permutation.h.
◆ LooseEnds()
|
inline |
Definition at line 83 of file dynamic_permutation.h.
◆ Reset()
| void Reset | ( | ) |
◆ RootOf()
|
inline |
Definition at line 121 of file dynamic_permutation.h.
◆ Size()
|
inline |
Definition at line 38 of file dynamic_permutation.h.
◆ UndoLastMappings()
| void UndoLastMappings | ( | std::vector< int > * | undone_mapping_src | ) |
The documentation for this class was generated from the following file: