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

#include <scheduling_helpers.h>

Public Member Functions

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

Public Attributes

int task_index
 
LiteralIndex presence_lit
 
IntegerValue time
 

Detailed Description

We have some free space in TaskTime. We stick the presence_lit to save an indirection in some algo.

Todo
(user): Experiment caching more value. In particular TaskByIncreasingShiftedStartMin() could tie break task for better heuristics?

Definition at line 56 of file scheduling_helpers.h.

Member Function Documentation

◆ operator<()

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

Definition at line 60 of file scheduling_helpers.h.

◆ operator>()

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

Definition at line 61 of file scheduling_helpers.h.

Member Data Documentation

◆ presence_lit

LiteralIndex operations_research::sat::CachedTaskBounds::presence_lit

Definition at line 58 of file scheduling_helpers.h.

◆ task_index

int operations_research::sat::CachedTaskBounds::task_index

Definition at line 57 of file scheduling_helpers.h.

◆ time

IntegerValue operations_research::sat::CachedTaskBounds::time

Definition at line 59 of file scheduling_helpers.h.


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