Class TraceSimulator

java.lang.Object
  extended by TraceSimulator

public class TraceSimulator
extends java.lang.Object

The TraceSimulator class, when given a trace file and TM algorithm, simulates the trace in that environment and outputs a statistical file.


Nested Class Summary
private static class TraceSimulator.TSYS
          The TSYS enumeration lists the implemented TM algorithms.
 
Field Summary
private static java.lang.String FILE_NAME
          The path/filename of the input trace file.
private static SimulatorMalicious.MAL_STRATEGY STRATEGY
          Malicious strategy being applied during this simulation
private static TrustAlg TALG
          Instance of a trust algorithm managing a simulation.
private static TraceSimulator.TSYS TSYSTEM
          Label describing the algorithm managing a simulation.
 
Constructor Summary
TraceSimulator()
           
 
Method Summary
static void main(java.lang.String[] args)
          The main driver method.
private static void parse_arguments(java.lang.String[] args)
          Parse the command-line arguments provided to the main() method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_NAME

private static java.lang.String FILE_NAME
The path/filename of the input trace file.


TALG

private static TrustAlg TALG
Instance of a trust algorithm managing a simulation.


TSYSTEM

private static TraceSimulator.TSYS TSYSTEM
Label describing the algorithm managing a simulation.


STRATEGY

private static SimulatorMalicious.MAL_STRATEGY STRATEGY
Malicious strategy being applied during this simulation

Constructor Detail

TraceSimulator

public TraceSimulator()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
The main driver method.

Parameters:
args - See the README document for usage information
Throws:
java.io.IOException

parse_arguments

private static void parse_arguments(java.lang.String[] args)
Parse the command-line arguments provided to the main() method.

Parameters:
args - See the enclosed README document for usage information