public class LexicoHelper<T,C> extends DependencyHelper<T,C>
BASIC_NEGATION, NO_NEGATION
Constructor and Description |
---|
LexicoHelper(IPBSolver solver) |
LexicoHelper(IPBSolver solver,
boolean explanationEnabled) |
LexicoHelper(IPBSolver solver,
boolean explanationEnabled,
boolean canonicalOptFunctionEnabled) |
Modifier and Type | Method and Description |
---|---|
void |
addCriterion(Collection<T> things) |
void |
addWeightedCriterion(Collection<WeightedObject<T>> things) |
boolean |
isOptimal() |
addToObjectiveFunction, addToObjectiveFunction, and, atLeast, atLeast, atMost, atMost, atMost, atMost, clause, discard, discardSolutionsWithObjectiveValueGreaterThan, disjunction, getASolution, getBooleanValueFor, getIntValue, getIntValue, getMappingToDomain, getNumberOfConstraints, getNumberOfVariables, getObjectiveFunction, getSolution, getSolutionCost, getSolver, halfOr, hasASolution, hasASolution, hasASolution, iff, ifThenElse, implication, impliedBy, not, or, reset, setFalse, setNegator, setObjectiveFunction, setTrue, stopExplanation, stopSolver, why, why, whyNot
public LexicoHelper(IPBSolver solver)
public LexicoHelper(IPBSolver solver, boolean explanationEnabled, boolean canonicalOptFunctionEnabled)
public LexicoHelper(IPBSolver solver, boolean explanationEnabled)
public void addCriterion(Collection<T> things)
public void addWeightedCriterion(Collection<WeightedObject<T>> things)
public boolean isOptimal()
Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.