Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::ArrayIndexCycleHandler< DataType, IndexType > Class Template Reference

Detailed Description

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

Definition at line 141 of file permutation.h.

#include <permutation.h>

Inheritance diagram for operations_research::ArrayIndexCycleHandler< DataType, IndexType >:
operations_research::PermutationCycleHandler< IndexType >

Public Member Functions

 ArrayIndexCycleHandler (DataType *data)
 ArrayIndexCycleHandler (const ArrayIndexCycleHandler &)=delete
ArrayIndexCycleHandleroperator= (const ArrayIndexCycleHandler &)=delete
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
Public Member Functions inherited from operations_research::PermutationCycleHandler< IndexType >
 PermutationCycleHandler (const PermutationCycleHandler &)=delete
PermutationCycleHandleroperator= (const PermutationCycleHandler &)=delete
virtual ~PermutationCycleHandler ()

Additional Inherited Members

Protected Member Functions inherited from operations_research::PermutationCycleHandler< IndexType >
 PermutationCycleHandler ()

Constructor & Destructor Documentation

◆ ArrayIndexCycleHandler() [1/2]

template<typename DataType, typename IndexType>
operations_research::ArrayIndexCycleHandler< DataType, IndexType >::ArrayIndexCycleHandler ( DataType * data)
inlineexplicit

Definition at line 143 of file permutation.h.

◆ ArrayIndexCycleHandler() [2/2]

template<typename DataType, typename IndexType>
operations_research::ArrayIndexCycleHandler< DataType, IndexType >::ArrayIndexCycleHandler ( const ArrayIndexCycleHandler< DataType, IndexType > & )
delete

Member Function Documentation

◆ operator=()

template<typename DataType, typename IndexType>
ArrayIndexCycleHandler & operations_research::ArrayIndexCycleHandler< DataType, IndexType >::operator= ( const ArrayIndexCycleHandler< DataType, IndexType > & )
delete

◆ SetIndexFromIndex()

template<typename DataType, typename IndexType>
void operations_research::ArrayIndexCycleHandler< DataType, IndexType >::SetIndexFromIndex ( IndexType source,
IndexType destination ) const
inlineoverridevirtual

◆ SetIndexFromTemp()

template<typename DataType, typename IndexType>
void operations_research::ArrayIndexCycleHandler< DataType, IndexType >::SetIndexFromTemp ( IndexType destination) const
inlineoverridevirtual

◆ SetSeen()

template<typename DataType, typename IndexType>
void operations_research::ArrayIndexCycleHandler< DataType, IndexType >::SetSeen ( IndexType * permutation_element) const
inlineoverridevirtual

Reimplemented from operations_research::PermutationCycleHandler< IndexType >.

Definition at line 157 of file permutation.h.

◆ SetTempFromIndex()

template<typename DataType, typename IndexType>
void operations_research::ArrayIndexCycleHandler< DataType, IndexType >::SetTempFromIndex ( IndexType source)
inlineoverridevirtual

◆ Unseen()

template<typename DataType, typename IndexType>
bool operations_research::ArrayIndexCycleHandler< DataType, IndexType >::Unseen ( IndexType permutation_element) const
inlineoverridevirtual

Reimplemented from operations_research::PermutationCycleHandler< IndexType >.

Definition at line 160 of file permutation.h.


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