| Modifier and Type | Method and Description |
|---|---|
void |
addConstraint(net.ssehub.easy.reasoning.core.reasoner.ConstraintList target,
boolean first,
net.ssehub.easy.varModel.model.Constraint constraint,
net.ssehub.easy.varModel.confModel.IDecisionVariable register)
Adds a constraint to the (preliminary) constraint base.
|
boolean |
inRescheduling()
Returns whether the constraint target is currently in re-scheduling and, thus, e.g., default constraints
shall not be added.
|
void addConstraint(net.ssehub.easy.reasoning.core.reasoner.ConstraintList target,
boolean first,
net.ssehub.easy.varModel.model.Constraint constraint,
net.ssehub.easy.varModel.confModel.IDecisionVariable register)
target - the target constraint setfirst - at to front/endconstraint - the constraint to be addedregister - register the constraint with VariablesMap for the given variable (ignored
if null)boolean inRescheduling()
true for re-scheduling, false elseCopyright © 2009 - 2018 SSE. All Rights Reserved.