|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jeops.examples.monkeys.TestMonkeys
Class used to test the monkey and bananas implementation.
Field Summary | |
(package private) static jeops.examples.monkeys.MonkeysBase |
mb
The knowledge base. |
Fields inherited from interface jeops.examples.monkeys.Constants |
ACTIVE,
AT,
CEILING,
FLOOR,
HEAVY,
HOLD,
LIGHT,
ON,
SATISFIED |
Constructor Summary | |
TestMonkeys()
|
Method Summary | |
private static void |
general()
Generates the general instance of the problem. |
private static void |
generalOnLadder()
Generates a general instance of the problem, where the monkey is on a ladder. |
private static void |
generalOnLadder2()
Generates a second general instance of the problem, where the monkey is on a ladder. |
private static void |
generalOnLadderImpossible()
Generates an impossible goal. |
static void |
main(java.lang.String[] args)
Tests the application. |
private static void |
testAtMonkey()
Instance of the problem used to test rule "atMonkey" |
private static void |
testAtMonkeyObject()
Instance of the problem used to test rule "atMonkeyObject" |
private static void |
testAtObject()
Instance of the problem used to test rule "atObject" |
private static void |
testHoldsNil()
Instance of the problem used to test rule "holdsNil" |
private static void |
testHoldsObjectCeiling()
Instance of the problem used to test rule "holdsObjectCeiling" |
private static void |
testHoldsObjectCeiling2()
Second instance of the problem used to test rule "holdsObjectCeiling" |
private static void |
testHoldsObjectCeilingAtObj()
Instance of the problem used to test rule "holdsObjectCeilingAtObj" |
private static void |
testHoldsObjectNotCeilingOnLadder()
Instance of the problem used to test rule "holdsObjectNotCeilingOnLadder" |
private static void |
testOn()
Instance of the problem used to test an ON goal |
private static void |
testOnFloor()
Instance of the problem used to test rule "onFloor" |
private static void |
testOnFloorSatisfied()
Instance of the problem used to test rule "onFloorSatisfied" |
private static void |
testOnPhysicalObject()
Instance of the problem used to test rule "onPhysicalObject" |
private static void |
testOnPhysicalObjectAtMonkey()
Instance of the problem used to test rule "onPhysicalObjectAtMonkey" |
private static void |
testOnPhysicalObjectHold()
Instance of the problem used to test rule "onPhysicalObjectHold" |
private static void |
testOnPhysicalObjectSatisfied()
Instance of the problem used to test rule "onPhysicalObjectSatisfied" |
Methods inherited from class java.lang.Object |
|
Field Detail |
static jeops.examples.monkeys.MonkeysBase mb
Constructor Detail |
public TestMonkeys()
Method Detail |
private static void general()
private static void generalOnLadder()
private static void generalOnLadder2()
private static void generalOnLadderImpossible()
public static void main(java.lang.String[] args)
private static void testAtMonkey()
private static void testAtMonkeyObject()
private static void testAtObject()
private static void testHoldsNil()
private static void testHoldsObjectCeiling()
private static void testHoldsObjectCeiling2()
private static void testHoldsObjectCeilingAtObj()
private static void testHoldsObjectNotCeilingOnLadder()
private static void testOn()
private static void testOnFloor()
private static void testOnFloorSatisfied()
private static void testOnPhysicalObject()
private static void testOnPhysicalObjectAtMonkey()
private static void testOnPhysicalObjectHold()
private static void testOnPhysicalObjectSatisfied()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |