OR-Tools  8.2
PermutationCycleHandler< IndexType >abstract

Detailed Description

template<typename IndexType>
class operations_research::PermutationCycleHandler< IndexType >

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

Public Member Functions

virtual void SetTempFromIndex (IndexType source)=0
 
virtual void SetIndexFromIndex (IndexType source, IndexType destination) const =0
 
virtual void SetIndexFromTemp (IndexType destination) const =0
 
virtual void SetSeen (IndexType *unused_permutation_element) const
 
virtual bool Unseen (IndexType unused_permutation_element) const
 
virtual ~PermutationCycleHandler ()
 

Protected Member Functions

 PermutationCycleHandler ()
 

Constructor & Destructor Documentation

◆ ~PermutationCycleHandler()

virtual ~PermutationCycleHandler ( )
inlinevirtual

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

◆ PermutationCycleHandler()

PermutationCycleHandler ( )
inlineprotected

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

Member Function Documentation

◆ SetIndexFromIndex()

◆ SetIndexFromTemp()

◆ SetSeen()

virtual void SetSeen ( IndexType *  unused_permutation_element) const
inlinevirtual

◆ SetTempFromIndex()

◆ Unseen()

virtual bool Unseen ( IndexType  unused_permutation_element) const
inlinevirtual

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