Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::ForwardStaticGraph< NodeIndexType, ArcIndexType >::CycleHandlerForAnnotatedArcs Class Reference

#include <ebert_graph.h>

Inheritance diagram for operations_research::ForwardStaticGraph< NodeIndexType, ArcIndexType >::CycleHandlerForAnnotatedArcs:
operations_research::ArrayIndexCycleHandler< NodeIndexType, ArcIndexType > operations_research::PermutationCycleHandler< ArcIndexType >

Public Member Functions

 CycleHandlerForAnnotatedArcs (PermutationCycleHandler< ArcIndexType > *annotation_handler, NodeIndexType *data)
 
 CycleHandlerForAnnotatedArcs (const CycleHandlerForAnnotatedArcs &)=delete
 This type is neither copyable nor movable.
 
CycleHandlerForAnnotatedArcsoperator= (const CycleHandlerForAnnotatedArcs &)=delete
 
void SetTempFromIndex (ArcIndexType source) override
 
void SetIndexFromIndex (ArcIndexType source, ArcIndexType destination) const override
 Moves a data element one step along its cycle.
 
void SetIndexFromTemp (ArcIndexType destination) const override
 Sets a data element from the temporary.
 
- Public Member Functions inherited from operations_research::ArrayIndexCycleHandler< NodeIndexType, ArcIndexType >
 ArrayIndexCycleHandler (NodeIndexType *data)
 
 ArrayIndexCycleHandler (const ArrayIndexCycleHandler &)=delete
 This type is neither copyable nor movable.
 
ArrayIndexCycleHandleroperator= (const ArrayIndexCycleHandler &)=delete
 
void SetSeen (ArcIndexType *permutation_element) const override
 
bool Unseen (ArcIndexType permutation_element) const override
 
- Public Member Functions inherited from operations_research::PermutationCycleHandler< ArcIndexType >
 PermutationCycleHandler (const PermutationCycleHandler &)=delete
 This type is neither copyable nor movable.
 
PermutationCycleHandleroperator= (const PermutationCycleHandler &)=delete
 
virtual ~PermutationCycleHandler ()
 

Additional Inherited Members

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

Detailed Description

template<typename NodeIndexType, typename ArcIndexType>
class operations_research::ForwardStaticGraph< NodeIndexType, ArcIndexType >::CycleHandlerForAnnotatedArcs
Todo
(user): Configure SWIG to handle the CycleHandlerForAnnotatedArcs class.

Definition at line 569 of file ebert_graph.h.

Constructor & Destructor Documentation

◆ CycleHandlerForAnnotatedArcs() [1/2]

template<typename NodeIndexType , typename ArcIndexType >
operations_research::ForwardStaticGraph< NodeIndexType, ArcIndexType >::CycleHandlerForAnnotatedArcs::CycleHandlerForAnnotatedArcs ( PermutationCycleHandler< ArcIndexType > * annotation_handler,
NodeIndexType * data )
inline

Definition at line 574 of file ebert_graph.h.

◆ CycleHandlerForAnnotatedArcs() [2/2]

template<typename NodeIndexType , typename ArcIndexType >
operations_research::ForwardStaticGraph< NodeIndexType, ArcIndexType >::CycleHandlerForAnnotatedArcs::CycleHandlerForAnnotatedArcs ( const CycleHandlerForAnnotatedArcs & )
delete

This type is neither copyable nor movable.

Member Function Documentation

◆ operator=()

template<typename NodeIndexType , typename ArcIndexType >
CycleHandlerForAnnotatedArcs & operations_research::ForwardStaticGraph< NodeIndexType, ArcIndexType >::CycleHandlerForAnnotatedArcs::operator= ( const CycleHandlerForAnnotatedArcs & )
delete

◆ SetIndexFromIndex()

template<typename NodeIndexType , typename ArcIndexType >
void operations_research::ForwardStaticGraph< NodeIndexType, ArcIndexType >::CycleHandlerForAnnotatedArcs::SetIndexFromIndex ( ArcIndexType source,
ArcIndexType destination ) const
inlineoverridevirtual

Moves a data element one step along its cycle.

Reimplemented from operations_research::ArrayIndexCycleHandler< NodeIndexType, ArcIndexType >.

Definition at line 590 of file ebert_graph.h.

◆ SetIndexFromTemp()

template<typename NodeIndexType , typename ArcIndexType >
void operations_research::ForwardStaticGraph< NodeIndexType, ArcIndexType >::CycleHandlerForAnnotatedArcs::SetIndexFromTemp ( ArcIndexType destination) const
inlineoverridevirtual

Sets a data element from the temporary.

Reimplemented from operations_research::ArrayIndexCycleHandler< NodeIndexType, ArcIndexType >.

Definition at line 596 of file ebert_graph.h.

◆ SetTempFromIndex()

template<typename NodeIndexType , typename ArcIndexType >
void operations_research::ForwardStaticGraph< NodeIndexType, ArcIndexType >::CycleHandlerForAnnotatedArcs::SetTempFromIndex ( ArcIndexType source)
inlineoverridevirtual

Sets the internal temporary storage from the given index in the underlying container(s).

Reimplemented from operations_research::ArrayIndexCycleHandler< NodeIndexType, ArcIndexType >.

Definition at line 585 of file ebert_graph.h.


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