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
FieldsModifier and TypeFieldDescriptionstatic doubleThe probability of an attack between arguments in the framework (0.0 to 1.0).static booleanFlag indicating whether the framework should enforce a tree-like structure.static intThe size of the argumentation framework in the simulation.static intThe number of simulation runs to be executed for each experiment.static longRandom seed for ensuring reproducibility in the first configuration.static longRandom seed for ensuring reproducibility in the second configuration.static longRandom seed for ensuring reproducibility in the third configuration.static longRandom seed for ensuring reproducibility in the fourth configuration.static intThe timeout for the simulation in seconds (default: six hours). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidGrounded test methodstatic voidThis 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 voidSame as runSimulationT1()static voidSame 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
-