|
||||||||||
| 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 of agents. |
private static XCSConstantsManager |
consManager
Stores the relevant constants for XCS of the manager. |
private static int |
nbRuns
Number of experiments of the simulation |
private static java.io.File |
outFile1
Output file where data from the simulation are stored |
private static java.util.Random |
R
Random generator |
private static double |
SAVEPROB
Probability of saving data for analysis |
| 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 XCSConstantsManager consManager
XCSConstantsManagerprivate static int nbRuns
private static double SAVEPROB
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),
XCSConstants,
XCSConstantsManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||