Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::sat::TaskTime Struct Reference

#include <scheduling_helpers.h>

Public Member Functions

bool operator< (TaskTime other) const
 
bool operator> (TaskTime other) const
 

Public Attributes

int task_index
 
IntegerValue time
 

Detailed Description

An helper struct to sort task by time. This is used by the SchedulingConstraintHelper but also by many scheduling propagators to sort tasks.

Definition at line 44 of file scheduling_helpers.h.

Member Function Documentation

◆ operator<()

bool operations_research::sat::TaskTime::operator< ( TaskTime other) const
inline

Definition at line 47 of file scheduling_helpers.h.

◆ operator>()

bool operations_research::sat::TaskTime::operator> ( TaskTime other) const
inline

Definition at line 48 of file scheduling_helpers.h.

Member Data Documentation

◆ task_index

int operations_research::sat::TaskTime::task_index

Definition at line 45 of file scheduling_helpers.h.

◆ time

IntegerValue operations_research::sat::TaskTime::time

Definition at line 46 of file scheduling_helpers.h.


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