|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sat4j.minisat.orders.VarOrder
public class VarOrder
Constructor Summary | |
---|---|
VarOrder()
|
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()
Affiche les litt�raux dans l'ordre de l'heuristique, la valeur de l'activite entre (). |
void |
undo(int x)
M�thode appel�e quand la variable x est d�saffect�e. |
void |
updateVar(int p)
To be called when the activity of a literal changed. |
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 VarOrder()
Method Detail |
---|
public void setLits(ILits lits)
setLits
in interface IOrder
public void newVar()
IOrder
newVar
in interface IOrder
public void newVar(int howmany)
IOrder
newVar
in interface IOrder
howmany
- le nombre de variables cr��espublic int select()
IOrder
select
in interface IOrder
public void setVarDecay(double d)
setVarDecay
in interface IOrder
d
- la nouvelle valeur de varDecaypublic void undo(int x)
IOrder
undo
in interface IOrder
public void updateVar(int p)
IOrder
updateVar
in interface IOrder
p
- a literal. The associated variable will be updated.public 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()
IOrder
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 |