PGROUTING
3.2
|
#include "vehicle_pickDeliver.h"
Public Types | |
typedef std::tuple< int, int, size_t, double, double > | Cost |
Public Member Functions | |
Vehicle_pickDeliver (const Vehicle_pickDeliver &)=default | |
Vehicle_pickDeliver (size_t idx, int64_t id, const Vehicle_node &starting_site, const Vehicle_node &ending_site, double p_capacity, double p_speed, double factor) | |
void | do_while_feasable (Initials_code kind, Identifiers< size_t > &unassigned, Identifiers< size_t > &assigned) |
std::pair< POS, POS > | drop_position_limits (const Vehicle_node node) const |
void | erase (const Order &order) |
Identifiers< size_t > | feasable_orders () const |
std::vector< General_vehicle_orders_t > | get_postgres_result (int vid) const |
bool | has_order (const Order &order) const |
int64_t | id () const |
size_t | idx () const |
bool | insert (const Order &order) |
Inserts an order. More... | |
bool | is_order_feasable (const Order &order) const |
bool | is_phony () const |
const PD_Orders & | orders () const |
Identifiers< size_t > | orders_in_vehicle () const |
size_t | orders_size () const |
std::pair< POS, POS > | position_limits (const Vehicle_node node) const |
void | push_back (const Order &order) |
puts an order at the end of the truck More... | |
void | push_front (const Order &order) |
Puts an order at the end front of the truck. More... | |
void | reset_id (int64_t) |
bool | semiLIFO (const Order &order) |
Inserts an order In semi-Lifo order. More... | |
void | set_compatibles (const PD_Orders &orders) |
double | speed () const |
void | swap (POS i, POS j) |
Swap two nodes in the path. More... | |
deque like functions | |
| |
void | invariant () const |
Invariant The path must: More... | |
void | insert (POS pos, Vehicle_node node) |
@ { More... | |
POS | insert (std::pair< POS, POS > position_limits, const Vehicle_node &node) |
Insert node in best position of the position_limits. More... | |
void | erase (const Vehicle_node &node) |
Erase node.id() More... | |
void | erase (POS pos) |
Erase node at pos from the path. More... | |
bool | empty () const |
return true when no nodes are in the truck More... | |
size_t | size () const |
return number of nodes in the truck More... | |
Cost | cost () const |
bool | cost_compare (const Cost &, const Cost &) const |
double | duration () const |
double | total_wait_time () const |
double | total_travel_time () const |
double | total_service_time () const |
int | twvTot () const |
int | cvTot () const |
bool | has_twv () const |
bool | has_cv () const |
bool | is_feasable () const |
bool | is_ok () const |
Vehicle_node | start_site () const |
Vehicle_node | end_site () const |
double | capacity () const |
Evaluation | |
Path evaluation is done incrementally: from a given position to the end of the path, and intermediate values are cached on each node. So, for example, changing the path at position 100: the evaluation function should be called as | |
void | evaluate () |
@ { More... | |
void | evaluate (POS from) |
Evaluate: Evaluate a path from the given position. More... | |
accessors | |
std::deque< Vehicle_node > | path () const |
@ { More... | |
deque like functions | |
| |
void | invariant () const |
Invariant The path must: More... | |
void | insert (POS pos, Vehicle_node node) |
@ { More... | |
POS | insert (std::pair< POS, POS > position_limits, const Vehicle_node &node) |
Insert node in best position of the position_limits. More... | |
void | erase (const Vehicle_node &node) |
Erase node.id() More... | |
void | erase (POS pos) |
Erase node at pos from the path. More... | |
bool | empty () const |
return true when no nodes are in the truck More... | |
size_t | size () const |
return number of nodes in the truck More... | |
Cost | cost () const |
bool | cost_compare (const Cost &, const Cost &) const |
double | duration () const |
double | total_wait_time () const |
double | total_travel_time () const |
double | total_service_time () const |
int | twvTot () const |
int | cvTot () const |
bool | has_twv () const |
bool | has_cv () const |
bool | is_feasable () const |
bool | is_ok () const |
Vehicle_node | start_site () const |
Vehicle_node | end_site () const |
double | capacity () const |
Evaluation | |
Path evaluation is done incrementally: from a given position to the end of the path, and intermediate values are cached on each node. So, for example, changing the path at position 100: the evaluation function should be called as | |
void | evaluate () |
@ { More... | |
void | evaluate (POS from) |
Evaluate: Evaluate a path from the given position. More... | |
accessors | |
std::deque< Vehicle_node > | path () const |
@ { More... | |
operators | |
std::string | tau () const |
Static Public Member Functions | |
static Pgr_messages & | msg () |
Access to the problem's message. More... | |
Static Public Attributes | |
static Pgr_pickDeliver * | problem |
Pointer to problem. More... | |
Protected Types | |
using | difference_type = std::deque< Vehicle_node >::difference_type |
typedef size_t | POS |
Protected Attributes | |
double | cost |
Identifiers< size_t > | m_feasable_orders |
orders that fit in the truck More... | |
PD_Orders | m_orders |
Identifiers< size_t > | m_orders_in_vehicle |
orders inserted in this vehicle More... | |
std::deque< Vehicle_node > | m_path |
Private Member Functions | |
POS | getDropPosLowLimit (const Vehicle_node &node) const |
POS | getPosHighLimit (const Vehicle_node &node) const |
POS | getPosLowLimit (const Vehicle_node &node) const |
Private Attributes | |
double | m_capacity |
double | m_factor |
int64_t | m_id |
size_t | m_idx |
double | m_speed |
Friends | |
class | Initial_solution |
class | Optimize |
Definition at line 47 of file vehicle_pickDeliver.h.
|
inherited |
|
protectedinherited |
|
protectedinherited |
pgrouting::vrp::Vehicle_pickDeliver::Vehicle_pickDeliver | ( | size_t | idx, |
int64_t | id, | ||
const Vehicle_node & | starting_site, | ||
const Vehicle_node & | ending_site, | ||
double | p_capacity, | ||
double | p_speed, | ||
double | factor | ||
) |
Definition at line 48 of file vehicle_pickDeliver.cpp.
References ENTERING, EXITING, and pgrouting::vrp::Vehicle::invariant().
|
default |
|
inlineinherited |
Definition at line 238 of file vehicle.h.
References pgrouting::vrp::Vehicle::m_capacity.
Referenced by pgrouting::vrp::Vehicle::Vehicle().
|
inherited |
Definition at line 175 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::cvTot(), pgrouting::vrp::Vehicle::duration(), pgrouting::vrp::Vehicle::m_path, pgrouting::vrp::Vehicle::total_wait_time(), and pgrouting::vrp::Vehicle::twvTot().
Referenced by pgrouting::vrp::Vehicle::insert().
|
inlineinherited |
Definition at line 216 of file vehicle.h.
References pgrouting::vrp::Vehicle::m_path.
Referenced by pgrouting::vrp::Vehicle::cost(), pgrouting::vrp::Vehicle::has_cv(), and pgrouting::vrp::Vehicle::tau().
void pgrouting::vrp::Vehicle_pickDeliver::do_while_feasable | ( | Initials_code | kind, |
Identifiers< size_t > & | unassigned, | ||
Identifiers< size_t > & | assigned | ||
) |
Definition at line 227 of file vehicle_pickDeliver.cpp.
References pgrouting::vrp::BackTruck, pgrouting::vrp::BestBack, pgrouting::vrp::BestFront, pgrouting::vrp::BestInsert, erase(), pgrouting::vrp::PD_Orders::find_best_I(), pgrouting::vrp::PD_Orders::find_best_J(), pgrouting::vrp::FrontTruck, has_order(), insert(), pgrouting::vrp::Vehicle::invariant(), pgrouting::vrp::Vehicle::is_feasable(), pgrouting::Pgr_messages::log, m_feasable_orders, m_orders, pgrouting::vrp::Vehicle::msg(), pgrouting::vrp::OneDepot, pgrouting::vrp::OnePerTruck, orders_size(), pgassert, push_back(), push_front(), and semiLIFO().
|
inherited |
Definition at line 306 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::getDropPosLowLimit(), and pgrouting::vrp::Vehicle::getPosHighLimit().
Referenced by semiLIFO().
|
inlineinherited |
Definition at line 201 of file vehicle.h.
References pgrouting::vrp::Vehicle::m_path.
Referenced by pgrouting::vrp::Vehicle::cost(), insert(), and pgrouting::vrp::Vehicle::tau().
|
inherited |
return true when no nodes are in the truck
Definition at line 259 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::invariant(), and pgrouting::vrp::Vehicle::m_path.
Referenced by pgrouting::vrp::Optimize::move_order().
|
inlineinherited |
Definition at line 235 of file vehicle.h.
References pgrouting::vrp::Vehicle::m_path.
Referenced by pgrouting::vrp::Vehicle::is_ok().
void pgrouting::vrp::Vehicle_pickDeliver::erase | ( | const Order & | order | ) |
Definition at line 305 of file vehicle_pickDeliver.cpp.
References pgrouting::vrp::Order::delivery(), pgrouting::vrp::Vehicle::erase(), has_order(), pgrouting::Identifier::idx(), pgrouting::vrp::Vehicle::invariant(), m_orders_in_vehicle, pgassert, and pgrouting::vrp::Order::pickup().
Referenced by do_while_feasable(), and pgrouting::vrp::Optimize::move_order().
|
inherited |
Erase node.id()
Numbers are positions before: S .... node.id() .... E after: S .... .... E
Definition at line 198 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::evaluate(), pgrouting::Identifier::idx(), pgrouting::vrp::Vehicle::invariant(), and pgrouting::vrp::Vehicle::m_path.
Referenced by erase(), insert(), and semiLIFO().
|
inherited |
Erase node at pos
from the path.
Numbers are positions before: S 1 2 3 4 5 6 pos 8 9 E after: S 1 2 3 4 5 6 8 9 E
[in] | pos | to be erased. |
Definition at line 219 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::evaluate(), pgrouting::vrp::Vehicle::invariant(), pgrouting::vrp::Vehicle::m_path, and pgassert.
|
inherited |
@ {
Evaluate: Evaluate the whole path from the start.
Definition at line 250 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::invariant().
Referenced by pgrouting::vrp::Vehicle::erase(), pgrouting::vrp::Vehicle::insert(), push_back(), push_front(), pgrouting::vrp::Vehicle::swap(), and pgrouting::vrp::Vehicle::Vehicle().
|
inherited |
Evaluate: Evaluate a path from the given position.
[in] | from | The starting position in the path for evaluation to the end of the path. |
Definition at line 271 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::invariant(), pgrouting::vrp::Vehicle::m_capacity, pgrouting::vrp::Vehicle::m_path, pgassert, and pgrouting::vrp::Vehicle::speed().
|
inline |
|
inherited |
Definition at line 144 of file vehicle.cpp.
References pgrouting::Identifier::id(), pgrouting::Pgr_messages::log, pgrouting::vrp::Vehicle::m_path, pgrouting::vrp::Vehicle::msg(), and pgrouting::vrp::Vehicle::tau().
|
privateinherited |
Definition at line 327 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::invariant(), pgrouting::vrp::Vehicle::m_path, and pgrouting::vrp::Vehicle::speed().
Referenced by pgrouting::vrp::Vehicle::drop_position_limits().
|
privateinherited |
Definition at line 392 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::invariant(), pgrouting::vrp::Tw_node::is_compatible_IJ(), pgrouting::vrp::Vehicle::m_path, and pgrouting::vrp::Vehicle::speed().
Referenced by pgrouting::vrp::Vehicle::drop_position_limits(), and pgrouting::vrp::Vehicle::position_limits().
|
privateinherited |
Definition at line 360 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::invariant(), pgrouting::vrp::Vehicle::m_path, and pgrouting::vrp::Vehicle::speed().
Referenced by pgrouting::vrp::Vehicle::position_limits().
|
inlineinherited |
Definition at line 222 of file vehicle.h.
References pgrouting::vrp::Vehicle::cvTot().
Referenced by insert(), pgrouting::vrp::Vehicle::is_feasable(), and semiLIFO().
bool pgrouting::vrp::Vehicle_pickDeliver::has_order | ( | const Order & | order | ) | const |
Definition at line 73 of file vehicle_pickDeliver.cpp.
References Identifiers< T >::has(), pgrouting::Identifier::idx(), and m_orders_in_vehicle.
Referenced by do_while_feasable(), erase(), insert(), pgrouting::vrp::Optimize::move_order(), push_back(), push_front(), semiLIFO(), and pgrouting::vrp::Optimize::swap_worse().
|
inlineinherited |
Definition at line 219 of file vehicle.h.
References pgrouting::vrp::Vehicle::twvTot().
Referenced by pgrouting::vrp::Vehicle::is_feasable(), and semiLIFO().
|
inherited |
Definition at line 42 of file identifier.cpp.
References pgrouting::Identifier::m_id.
Referenced by pgrouting::vrp::Dnode::distance(), pgrouting::vrp::Vehicle::get_postgres_result(), pgrouting::vrp::Vehicle::is_phony(), pgrouting::vrp::operator<<(), pgrouting::operator<<(), pgrouting::vrp::Tw_node::operator==(), pgrouting::vrp::Vehicle::tau(), and pgrouting::vrp::Vehicle::Vehicle().
|
inherited |
Definition at line 37 of file identifier.cpp.
References pgrouting::Identifier::m_idx.
Referenced by pgrouting::vrp::Vehicle::erase(), erase(), has_order(), insert(), pgrouting::vrp::Vehicle::insert(), pgrouting::vrp::operator<<(), pgrouting::operator<<(), pgrouting::vrp::Tw_node::operator==(), push_back(), push_front(), semiLIFO(), pgrouting::vrp::Order::set_compatibles(), pgrouting::vrp::Vehicle::tau(), and pgrouting::vrp::Vehicle::Vehicle().
bool pgrouting::vrp::Vehicle_pickDeliver::insert | ( | const Order & | order | ) |
Inserts an order.
Precondition: !has_order(order)
Postcondition: has_order(order) !has_cv();
push_back is performed when
Can generate time window violation No capacity violation
Definition at line 79 of file vehicle_pickDeliver.cpp.
References pgrouting::vrp::Order::delivery(), pgrouting::vrp::Vehicle::duration(), pgrouting::vrp::Vehicle::erase(), pgrouting::vrp::Vehicle::has_cv(), has_order(), pgrouting::Identifier::idx(), pgrouting::vrp::Vehicle::insert(), pgrouting::vrp::Vehicle::invariant(), pgrouting::vrp::Vehicle::is_feasable(), m_orders_in_vehicle, pgrouting::vrp::Vehicle::m_path, pgassert, pgassertwm, pgrouting::vrp::Order::pickup(), pgrouting::vrp::Vehicle::position_limits(), and pgrouting::vrp::Vehicle::tau().
Referenced by do_while_feasable(), and pgrouting::vrp::Optimize::move_order().
|
inherited |
@ {
Insert node at pos position.
[in] | pos | The position that the node should be inserted. |
[in] | node | The node to insert. |
Definition at line 183 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::evaluate(), pgrouting::Identifier::idx(), pgrouting::vrp::Vehicle::invariant(), pgrouting::vrp::Vehicle::m_path, and pgassert.
Referenced by insert(), pgrouting::vrp::Vehicle::insert(), and semiLIFO().
|
inherited |
Insert node in best position of the position_limits.
[in] | position_limits | |
[in] | node | The node to insert |
Definition at line 63 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::cost(), pgrouting::vrp::Vehicle::cost_compare(), pgrouting::Identifier::idx(), pgrouting::vrp::Vehicle::insert(), pgrouting::vrp::Vehicle::invariant(), pgrouting::vrp::Vehicle::m_path, pgassert, pgrouting::vrp::Vehicle::position_limits(), and pgrouting::vrp::Vehicle::swap().
|
inherited |
Invariant The path must:
path: S ..... E
Definition at line 56 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::m_path, and pgassert.
Referenced by do_while_feasable(), pgrouting::vrp::Vehicle::empty(), pgrouting::vrp::Vehicle::erase(), erase(), pgrouting::vrp::Vehicle::evaluate(), pgrouting::vrp::Vehicle::getDropPosLowLimit(), pgrouting::vrp::Vehicle::getPosHighLimit(), pgrouting::vrp::Vehicle::getPosLowLimit(), insert(), pgrouting::vrp::Vehicle::insert(), pgrouting::vrp::operator<(), pgrouting::vrp::operator<<(), pgrouting::vrp::Vehicle::path(), push_back(), push_front(), semiLIFO(), pgrouting::vrp::Vehicle::size(), pgrouting::vrp::Vehicle::swap(), pgrouting::vrp::Vehicle::Vehicle(), and Vehicle_pickDeliver().
|
inlineinherited |
Definition at line 226 of file vehicle.h.
References pgrouting::vrp::Vehicle::has_cv(), and pgrouting::vrp::Vehicle::has_twv().
Referenced by do_while_feasable(), insert(), and semiLIFO().
|
inherited |
Definition at line 410 of file vehicle.cpp.
References pgrouting::vrp::Tw_node::closes(), pgrouting::vrp::Vehicle::end_site(), pgrouting::vrp::Vehicle::m_capacity, pgrouting::vrp::Vehicle::m_path, pgrouting::vrp::Tw_node::opens(), pgassert, and pgrouting::vrp::Vehicle::start_site().
bool pgrouting::vrp::Vehicle_pickDeliver::is_order_feasable | ( | const Order & | order | ) | const |
|
inlineinherited |
Definition at line 105 of file vehicle.h.
References pgrouting::Identifier::id().
Referenced by pgrouting::vrp::Optimize::move_order().
|
staticinherited |
Access to the problem's message.
Definition at line 51 of file vehicle.cpp.
References pgrouting::vrp::Pgr_pickDeliver::msg, and pgrouting::vrp::Vehicle::problem.
Referenced by do_while_feasable(), pgrouting::vrp::Vehicle::get_postgres_result(), and pgrouting::vrp::Vehicle::Vehicle().
|
inline |
Definition at line 77 of file vehicle_pickDeliver.h.
References m_orders.
Referenced by pgrouting::vrp::operator<<(), set_compatibles(), and pgrouting::vrp::Optimize::swap_worse().
|
inline |
Definition at line 79 of file vehicle_pickDeliver.h.
References m_orders_in_vehicle.
Referenced by pgrouting::vrp::Optimize::move_reduce_cost(), and pgrouting::vrp::Optimize::swap_worse().
|
inline |
Definition at line 78 of file vehicle_pickDeliver.h.
References m_orders_in_vehicle, and Identifiers< T >::size().
Referenced by do_while_feasable().
|
inherited |
@ {
Definition at line 292 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::invariant(), and pgrouting::vrp::Vehicle::m_path.
Referenced by pgrouting::vrp::operator<<().
|
inherited |
Definition at line 299 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::getPosHighLimit(), and pgrouting::vrp::Vehicle::getPosLowLimit().
Referenced by insert(), and pgrouting::vrp::Vehicle::insert().
void pgrouting::vrp::Vehicle_pickDeliver::push_back | ( | const Order & | order | ) |
puts an order at the end of the truck
Precondition: !has_order(order)
Postcondition: has_order(order) !has_cv();
Can generate time window violation No capacity violation
Definition at line 197 of file vehicle_pickDeliver.cpp.
References pgrouting::vrp::Order::delivery(), pgrouting::vrp::Vehicle::evaluate(), has_order(), pgrouting::Identifier::idx(), pgrouting::vrp::Vehicle::invariant(), m_orders_in_vehicle, pgrouting::vrp::Vehicle::m_path, pgassert, and pgrouting::vrp::Order::pickup().
Referenced by do_while_feasable().
void pgrouting::vrp::Vehicle_pickDeliver::push_front | ( | const Order & | order | ) |
Puts an order at the end front of the truck.
Precondition: !has_order(order)
Postcondition: has_order(order) !has_cv();
Can generate time window violation No capacity violation
Definition at line 212 of file vehicle_pickDeliver.cpp.
References pgrouting::vrp::Order::delivery(), pgrouting::vrp::Vehicle::evaluate(), has_order(), pgrouting::Identifier::idx(), pgrouting::vrp::Vehicle::invariant(), m_orders_in_vehicle, pgrouting::vrp::Vehicle::m_path, pgassert, and pgrouting::vrp::Order::pickup().
Referenced by do_while_feasable().
|
inherited |
Definition at line 47 of file identifier.cpp.
References pgrouting::Identifier::m_id.
Referenced by pgrouting::vrp::Tw_node::Tw_node().
bool pgrouting::vrp::Vehicle_pickDeliver::semiLIFO | ( | const Order & | order | ) |
Inserts an order In semi-Lifo order.
Precondition: !has_order(order)
Postcondition: has_order(order) !has_cv();
push_back is performed when
Can generate time window violation No capacity violation
Definition at line 338 of file vehicle_pickDeliver.cpp.
References pgrouting::vrp::Order::delivery(), pgrouting::vrp::Vehicle::drop_position_limits(), pgrouting::vrp::Vehicle::erase(), pgrouting::vrp::Vehicle::has_cv(), has_order(), pgrouting::vrp::Vehicle::has_twv(), pgrouting::Identifier::idx(), pgrouting::vrp::Vehicle::insert(), pgrouting::vrp::Vehicle::invariant(), pgrouting::vrp::Vehicle::is_feasable(), m_orders_in_vehicle, pgrouting::vrp::Vehicle::m_path, pgassert, and pgrouting::vrp::Order::pickup().
Referenced by do_while_feasable(), and pgrouting::vrp::Optimize::move_order().
void pgrouting::vrp::Vehicle_pickDeliver::set_compatibles | ( | const PD_Orders & | orders | ) |
Definition at line 322 of file vehicle_pickDeliver.cpp.
References is_order_feasable(), m_feasable_orders, m_orders, orders(), pgrouting::vrp::PD_Orders::set_compatibles(), and pgrouting::vrp::Vehicle::speed().
|
inherited |
return number of nodes in the truck
Definition at line 265 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::invariant(), and pgrouting::vrp::Vehicle::m_path.
Referenced by pgrouting::vrp::Optimize::move_order().
|
inherited |
Definition at line 477 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::m_factor, and pgrouting::vrp::Vehicle::m_speed.
Referenced by pgrouting::vrp::Vehicle::evaluate(), pgrouting::vrp::Vehicle::getDropPosLowLimit(), pgrouting::vrp::Vehicle::getPosHighLimit(), pgrouting::vrp::Vehicle::getPosLowLimit(), pgrouting::vrp::operator<<(), and set_compatibles().
|
inlineinherited |
Definition at line 232 of file vehicle.h.
References pgrouting::vrp::Vehicle::m_path.
Referenced by pgrouting::vrp::Vehicle::is_ok().
Swap two nodes in the path.
[in] | i | The position of the first node to swap. |
[in] | j | The position of the second node to swap. |
Definition at line 234 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::evaluate(), pgrouting::vrp::Vehicle::invariant(), pgrouting::vrp::Vehicle::m_path, and pgassert.
Referenced by pgrouting::vrp::Vehicle::insert().
|
inherited |
Definition at line 457 of file vehicle.cpp.
References pgrouting::vrp::Vehicle::cvTot(), pgrouting::vrp::Vehicle::duration(), pgrouting::Identifier::id(), pgrouting::Identifier::idx(), pgrouting::vrp::Vehicle::m_path, pgassert, pgrouting::vrp::Vehicle::total_wait_time(), and pgrouting::vrp::Vehicle::twvTot().
Referenced by pgrouting::vrp::Vehicle::get_postgres_result(), insert(), pgrouting::vrp::operator<<(), and pgrouting::vrp::Vehicle::Vehicle().
|
inlineinherited |
Definition at line 210 of file vehicle.h.
References pgrouting::vrp::Vehicle::m_path.
|
inlineinherited |
Definition at line 207 of file vehicle.h.
References pgrouting::vrp::Vehicle::m_path.
|
inlineinherited |
Definition at line 204 of file vehicle.h.
References pgrouting::vrp::Vehicle::m_path.
Referenced by pgrouting::vrp::Vehicle::cost(), and pgrouting::vrp::Vehicle::tau().
|
inlineinherited |
Definition at line 213 of file vehicle.h.
References pgrouting::vrp::Vehicle::m_path.
Referenced by pgrouting::vrp::Vehicle::cost(), pgrouting::vrp::Vehicle::has_twv(), and pgrouting::vrp::Vehicle::tau().
|
friend |
Definition at line 58 of file vehicle_pickDeliver.h.
|
friend |
Definition at line 59 of file vehicle_pickDeliver.h.
|
protected |
Definition at line 49 of file vehicle_pickDeliver.h.
|
privateinherited |
Definition at line 82 of file vehicle.h.
Referenced by pgrouting::vrp::Vehicle::capacity(), pgrouting::vrp::Vehicle::evaluate(), pgrouting::vrp::Vehicle::is_ok(), and pgrouting::vrp::operator<<().
|
privateinherited |
Definition at line 83 of file vehicle.h.
Referenced by pgrouting::vrp::operator<<(), and pgrouting::vrp::Vehicle::speed().
|
protected |
orders that fit in the truck
Definition at line 54 of file vehicle_pickDeliver.h.
Referenced by do_while_feasable(), feasable_orders(), and set_compatibles().
|
privateinherited |
Definition at line 53 of file identifier.h.
Referenced by pgrouting::Identifier::id(), and pgrouting::Identifier::reset_id().
|
privateinherited |
Definition at line 52 of file identifier.h.
Referenced by pgrouting::Identifier::idx().
|
protected |
Definition at line 52 of file vehicle_pickDeliver.h.
Referenced by do_while_feasable(), orders(), and set_compatibles().
|
protected |
orders inserted in this vehicle
Definition at line 51 of file vehicle_pickDeliver.h.
Referenced by erase(), has_order(), insert(), orders_in_vehicle(), orders_size(), push_back(), push_front(), and semiLIFO().
|
protectedinherited |
Definition at line 77 of file vehicle.h.
Referenced by pgrouting::vrp::Vehicle::cost(), pgrouting::vrp::Vehicle::cvTot(), pgrouting::vrp::Vehicle::duration(), pgrouting::vrp::Vehicle::empty(), pgrouting::vrp::Vehicle::end_site(), pgrouting::vrp::Vehicle::erase(), pgrouting::vrp::Vehicle::evaluate(), pgrouting::vrp::Vehicle::get_postgres_result(), pgrouting::vrp::Vehicle::getDropPosLowLimit(), pgrouting::vrp::Vehicle::getPosHighLimit(), pgrouting::vrp::Vehicle::getPosLowLimit(), insert(), pgrouting::vrp::Vehicle::insert(), pgrouting::vrp::Vehicle::invariant(), pgrouting::vrp::Vehicle::is_ok(), pgrouting::vrp::operator<(), pgrouting::vrp::Vehicle::path(), push_back(), push_front(), semiLIFO(), pgrouting::vrp::Vehicle::size(), pgrouting::vrp::Vehicle::start_site(), pgrouting::vrp::Vehicle::swap(), pgrouting::vrp::Vehicle::tau(), pgrouting::vrp::Vehicle::total_service_time(), pgrouting::vrp::Vehicle::total_travel_time(), pgrouting::vrp::Vehicle::total_wait_time(), pgrouting::vrp::Vehicle::twvTot(), and pgrouting::vrp::Vehicle::Vehicle().
|
privateinherited |
Definition at line 84 of file vehicle.h.
Referenced by pgrouting::vrp::operator<<(), and pgrouting::vrp::Vehicle::speed().
|
staticinherited |
Pointer to problem.
Definition at line 315 of file vehicle.h.
Referenced by pgrouting::vrp::Vehicle::msg(), and pgrouting::vrp::PD_problem::PD_problem().