knapsack-overload.hpp
Go to the documentation of this file.
T * alloc(long unsigned int n)
Allocate block of n objects of type T from region.
Definition region.hpp:386
bool conflict(Tasks &tasks, int capacity)
Definition knapsack-overload.hpp:107
unsigned long long through(int bit)
Definition knapsack-overload.hpp:83
int max_reachable(const Bits &bits, int residual)
Return the greatest reachable subset demand at most residual.
Definition knapsack-overload.hpp:90
void add(Bits &bits, int demand, int capacity)
Definition knapsack-overload.hpp:47
int most_significant(unsigned long long word)
Definition knapsack-overload.hpp:70
ExecStatus knapsack_overload(Space &, int, TaskArray< Task > &)
Perform knapsack-augmented overload checking.
Definition cumulative.hh:691
ExecStatus supported_knapsack_overload(TaskArray< Task > &tasks, int capacity)
Definition knapsack-overload.hpp:207
Gecode toplevel namespace
void order(Home home, IntVar s0, int p0, IntVar s1, int p1, BoolVar b, IntPropLevel ipl=IPL_DEF)
Post propagators for ordering two tasks.
Definition order.cpp:41
