|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcreek.examples.CreekExampleOld
This class in an example on how to use jCreek through the Java API. It first demonstrates creating a new KnowledgeModel using the jcreek.representation package. Then it demonstrates, on this model, using a the jcreek.reasoning engine to use Case-Based Reasoning on a sample problem case. Last, it shows off some standard GUI elements of the jcreek.gui packages. The implementation is very heavily commented and may be read as a tutorial to jCreek.
Method Summary | |
static void |
displayModel(KnowledgeModel km,
boolean nogui)
Takes an already created model and displays the cases and entities of the model in different ways. |
static KnowledgeModel |
generateModel()
Generates a new KnowledgeModel for a simple car-start problem domain. |
static KnowledgeModel |
loadModel(java.lang.String filename)
Example of loading a KnowledgeModel from disk. |
static void |
main(java.lang.String[] argv)
|
static void |
saveModel(KnowledgeModel model,
java.lang.String filename)
Exampel of saving the given model to disk. |
static void |
solveCBR(KnowledgeModel km,
boolean nogui)
Example of the jCreek CBR mechanism (jcreek.reasoning) and some GUI elements displaying the process. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void main(java.lang.String[] argv)
public static KnowledgeModel generateModel()
public static void displayModel(KnowledgeModel km, boolean nogui)
public static void saveModel(KnowledgeModel model, java.lang.String filename)
public static KnowledgeModel loadModel(java.lang.String filename)
public static void solveCBR(KnowledgeModel km, boolean nogui)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |