OR-Tools  8.2
ArrayIndexCycleHandler< DataType, IndexType >

Detailed Description

template<typename DataType, typename IndexType>
class operations_research::ArrayIndexCycleHandler< DataType, IndexType >

Definition at line 147 of file util/permutation.h.

Public Member Functions

 ArrayIndexCycleHandler (DataType *data)
 
void SetTempFromIndex (IndexType source) override
 
void SetIndexFromIndex (IndexType source, IndexType destination) const override
 
void SetIndexFromTemp (IndexType destination) const override
 
void SetSeen (IndexType *permutation_element) const override
 
bool Unseen (IndexType permutation_element) const override
 

Constructor & Destructor Documentation

◆ ArrayIndexCycleHandler()

ArrayIndexCycleHandler ( DataType *  data)
inlineexplicit

Definition at line 149 of file util/permutation.h.

Member Function Documentation

◆ SetIndexFromIndex()

void SetIndexFromIndex ( IndexType  source,
IndexType  destination 
) const
inlineoverridevirtual

Implements PermutationCycleHandler< IndexType >.

Definition at line 152 of file util/permutation.h.

◆ SetIndexFromTemp()

void SetIndexFromTemp ( IndexType  destination) const
inlineoverridevirtual

Implements PermutationCycleHandler< IndexType >.

Definition at line 156 of file util/permutation.h.

◆ SetSeen()

void SetSeen ( IndexType *  permutation_element) const
inlineoverridevirtual

Reimplemented from PermutationCycleHandler< IndexType >.

Definition at line 159 of file util/permutation.h.

◆ SetTempFromIndex()

void SetTempFromIndex ( IndexType  source)
inlineoverridevirtual

Implements PermutationCycleHandler< IndexType >.

Definition at line 151 of file util/permutation.h.

◆ Unseen()

bool Unseen ( IndexType  permutation_element) const
inlineoverridevirtual

Reimplemented from PermutationCycleHandler< IndexType >.

Definition at line 162 of file util/permutation.h.


The documentation for this class was generated from the following file: