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

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 966 of file routing_search.h.

#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

Constructor & Destructor Documentation

◆ InsertionSequence()

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

Definition at line 968 of file routing_search.h.

Member Function Documentation

◆ begin()

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

Definition at line 976 of file routing_search.h.

◆ Cost() [1/2]

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

Definition at line 981 of file routing_search.h.

◆ Cost() [2/2]

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

Definition at line 980 of file routing_search.h.

◆ end()

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

Definition at line 977 of file routing_search.h.

◆ NegHintWeight()

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

Definition at line 985 of file routing_search.h.

◆ operator!=()

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

Definition at line 971 of file routing_search.h.

◆ SetHintWeight()

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

Definition at line 982 of file routing_search.h.

◆ Size()

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

Definition at line 978 of file routing_search.h.

◆ Vehicle()

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

Definition at line 979 of file routing_search.h.


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