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 doubleattackProbabilitystatic booleanenforceTreeShapestatic intframeworkSizestatic intnumberOfRunsEachstatic longRANDOM_SEED1static longRANDOM_SEED2static longRANDOM_SEED3static longRANDOM_SEED4static inttimeout
-
Constructor Summary
Constructors Constructor Description GroundedTest()
-
Method Summary
Modifier and Type Method Description static voidmain(java.lang.String[] args)static voidrunSimulationT1()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 voidrunSimulationT2()Same as runSimulationT1()static voidrunSimulationT3()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 ProtocolTerminatedExceptionThis 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 ProtocolTerminatedExceptionSame as runSimulationT1()- Throws:
ProtocolTerminatedException- if the protocol already terminated
-
runSimulationT3
public static void runSimulationT3() throws ProtocolTerminatedExceptionSame as runSimulationT1()- Throws:
ProtocolTerminatedException- if the protocol already terminated
-
main
public static void main(java.lang.String[] args) throws ProtocolTerminatedException- Throws:
ProtocolTerminatedException
-
-