 |
vrpRouting
0.3
|
Go to the documentation of this file.
28 #ifndef INCLUDE_PROBLEM_ORDER_H_
29 #define INCLUDE_PROBLEM_ORDER_H_
128 #endif // INCLUDE_PROBLEM_ORDER_H_
Identifiers< size_t > subsetI(const Identifiers< size_t > &I) const
Get a subset of the orders that can be placed before this order.
bool isCompatibleIJ(const Order &I, Speed speed=1.0) const
Can order I be placed before this order?
Vehicle_node m_pickup
The pick up node identifier.
Extend Tw_node to evaluate the vehicle at node level.
Vehicle_node m_delivery
The delivery node identifier.
const Vehicle_node & pickup() const
The pickup node identifier.
Order()=delete
Order without data is not permitted.
bool is_valid(Speed speed=1.0) const
is the order valid?
Order(Idx o_idx, Id o_id, const Vehicle_node &p_pickup, const Vehicle_node &p_delivery)
initializing an order with the pick & drop information
void set_compatibles(const Order &, Speed speed=1.0)
set compatability of this orther with the other order
Class that stores the information about identifiers.
friend std::ostream & operator<<(std::ostream &, const Order &)
Print the order.
Identifiers< size_t > m_compatibleI
Storage for the orders that can be placed before this order.
const Vehicle_node & delivery() const
The delivery node identifier.
Identifiers< size_t > subsetJ(const Identifiers< size_t > &J) const
Get a subset of the orders that can be placed after this order.
Identifiers< size_t > m_compatibleJ
Storage for the orders that can be placed after this order.