C++ Reference

C++ Reference: Routing

Detailed Description

A structure to hold tasks described by their features.

The first num_chain_tasks are considered linked by a chain of precedences, i.e. if i < j < num_chain_tasks, then end(i) <= start(j). This occurs frequently in routing, and can be leveraged by some variants of classic propagators.

Definition at line 2340 of file routing.h.

Public Member Functions

void Clear ()
 

Public Attributes

int num_chain_tasks = 0
 
std::vector< int64_t > start_min
 
std::vector< int64_t > start_max
 
std::vector< int64_t > duration_min
 
std::vector< int64_t > duration_max
 
std::vector< int64_t > end_min
 
std::vector< int64_t > end_max
 
std::vector< bool > is_preemptible
 
std::vector< const SortedDisjointIntervalList * > forbidden_intervals
 
std::vector< std::pair< int64_t, int64_t > > distance_duration
 
int64_t span_min = 0
 
int64_t span_max = kint64max
 

Member Function Documentation

◆ Clear()

void Clear ( )
inline

Definition at line 2354 of file routing.h.

Member Data Documentation

◆ distance_duration

std::vector<std::pair<int64_t, int64_t> > distance_duration

Definition at line 2350 of file routing.h.

◆ duration_max

std::vector<int64_t> duration_max

Definition at line 2345 of file routing.h.

◆ duration_min

std::vector<int64_t> duration_min

Definition at line 2344 of file routing.h.

◆ end_max

std::vector<int64_t> end_max

Definition at line 2347 of file routing.h.

◆ end_min

std::vector<int64_t> end_min

Definition at line 2346 of file routing.h.

◆ forbidden_intervals

std::vector<const SortedDisjointIntervalList*> forbidden_intervals

Definition at line 2349 of file routing.h.

◆ is_preemptible

std::vector<bool> is_preemptible

Definition at line 2348 of file routing.h.

◆ num_chain_tasks

int num_chain_tasks = 0

Definition at line 2341 of file routing.h.

◆ span_max

int64_t span_max = kint64max

Definition at line 2352 of file routing.h.

◆ span_min

int64_t span_min = 0

Definition at line 2351 of file routing.h.

◆ start_max

std::vector<int64_t> start_max

Definition at line 2343 of file routing.h.

◆ start_min

std::vector<int64_t> start_min

Definition at line 2342 of file routing.h.


The documentation for this struct was generated from the following file: