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

Random demand. More...

#include <cvrptw_lib.h>

Public Member Functions

 RandomDemand (int size, RoutingIndexManager::NodeIndex depot, bool use_deterministic_seed)
 
void Initialize ()
 
int64_t Demand (RoutingIndexManager::NodeIndex from, RoutingIndexManager::NodeIndex to) const
 

Detailed Description

Random demand.

Definition at line 77 of file cvrptw_lib.h.

Constructor & Destructor Documentation

◆ RandomDemand()

operations_research::RandomDemand::RandomDemand ( int size,
RoutingIndexManager::NodeIndex depot,
bool use_deterministic_seed )

Definition at line 108 of file cvrptw_lib.cc.

Member Function Documentation

◆ Demand()

int64_t operations_research::RandomDemand::Demand ( RoutingIndexManager::NodeIndex from,
RoutingIndexManager::NodeIndex to ) const

Definition at line 131 of file cvrptw_lib.cc.

◆ Initialize()

void operations_research::RandomDemand::Initialize ( )

Definition at line 116 of file cvrptw_lib.cc.


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