public final class OriginalWLClause extends WLClause
Constructor and Description |
---|
OriginalWLClause(IVecInt ps,
ILits voc) |
Modifier and Type | Method and Description |
---|---|
static OriginalWLClause |
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 |
setLearnt()
Mark a constraint as learnt.
|
assertConstraint, assertConstraintIfNeeded, calcReason, calcReasonOnTheFly, canBePropagatedMultipleTimes, equals, get, getActivity, getLits, getVocabulary, hashCode, locked, propagate, remove, rescaleBy, setActivity, simplify, size, toConstraint, toString
public void register()
Constr
public boolean learnt()
public void setLearnt()
Constr
public static OriginalWLClause 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
- Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.