T - The actual type of agents.S - The actual type of protocols.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
| Constructor and Description |
|---|
SimulationResult(List<AgentGenerator<T,R>> agentGenerators)
Creates a new SimulationResult for the given set of agent generators.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(AgentGenerator<T,R> winner,
Map<AgentGenerator<T,R>,Double> utilities)
Adds a new entry of a simulation run.
|
String |
csvDisplay()
Returns a CSV representation of the result.
|
String |
display()
Gives a pretty print of the results.
|
public SimulationResult(List<AgentGenerator<T,R>> agentGenerators)
agentGenerators - a set of agent generators.public void addEntry(AgentGenerator<T,R> winner, Map<AgentGenerator<T,R>,Double> utilities)
winner - the winner of the run.utilities - the utilities of each agent.public String display()
public String csvDisplay()
Copyright © 2018. All rights reserved.