Class GroundedTest
- java.lang.Object
-
- net.sf.tweety.agents.dialogues.examples.GroundedTest
-
public class GroundedTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static double
attackProbability
static boolean
enforceTreeShape
static int
frameworkSize
static int
numberOfRunsEach
static long
RANDOM_SEED1
static long
RANDOM_SEED2
static long
RANDOM_SEED3
static long
RANDOM_SEED4
static int
timeout
-
Constructor Summary
Constructors Constructor Description GroundedTest()
-
Method Summary
Modifier and Type Method Description static void
main(java.lang.String[] args)
static void
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.static void
runSimulationT2()
Same as runSimulationT1()static void
runSimulationT3()
Same as runSimulationT1()
-
-
-
Field Detail
-
frameworkSize
public static int frameworkSize
-
attackProbability
public static double attackProbability
-
enforceTreeShape
public static boolean enforceTreeShape
-
timeout
public static int timeout
-
numberOfRunsEach
public static int numberOfRunsEach
-
RANDOM_SEED1
public static long RANDOM_SEED1
-
RANDOM_SEED2
public static long RANDOM_SEED2
-
RANDOM_SEED3
public static long RANDOM_SEED3
-
RANDOM_SEED4
public static long RANDOM_SEED4
-
-
Method Detail
-
runSimulationT1
public static void runSimulationT1() throws ProtocolTerminatedException
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
public static void runSimulationT2() throws ProtocolTerminatedException
Same as runSimulationT1()- Throws:
ProtocolTerminatedException
- if the protocol already terminated
-
runSimulationT3
public static void runSimulationT3() throws ProtocolTerminatedException
Same as runSimulationT1()- Throws:
ProtocolTerminatedException
- if the protocol already terminated
-
main
public static void main(java.lang.String[] args) throws ProtocolTerminatedException
- Throws:
ProtocolTerminatedException
-
-