be.ac.ua.broker.allocation.spot.model
Class Simulator

java.lang.Object
  extended by be.ac.ua.broker.allocation.spot.model.Simulator

public class Simulator
extends java.lang.Object

The Simulator class performs the actual simulations by first creating all the needed data structures, then performing the simulation and finally writing the results to file.

Author:
Vermeersch Kurt (Based on Sangho Yi c++ implementation of the spot model)

Constructor Summary
Simulator()
           
 
Method Summary
 void simulate(java.lang.String fileName, java.lang.String instance, int time_appexec)
          Perform an actual simulation: by first of all creating the needed datastructures, then performing the simulation and finally writing the results to file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Simulator

public Simulator()
Method Detail

simulate

public void simulate(java.lang.String fileName,
                     java.lang.String instance,
                     int time_appexec)
Perform an actual simulation: by first of all creating the needed datastructures, then performing the simulation and finally writing the results to file.

Parameters:
fileName - the name of the output file to use
time_appexec - the lenth of the simulation