Class BatchSimulator

java.lang.Object
  |
  +--BatchSimulator

public class BatchSimulator
extends java.lang.Object

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

R

private static java.util.Random R
Random generator


cons

private static XCSConstants cons
Stores the relevant constants for XCS of agents.

See Also:
XCSConstants

consManager

private static XCSConstantsManager consManager
Stores the relevant constants for XCS of the manager.

See Also:
XCSConstantsManager

nbRuns

private static int nbRuns
Number of experiments of the simulation


SAVEPROB

private static double SAVEPROB
Probability of saving data for analysis


outFile1

private static java.io.File outFile1
Output file where data from the simulation are stored

Constructor Detail

BatchSimulator

public BatchSimulator()
Constructor

Method Detail

main

public static void main(java.lang.String[] args)
The main loop. Initialization of the vector of key parameters and of the output file and run of the simulation.

See Also:
AgentsPopulations.run(), AgentsPopulations#AgentsPopulations(int, double, double, int, int, int, int, String, int, double, File), XCSConstants, XCSConstantsManager