| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sat4j.minisat.orders.VarOrderHeap<L>
public class VarOrderHeap<L extends ILits>
| Constructor Summary | |
|---|---|
VarOrderHeap()
 | 
|
| Method Summary | |
|---|---|
 void | 
assignLiteral(int p)
indicate that a literal has been satisfied.  | 
 ILits | 
getVocabulary()
 | 
 void | 
init()
that method has the responsability to initialize all arrays in the heuristics.  | 
 void | 
newVar()
Appelee quand une nouvelle variable est creee.  | 
 void | 
newVar(int howmany)
Appelee lorsque plusieurs variables sont creees  | 
 int | 
numberOfInterestingVariables()
 | 
 void | 
printStat(java.io.PrintWriter out,
          java.lang.String prefix)
Display statistics regarding the heuristics.  | 
 int | 
select()
Selectionne une nouvelle variable, non affectee, ayant l'activite la plus elevee.  | 
 void | 
setLits(L lits)
Method used to provide an easy access the the solver vocabulary.  | 
 void | 
setVarDecay(double d)
Change la valeur de varDecay.  | 
 java.lang.String | 
toString()
 | 
 void | 
undo(int x)
Methode appelee quand la variable x est desaffectee.  | 
 void | 
updateVar(int p)
Appelee lorsque l'activite de la variable x a change.  | 
 double | 
varActivity(int p)
To obtain the current activity of a variable.  | 
 void | 
varDecayActivity()
Decay the variables activities.  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public VarOrderHeap()
| Method Detail | 
|---|
public void setLits(L lits)
IOrder
setLits in interface IOrder<L extends ILits>lits - the vocabularypublic void newVar()
newVar in interface IOrder<L extends ILits>public void newVar(int howmany)
newVar in interface IOrder<L extends ILits>howmany - le nombre de variables creeesSolver.newVar(int)public int select()
select in interface IOrder<L extends ILits>public void setVarDecay(double d)
setVarDecay in interface IOrder<L extends ILits>d - la nouvelle valeur de varDecaypublic void undo(int x)
undo in interface IOrder<L extends ILits>x - public void updateVar(int p)
updateVar in interface IOrder<L extends ILits>p - a literalpublic void varDecayActivity()
IOrder
varDecayActivity in interface IOrder<L extends ILits>public double varActivity(int p)
IOrder
varActivity in interface IOrder<L extends ILits>p - a literal
public int numberOfInterestingVariables()
public void init()
init in interface IOrder<L extends ILits>public java.lang.String toString()
toString in class java.lang.Objectpublic ILits getVocabulary()
public void printStat(java.io.PrintWriter out,
                      java.lang.String prefix)
IOrder
printStat in interface IOrder<L extends ILits>out - the writer to display the information inprefix - to be used in front of each newline.public void assignLiteral(int p)
IOrder
assignLiteral in interface IOrder<L extends ILits>
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||