Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::InsertionSequenceContainer::InsertionSequence Class Reference

#include <routing_search.h>

Public Member Functions

 InsertionSequence (Insertion *data, InsertionBounds *bounds)
 
bool operator!= (const InsertionSequence &other) const
 
const Insertionbegin () const
 
const Insertionend () const
 
size_t Size () const
 
int Vehicle () const
 
int64_t Cost () const
 
int64_t & Cost ()
 
void SetHintWeight (int hint_weight)
 
int NegHintWeight () const
 

Detailed Description

Represents an insertion sequence as passed to AddInsertionSequence. This only allows to modify the cost, as a means to reorder sequences.

Definition at line 969 of file routing_search.h.

Constructor & Destructor Documentation

◆ InsertionSequence()

operations_research::InsertionSequenceContainer::InsertionSequence::InsertionSequence ( Insertion * data,
InsertionBounds * bounds )
inline

Definition at line 971 of file routing_search.h.

Member Function Documentation

◆ begin()

const Insertion * operations_research::InsertionSequenceContainer::InsertionSequence::begin ( ) const
inline

Definition at line 979 of file routing_search.h.

◆ Cost() [1/2]

int64_t & operations_research::InsertionSequenceContainer::InsertionSequence::Cost ( )
inline

Definition at line 984 of file routing_search.h.

◆ Cost() [2/2]

int64_t operations_research::InsertionSequenceContainer::InsertionSequence::Cost ( ) const
inline

Definition at line 983 of file routing_search.h.

◆ end()

const Insertion * operations_research::InsertionSequenceContainer::InsertionSequence::end ( ) const
inline

Definition at line 980 of file routing_search.h.

◆ NegHintWeight()

int operations_research::InsertionSequenceContainer::InsertionSequence::NegHintWeight ( ) const
inline

Definition at line 988 of file routing_search.h.

◆ operator!=()

bool operations_research::InsertionSequenceContainer::InsertionSequence::operator!= ( const InsertionSequence & other) const
inline

Definition at line 974 of file routing_search.h.

◆ SetHintWeight()

void operations_research::InsertionSequenceContainer::InsertionSequence::SetHintWeight ( int hint_weight)
inline

Definition at line 985 of file routing_search.h.

◆ Size()

size_t operations_research::InsertionSequenceContainer::InsertionSequence::Size ( ) const
inline

Definition at line 981 of file routing_search.h.

◆ Vehicle()

int operations_research::InsertionSequenceContainer::InsertionSequence::Vehicle ( ) const
inline

Definition at line 982 of file routing_search.h.


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