![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
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 Insertion * | begin () const |
const Insertion * | end () const |
size_t | Size () const |
int | Vehicle () const |
int64_t | Cost () const |
int64_t & | Cost () |
void | SetHintWeight (int hint_weight) |
int | NegHintWeight () const |
|
inline |
Definition at line 968 of file routing_search.h.
|
inline |
Definition at line 976 of file routing_search.h.
|
inline |
Definition at line 981 of file routing_search.h.
|
inline |
Definition at line 980 of file routing_search.h.
|
inline |
Definition at line 977 of file routing_search.h.
|
inline |
Definition at line 985 of file routing_search.h.
|
inline |
Definition at line 971 of file routing_search.h.
|
inline |
Definition at line 982 of file routing_search.h.
|
inline |
Definition at line 978 of file routing_search.h.
|
inline |
Definition at line 979 of file routing_search.h.