Google OR-Tools v9.11
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 ()
 

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

Constructor & Destructor Documentation

◆ InsertionSequence()

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

Definition at line 905 of file routing_search.h.

Member Function Documentation

◆ begin()

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

Definition at line 913 of file routing_search.h.

◆ Cost() [1/2]

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

Definition at line 918 of file routing_search.h.

◆ Cost() [2/2]

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

Definition at line 917 of file routing_search.h.

◆ end()

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

Definition at line 914 of file routing_search.h.

◆ operator!=()

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

Definition at line 908 of file routing_search.h.

◆ Size()

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

Definition at line 915 of file routing_search.h.

◆ Vehicle()

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

Definition at line 916 of file routing_search.h.


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