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

#include <linear_assignment.h>

Inheritance diagram for operations_research::CostValueCycleHandler< ArcIndexType >:
operations_research::PermutationCycleHandler< ArcIndexType >

Public Member Functions

 CostValueCycleHandler (std::vector< CostValue > *cost)
 
 CostValueCycleHandler (const CostValueCycleHandler &)=delete
 This type is neither copyable nor movable.
 
CostValueCycleHandleroperator= (const CostValueCycleHandler &)=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.
 
 ~CostValueCycleHandler () 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 void SetSeen (ArcIndexType *unused_permutation_element) const
 
virtual bool Unseen (ArcIndexType unused_permutation_element) const
 
virtual ~PermutationCycleHandler ()
 

Additional Inherited Members

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

Detailed Description

template<typename ArcIndexType>
class operations_research::CostValueCycleHandler< ArcIndexType >

Definition at line 1025 of file linear_assignment.h.

Constructor & Destructor Documentation

◆ CostValueCycleHandler() [1/2]

template<typename ArcIndexType >
operations_research::CostValueCycleHandler< ArcIndexType >::CostValueCycleHandler ( std::vector< CostValue > * cost)
inlineexplicit

Definition at line 1027 of file linear_assignment.h.

◆ CostValueCycleHandler() [2/2]

template<typename ArcIndexType >
operations_research::CostValueCycleHandler< ArcIndexType >::CostValueCycleHandler ( const CostValueCycleHandler< ArcIndexType > & )
delete

This type is neither copyable nor movable.

◆ ~CostValueCycleHandler()

template<typename ArcIndexType >
operations_research::CostValueCycleHandler< ArcIndexType >::~CostValueCycleHandler ( )
inlineoverride

Definition at line 1047 of file linear_assignment.h.

Member Function Documentation

◆ operator=()

template<typename ArcIndexType >
CostValueCycleHandler & operations_research::CostValueCycleHandler< ArcIndexType >::operator= ( const CostValueCycleHandler< ArcIndexType > & )
delete

◆ SetIndexFromIndex()

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

Moves a data element one step along its cycle.

Implements operations_research::PermutationCycleHandler< ArcIndexType >.

Definition at line 1038 of file linear_assignment.h.

◆ SetIndexFromTemp()

template<typename ArcIndexType >
void operations_research::CostValueCycleHandler< ArcIndexType >::SetIndexFromTemp ( ArcIndexType destination) const
inlineoverridevirtual

Sets a data element from the temporary.

Implements operations_research::PermutationCycleHandler< ArcIndexType >.

Definition at line 1043 of file linear_assignment.h.

◆ SetTempFromIndex()

template<typename ArcIndexType >
void operations_research::CostValueCycleHandler< ArcIndexType >::SetTempFromIndex ( ArcIndexType source)
inlineoverridevirtual

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

Implements operations_research::PermutationCycleHandler< ArcIndexType >.

Definition at line 1034 of file linear_assignment.h.


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