|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sat4j.minisat.orders.VarOrderHeap
public class VarOrderHeap
Constructor Summary | |
---|---|
VarOrderHeap()
|
Method Summary | |
---|---|
ILits |
getVocabulary()
|
void |
init()
that method has the responsability to initialize all arrays in the heuristics. |
void |
newVar()
Appel�e quand une nouvelle variable est cr��e. |
void |
newVar(int howmany)
Appel�e lorsque plusieurs variables sont cr��es |
int |
numberOfInterestingVariables()
|
void |
printStat(java.io.PrintStream out,
java.lang.String prefix)
|
int |
select()
S�lectionne une nouvelle variable, non affect�e, ayant l'activit� la plus �lev�e. |
void |
setLits(ILits lits)
|
void |
setVarDecay(double d)
Change la valeur de varDecay. |
java.lang.String |
toString()
|
void |
undo(int x)
M�thode appel�e quand la variable x est d�saffect�e. |
void |
updateVar(int p)
Appel�e lorsque l'activit� de la variable x a chang�. |
double |
varActivity(int p)
To obtain the current activity of a variable. |
void |
varDecayActivity()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VarOrderHeap()
Method Detail |
---|
public void setLits(ILits lits)
setLits
in interface IOrder
public void newVar()
newVar
in interface IOrder
public void newVar(int howmany)
newVar
in interface IOrder
howmany
- le nombre de variables cr��espublic int select()
select
in interface IOrder
public void setVarDecay(double d)
setVarDecay
in interface IOrder
d
- la nouvelle valeur de varDecaypublic void undo(int x)
undo
in interface IOrder
x
- public void updateVar(int p)
updateVar
in interface IOrder
p
- a literalpublic void varDecayActivity()
varDecayActivity
in interface IOrder
public double varActivity(int p)
IOrder
varActivity
in interface IOrder
p
- a literal
public int numberOfInterestingVariables()
public void init()
init
in interface IOrder
public java.lang.String toString()
toString
in class java.lang.Object
public ILits getVocabulary()
public void printStat(java.io.PrintStream out, java.lang.String prefix)
printStat
in interface IOrder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |