public class OriginalBinaryClause extends BinaryClause
activity, head, tail
Constructor and Description |
---|
OriginalBinaryClause(IVecInt ps,
ILits voc) |
Modifier and Type | Method and Description |
---|---|
static OriginalBinaryClause |
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 |
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, register, remove, rescaleBy, simplify, size, toConstraint, toString
public void setLearnt()
Constr
public boolean learnt()
public static OriginalBinaryClause 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)
Constr
claInc
- public void setActivity(double claInc)
Constr
claInc
- the new activityCopyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.