Public Member Functions | Public Attributes | List of all members
DisjunctivePropagator::Tasks Struct Reference

A structure to hold tasks described by their features. More...

#include <routing.h>

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
 

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 1680 of file routing.h.

Member Function Documentation

◆ Clear()

void DisjunctivePropagator::Tasks::Clear ( )
inline

Definition at line 1692 of file routing.h.

Member Data Documentation

◆ distance_duration

std::vector<std::pair<int64, int64> > DisjunctivePropagator::Tasks::distance_duration

Definition at line 1690 of file routing.h.

◆ duration_max

std::vector<int64> DisjunctivePropagator::Tasks::duration_max

Definition at line 1685 of file routing.h.

◆ duration_min

std::vector<int64> DisjunctivePropagator::Tasks::duration_min

Definition at line 1684 of file routing.h.

◆ end_max

std::vector<int64> DisjunctivePropagator::Tasks::end_max

Definition at line 1687 of file routing.h.

◆ end_min

std::vector<int64> DisjunctivePropagator::Tasks::end_min

Definition at line 1686 of file routing.h.

◆ forbidden_intervals

std::vector<const SortedDisjointIntervalList*> DisjunctivePropagator::Tasks::forbidden_intervals

Definition at line 1689 of file routing.h.

◆ is_preemptible

std::vector<bool> DisjunctivePropagator::Tasks::is_preemptible

Definition at line 1688 of file routing.h.

◆ num_chain_tasks

int DisjunctivePropagator::Tasks::num_chain_tasks = 0

Definition at line 1681 of file routing.h.

◆ start_max

std::vector<int64> DisjunctivePropagator::Tasks::start_max

Definition at line 1683 of file routing.h.

◆ start_min

std::vector<int64> DisjunctivePropagator::Tasks::start_min

Definition at line 1682 of file routing.h.


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