Class GroundedTest
java.lang.Object
org.tweetyproject.agents.dialogues.examples.GroundedTest
Shows how a simulation of a multi-agent system can be set up. It defines a
dialogue game between different agents with varying complexity of their
opponent models.
- Author:
- Matthias Thimm
-
Field Summary
Modifier and TypeFieldDescriptionstatic double
The probability of an attack between arguments in the framework (0.0 to 1.0).static boolean
Flag indicating whether the framework should enforce a tree-like structure.static int
The size of the argumentation framework in the simulation.static int
The number of simulation runs to be executed for each experiment.static long
Random seed for ensuring reproducibility in the first configuration.static long
Random seed for ensuring reproducibility in the second configuration.static long
Random seed for ensuring reproducibility in the third configuration.static long
Random seed for ensuring reproducibility in the fourth configuration.static int
The timeout for the simulation in seconds (default: six hours). -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Grounded test methodstatic void
This method shows that with increasing complexity of the T1-belief state of the CONTRA agent (and constant model of the PRO agent), the average utility of the CONTRA agent increases.static void
Same as runSimulationT1()static void
Same as runSimulationT1()
-
Field Details
-
frameworkSize
public static int frameworkSizeThe size of the argumentation framework in the simulation. -
attackProbability
public static double attackProbabilityThe probability of an attack between arguments in the framework (0.0 to 1.0). -
enforceTreeShape
public static boolean enforceTreeShapeFlag indicating whether the framework should enforce a tree-like structure. If true, the argumentation framework will be forced to have a tree shape. -
timeout
public static int timeoutThe timeout for the simulation in seconds (default: six hours). -
numberOfRunsEach
public static int numberOfRunsEachThe number of simulation runs to be executed for each experiment. -
RANDOM_SEED1
public static long RANDOM_SEED1Random seed for ensuring reproducibility in the first configuration. -
RANDOM_SEED2
public static long RANDOM_SEED2Random seed for ensuring reproducibility in the second configuration. -
RANDOM_SEED3
public static long RANDOM_SEED3Random seed for ensuring reproducibility in the third configuration. -
RANDOM_SEED4
public static long RANDOM_SEED4Random seed for ensuring reproducibility in the fourth configuration.
-
-
Constructor Details
-
GroundedTest
public GroundedTest()Default Constructor
-
-
Method Details
-
runSimulationT1
This method shows that with increasing complexity of the T1-belief state of the CONTRA agent (and constant model of the PRO agent), the average utility of the CONTRA agent increases. NOTE: the simulation might take a while.- Throws:
ProtocolTerminatedException
- if the protocol already terminated
-
runSimulationT2
Same as runSimulationT1()- Throws:
ProtocolTerminatedException
- if the protocol already terminated
-
runSimulationT3
Same as runSimulationT1()- Throws:
ProtocolTerminatedException
- if the protocol already terminated
-
main
Grounded test method- Parameters:
args
- the args- Throws:
ProtocolTerminatedException
- error
-