OR-Tools  8.2
TaskSet

Detailed Description

Definition at line 56 of file disjunctive.h.

Classes

struct  Entry
 

Public Member Functions

 TaskSet (int num_tasks)
 
void Clear ()
 
void AddEntry (const Entry &e)
 
void RemoveEntryWithIndex (int index)
 
void AddShiftedStartMinEntry (const SchedulingConstraintHelper &helper, int t)
 
void NotifyEntryIsNowLastIfPresent (const Entry &e)
 
void AddUnsortedEntry (const Entry &e)
 
void Sort ()
 
IntegerValue ComputeEndMin (int task_to_ignore, int *critical_index) const
 
IntegerValue ComputeEndMin () const
 
int GetCriticalIndex () const
 
const std::vector< Entry > & SortedTasks () const
 

Constructor & Destructor Documentation

◆ TaskSet()

TaskSet ( int  num_tasks)
inlineexplicit

Definition at line 58 of file disjunctive.h.

Member Function Documentation

◆ AddEntry()

void AddEntry ( const Entry e)

Definition at line 163 of file disjunctive.cc.

◆ AddShiftedStartMinEntry()

void AddShiftedStartMinEntry ( const SchedulingConstraintHelper helper,
int  t 
)

Definition at line 178 of file disjunctive.cc.

◆ AddUnsortedEntry()

void AddUnsortedEntry ( const Entry e)
inline

Definition at line 89 of file disjunctive.h.

◆ Clear()

void Clear ( )
inline

Definition at line 70 of file disjunctive.h.

◆ ComputeEndMin() [1/2]

IntegerValue ComputeEndMin ( ) const

Definition at line 204 of file disjunctive.cc.

◆ ComputeEndMin() [2/2]

IntegerValue ComputeEndMin ( int  task_to_ignore,
int *  critical_index 
) const

Definition at line 220 of file disjunctive.cc.

◆ GetCriticalIndex()

int GetCriticalIndex ( ) const
inline

Definition at line 117 of file disjunctive.h.

◆ NotifyEntryIsNowLastIfPresent()

void NotifyEntryIsNowLastIfPresent ( const Entry e)

Definition at line 184 of file disjunctive.cc.

◆ RemoveEntryWithIndex()

void RemoveEntryWithIndex ( int  index)

Definition at line 199 of file disjunctive.cc.

◆ Sort()

void Sort ( )
inline

Definition at line 90 of file disjunctive.h.

◆ SortedTasks()

const std::vector<Entry>& SortedTasks ( ) const
inline

Definition at line 119 of file disjunctive.h.


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