Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::PickupAndDeliveryData Class Reference

A utility class to maintain pickup and delivery information of nodes. More...

#include <routing_neighborhoods.h>

Public Member Functions

 PickupAndDeliveryData (int num_nodes, absl::Span< const PickupDeliveryPair > pairs)
 
bool IsPickupNode (int64_t node) const
 
bool IsDeliveryNode (int64_t node) const
 
int GetPairOfNode (int64_t node) const
 

Detailed Description

A utility class to maintain pickup and delivery information of nodes.

Definition at line 624 of file routing_neighborhoods.h.

Constructor & Destructor Documentation

◆ PickupAndDeliveryData()

operations_research::PickupAndDeliveryData::PickupAndDeliveryData ( int num_nodes,
absl::Span< const PickupDeliveryPair > pairs )

Definition at line 1025 of file routing_neighborhoods.cc.

Member Function Documentation

◆ GetPairOfNode()

int operations_research::PickupAndDeliveryData::GetPairOfNode ( int64_t node) const
inline

Definition at line 636 of file routing_neighborhoods.h.

◆ IsDeliveryNode()

bool operations_research::PickupAndDeliveryData::IsDeliveryNode ( int64_t node) const
inline

Definition at line 632 of file routing_neighborhoods.h.

◆ IsPickupNode()

bool operations_research::PickupAndDeliveryData::IsPickupNode ( int64_t node) const
inline

Definition at line 628 of file routing_neighborhoods.h.


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