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

#include <intervals.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 239 of file intervals.h.

Member Function Documentation

◆ operator<()

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

Definition at line 242 of file intervals.h.

◆ operator>()

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

Definition at line 243 of file intervals.h.

Member Data Documentation

◆ task_index

int operations_research::sat::TaskTime::task_index

Definition at line 240 of file intervals.h.

◆ time

IntegerValue operations_research::sat::TaskTime::time

Definition at line 241 of file intervals.h.


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