C++ Reference
C++ Reference: Routing
DisjunctivePropagator::Tasks
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.
Public Member Functions | |
void | Clear () |
Public Attributes | |
int | num_chain_tasks = 0 |
std::vector< int64 > | start_min |
std::vector< int64 > | start_max |
std::vector< int64 > | duration_min |
std::vector< int64 > | duration_max |
std::vector< int64 > | end_min |
std::vector< int64 > | end_max |
std::vector< bool > | is_preemptible |
std::vector< const SortedDisjointIntervalList * > | forbidden_intervals |
std::vector< std::pair< int64, int64 > > | distance_duration |
Member Function Documentation
◆ Clear()
Member Data Documentation
◆ distance_duration
◆ duration_max
◆ duration_min
◆ end_max
◆ end_min
◆ forbidden_intervals
std::vector<const SortedDisjointIntervalList*> forbidden_intervals |
◆ is_preemptible
◆ num_chain_tasks
◆ start_max
◆ start_min
The documentation for this struct was generated from the following file: