Class SimulationResult<S extends AbstractProtocol & GameProtocol,T extends Agent,R extends MultiAgentSystem<T>>  
java.lang.Object
org.tweetyproject.agents.sim.SimulationResult<S,T,R>  
- Type Parameters:
 S- The actual type of protocols.T- The actual type of agents.R- The actual type of the multi-agent system.
public class SimulationResult<S extends AbstractProtocol & GameProtocol,T extends Agent,R extends MultiAgentSystem<T>>  
extends Object
Instances of this class summarize information
 on a performed simulation.
- Author:
 - Matthias Thimm
 
- 
Constructor Summary
ConstructorsConstructorDescriptionSimulationResult(List<AgentGenerator<T, R>> agentGenerators) Creates a new SimulationResult for the given set of agent generators. - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntry(AgentGenerator<T, R> winner, Map<AgentGenerator<T, R>, Double> utilities) Adds a new entry of a simulation run.Returns a CSV representation of the result.display()Gives a pretty print of the results. 
- 
Constructor Details
- 
SimulationResult
Creates a new SimulationResult for the given set of agent generators.- Parameters:
 agentGenerators- a set of agent generators.
 
 - 
 - 
Method Details
- 
addEntry
Adds a new entry of a simulation run.- Parameters:
 winner- the winner of the run.utilities- the utilities of each agent.
 - 
display
Gives a pretty print of the results.- Returns:
 - a pretty print of the results.
 
 - 
csvDisplay
Returns a CSV representation of the result.- Returns:
 - a CSV representation of the result.
 
 
 -