|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--BatchSimulator
This class implements the main loop. It sets the initial vector of random parameters for each run and asks AgentsPopulations to run the simulation with these parameters.
| Field Summary | |
private static XCSConstants |
cons
Stores the relevant constants for XCS. |
private static int |
MAXPROBLEMS
The number of problems |
private static int |
nbRuns
Number of simulations in the batch |
private static java.io.File |
outFile1
File to store results |
private static java.util.Random |
R
Random generator |
private static double |
SAVEPROB
The probability of saving the results of each problem |
| Constructor Summary | |
BatchSimulator()
Constructor |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
The main loop. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static java.util.Random R
private static XCSConstants cons
XCSConstantsprivate static int nbRuns
private static double SAVEPROB
private static int MAXPROBLEMS
private static java.io.File outFile1
| Constructor Detail |
public BatchSimulator()
| Method Detail |
public static void main(java.lang.String[] args)
AgentsPopulations.run(),
AgentsPopulations#AgentsPopulations(int, double, double, int, int, int, int,
String, int, double, File, int),
XCSConstants
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||