|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlio.LiOEnv
public abstract class LiOEnv
Field Summary | |
---|---|
static LiOErrorLog |
errorLog
This object is used to manage error and exception messages |
static java.util.Random |
random
A global pseudo random generator |
static Statistics |
statistics
Object that contains and computes statistics of the search. |
static LiOTask |
task
Task which is going to be solved |
Constructor Summary | |
---|---|
LiOEnv()
|
Method Summary | |
---|---|
static int |
problemSize()
Returns size of the problem. |
static double |
random()
Returns a double between
0.0 and 1.0 with (approximately)
uniform distribution from that range. |
static void |
setSeed(long seed)
Set the seed of the global random generator |
static void |
setTask(java.lang.String pTask)
Creates a new instance of a LiOTask class to solve it whit this algorithm |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static LiOErrorLog errorLog
public static LiOTask task
public static Statistics statistics
public static java.util.Random random
Constructor Detail |
---|
public LiOEnv()
Method Detail |
---|
public static double random()
double
between
0.0
and 1.0
with (approximately)
uniform distribution from that range.
double
greater than or equal
to 0.0
and less than 1.0
.public static void setSeed(long seed)
seed
- new seed for the random generatorpublic static int problemSize()
public static void setTask(java.lang.String pTask)
pTask
- Full qualified class or path to a class file representing task
to solve
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |