 |
vrpRouting
0.3
|
Go to the documentation of this file.
36 namespace optimizers {
53 m_oid1(from_order.id()),
54 m_oid2(to_order.id()),
int64_t vid1() const
The identifier of the vehicle to move the order to.
bool operator==(const Move &a, const Move &b)
int64_t vid2() const
The identifier of the vehicle to move the order to.
int64_t m_vid2
The identifier of the vehicle to move the order to.
int64_t oid1() const
The identifier of the order to move or swap.
int64_t oid2() const
The identifier of the order to swap.
Move()=delete
empty move is not allowed
The Move class defines moves that are evaluated and set as tabu.
int64_t m_vid1
The identifier of the vehicle to move the order from.
bool is_swap() const
is the move a swap move?
int64_t m_oid1
The identifier of the first moved order.
std::ostream & operator<<(std::ostream &log, const Move &m)
int64_t m_oid2
The identifier of the second moved order (valid only for swap moves)
double to_objective() const
Objective value of the "to" vehicle.
bool m_is_swap
flag == true when belongs to swap
double from_objective() const
Objective value of the "from" vehicle.