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

Detailed Description

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

Definition at line 997 of file linear_assignment.h.

#include <linear_assignment.h>

Inheritance diagram for operations_research::CostValueCycleHandler< ArcIndexType, CostValue >:
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 ()

Constructor & Destructor Documentation

◆ CostValueCycleHandler() [1/2]

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

Definition at line 999 of file linear_assignment.h.

◆ CostValueCycleHandler() [2/2]

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

This type is neither copyable nor movable.

◆ ~CostValueCycleHandler()

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

Definition at line 1019 of file linear_assignment.h.

Member Function Documentation

◆ operator=()

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

◆ SetIndexFromIndex()

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

Moves a data element one step along its cycle.

Implements operations_research::PermutationCycleHandler< ArcIndexType >.

Definition at line 1010 of file linear_assignment.h.

◆ SetIndexFromTemp()

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

Sets a data element from the temporary.

Implements operations_research::PermutationCycleHandler< ArcIndexType >.

Definition at line 1015 of file linear_assignment.h.

◆ SetTempFromIndex()

template<typename ArcIndexType, typename CostValue>
void operations_research::CostValueCycleHandler< ArcIndexType, CostValue >::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 1006 of file linear_assignment.h.


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