Package | Description |
---|---|
org.sat4j.pb.tools |
Implementation of different tools for pseudo boolean solvers
|
Modifier and Type | Method and Description |
---|---|
static <E> WeightedObject<E> |
WeightedObject.newWO(E e,
BigInteger w) |
static <E> WeightedObject<E> |
WeightedObject.newWO(E e,
int w) |
static <E> WeightedObject<E> |
WeightedObject.newWO(E e,
long w) |
Modifier and Type | Method and Description |
---|---|
void |
DependencyHelper.atLeast(C name,
BigInteger degree,
WeightedObject<T>... wobj)
Create a PB constraint of the form
w1.l1 + w2.l2 + ... wn.ln >= degree
where wi are position integers and li are domain objects. |
void |
DependencyHelper.atMost(C name,
BigInteger degree,
WeightedObject<T>... wobj)
Create a PB constraint of the form
w1.l1 + w2.l2 + ... wn.ln <= degree
where wi are position integers and li are domain objects. |
void |
DependencyHelper.atMost(C name,
int degree,
WeightedObject<T>... wobj) |
int |
WeightedObject.compareTo(WeightedObject<T> arg0) |
void |
DependencyHelper.setObjectiveFunction(WeightedObject<T>... wobj)
Add an objective function to ask for a solution that minimize the
objective function.
|
Modifier and Type | Method and Description |
---|---|
void |
LexicoHelper.addWeightedCriterion(Collection<WeightedObject<T>> things) |
Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.