jcreek.cli
Class CreekJatha

java.lang.Object
  extended byJatha
      extended byjcreek.cli.CreekJatha

public class CreekJatha
extends Jatha

Extends a Jatha LISP machine with primitives to access the jcreek.representation package. This serves as a Command Line interface to the Creek representation. These primitives are added: (creek-entity ') ==> ( ) (creek-relation ') ==> ( ) (creek-relations ') ==> ( )* (creek-explain ') ==> (((( )*) )*) (creek-entities) ==> (*) (creek-entity-object ') ==> (creek-add-entity ' ') ==> T/nil (creek-add-relation ' ' ') ==> T/nil (creek-set-relation-strength' ) ==> T/nil (creek-set-entity-name ' T/nil (creek-set-entity-description ' ) ==> T/nil (creek-set-entity-object ' ) ==> T/nil (creek-remove-entity ') ==> T/nil (creek-remove-relation '( [strength] [isInherited])) ==> T/nil (creek-load '<.KM file>) ==> T/nil (creek-save '<.KM file>) ==> T/nil NOT IMPLEMENTED YET: (creek-register-model-listener ( ( )) ==> NOT IMPLEMENTED YET: (creek-deregister-model-listener ) ==> T

Version:
1.0
Author:
Frode Sørmo
See Also:
Serialized Form

Constructor Summary
CreekJatha(KnowledgeModel km)
           
 
Method Summary
 KnowledgeModel getKnowledgeModel()
           
 void init()
           
static void main(java.lang.String[] argv)
           
 LispValue makeRelation(Relation rel)
           
 Relation relationToJava(LispValue arg)
           
 void setKnowledgeModel(KnowledgeModel km)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreekJatha

public CreekJatha(KnowledgeModel km)
Method Detail

setKnowledgeModel

public void setKnowledgeModel(KnowledgeModel km)

getKnowledgeModel

public KnowledgeModel getKnowledgeModel()

init

public void init()

main

public static void main(java.lang.String[] argv)

makeRelation

public LispValue makeRelation(Relation rel)

relationToJava

public Relation relationToJava(LispValue arg)


Created at IDI, NTNU by the Artificial Intelligence and Learning group