tree.hpp
Go to the documentation of this file.
const TaskViewArray< TaskView > & tasks
Definition task.hh:366
TaskTree(Region &r, const TaskViewArray< TaskView > &t)
Definition tree.hpp:135
void update(int i, bool l=true)
Definition tree.hpp:123
const OmegaNode & root(void) const
Definition tree.hpp:103
void update(const OmegaLambdaNode &l, const OmegaLambdaNode &r)
Update node from left child l and right child r.
Definition tree.hpp:127
void init(const OmegaLambdaNode &l, const OmegaLambdaNode &r)
Initialize node from left child l and right child r.
Definition tree.hpp:121
OmegaLambdaTree(Region &r, const TaskViewArray< TaskView > &t, bool inc=true)
Initialize tree for tasks t with all tasks included, if inc is true.
Definition tree.hpp:151
int lect(void) const
Return earliest completion time of all tasks excluding lambda tasks.
Definition tree.hpp:237
void init(const OmegaNode &l, const OmegaNode &r)
Initialize node from left child l and right child r.
Definition tree.hpp:58
void update(const OmegaNode &l, const OmegaNode &r)
Update node from left child l and right child r.
Definition tree.hpp:63
OmegaTree(Region &r, const TaskViewArray< TaskView > &t)
Initialize tree for tasks t.
Definition tree.hpp:70
Int for unary resources
int clamp_ect(long long int ect)
Clamp a completion time ect of a tree to the int range.
Definition tree.hpp:46
long long int plus(long long int x, long long int y)
Safe addition in case x is -Int::Limits::llinfinity.
Definition tree.hpp:39
Gecode toplevel namespace
