public class OriginalHTClause extends HTClause
| Constructor and Description |
|---|
OriginalHTClause(IVecInt ps,
ILits voc) |
| Modifier and Type | Method and Description |
|---|---|
static OriginalHTClause |
brandNewClause(UnitPropagationListener s,
ILits voc,
IVecInt literals)
Creates a brand new clause, presumably from external data.
|
void |
forwardActivity(double claInc) |
void |
incActivity(double claInc)
Increase the constraint activity.
|
boolean |
learnt() |
void |
register()
Register the constraint to the solver.
|
void |
setActivity(double claInc)
Set the activity at a specific value
|
void |
setLearnt()
Mark a constraint as learnt.
|
assertConstraint, calcReason, calcReasonOnTheFly, canBePropagatedMultipleTimes, equals, get, getActivity, getLits, getVocabulary, hashCode, locked, propagate, remove, rescaleBy, simplify, size, toConstraint, toStringpublic void register()
Constrpublic boolean learnt()
public void setLearnt()
Constrpublic static OriginalHTClause brandNewClause(UnitPropagationListener s, ILits voc, IVecInt literals)
s - the object responsible for unit propagationvoc - the vocabularyliterals - the literals to store in the clausepublic void forwardActivity(double claInc)
public void incActivity(double claInc)
ConstrclaInc - public void setActivity(double claInc)
ConstrclaInc - the new activityCopyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.