|
Algernon Software | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of AlgernonDataException in org.algernon |
Methods in org.algernon that throw AlgernonDataException | |
void |
Algernon.addToActionQueue(Processor processor,
LispValue item)
Adds an activation to the action queue. |
AlgernonRelation |
Algernon.createRelation(AlgernonKB kb,
String slotName,
Set domains,
Set ranges,
Integer minCardinality,
Integer maxCardinality,
Object defaultValue,
AlgernonRelation inverseRelation)
Creates a new relation in the given KB. |
boolean |
Algernon.isFrame(String frameName)
Returns true if the given string is the name of a frame in any KB. |
boolean |
Algernon.isFrame(String frameName,
AlgernonKB kb)
Returns true if the given string is the name of a frame in the given KB. |
boolean |
Algernon.isFrame(String frameName,
AlgernonKBSet kbset)
Returns true if the given string is the name of a frame in any KB in the given AlgernonKBSet. |
boolean |
Algernon.isNameRelation(String relationName)
Returns true if the given string is the name of the relation/attribute linking a frame to its name in any KB. |
boolean |
Algernon.isNameRelation(String relationName,
AlgernonKBSet kbset)
Returns true if the given string is the name of the relation/slot linking a frame to its name in any KB in the given AlgernonKBSet. |
boolean |
Algernon.isRelation(String frameName)
Returns true if the given string is the name of a relation in any KB. |
boolean |
Algernon.isRelation(String relationName,
AlgernonKB kb)
Returns true if the given string is the name of a relation in the given KB. |
boolean |
Algernon.isRelation(String relationName,
AlgernonKBSet kbset)
Returns true if the given string is the name of a frame in any KB in the given AlgernonKBSet. |
boolean |
Algernon.generalIsa(String child,
String parent)
Returns true if the first argument is an instance or subclass of the second argument. |
boolean |
Algernon.generalIsa(String child,
String parent,
AlgernonKB kb)
Returns true if the first argument is an instance or subclass of the second argument. |
boolean |
Algernon.generalIsa(String child,
String parent,
AlgernonKBSet kbset)
Returns true if the first argument is an instance or subclass of the second argument. |
boolean |
Algernon.generalNotIsa(String child,
String parent)
Returns true if the first argument is not an instance or subclass of the second argument. |
boolean |
Algernon.generalNotIsa(String child,
String parent,
AlgernonKBSet kbset)
Returns true if the first argument is not an instance or subclass of the second argument. |
AlgernonClass |
Algernon.lookupClass(String name)
Returns a class with the given name if it can find one in any of the KBs in the default KBSet. |
AlgernonClass |
Algernon.lookupClass(String name,
AlgernonKB kb)
Returns a class with the given name if it can find one in the given KB. |
AlgernonClass |
Algernon.lookupClass(String name,
AlgernonKBSet kbset)
Returns a class with the given name if it can find one in any of the KBs in the given KBSet. |
AlgernonFrame |
Algernon.lookupFrame(String name)
Returns a frame with the given name if it can find one in any of the KBs in the default KBSet. |
AlgernonFrame |
Algernon.lookupFrame(String name,
AlgernonKB kb)
Returns a frame with the given name if it can find one in the given KB. |
AlgernonFrame |
Algernon.lookupFrame(String name,
AlgernonKBSet kbset)
Returns a class with the given name if it can find one in any of the KBs in the given KBSet. |
AlgernonRelation |
Algernon.lookupRelation(String name)
Returns a relation with the given name if it can find one in any of the KBs in the default KBSet. |
AlgernonRelation |
Algernon.lookupRelation(String name,
AlgernonKB kb)
Returns a relation with the given name if it can find one in the given KB. |
AlgernonRelation |
Algernon.lookupRelation(String name,
AlgernonKBSet kbset)
Returns a relation with the given name if it can find one in any of the KBs in the given KBSet. |
void |
Algernon.loadRulesFromKB(Collection rules)
Loads rules that have been stored in a KB. |
AlgernonKB |
Algernon.createKB(Clause clause)
Called by the USE-KB opcode to create a new KB. |
Uses of AlgernonDataException in org.algernon.aam |
Methods in org.algernon.aam that throw AlgernonDataException | |
void |
Processor.activateClosures(Clause clause,
AlgernonKBSet kbSet,
int direction)
Activates rule closures from assertions or queries. |
AlgernonRelation |
Processor.createRelation(AlgernonKB kb,
String slotName,
Set domains,
Set ranges,
Integer minCardinality,
Integer maxCardinality,
Object defaultValue,
AlgernonRelation inverseRelation)
Creates a new relation in the given KB. |
LispValue |
Processor.setRegisterValue(LispValue registerName,
LispValue newValue)
Sets the value of the given register. |
AlgernonClass |
Opcode.argumentToClass(AlgernonKB kb,
LispValue classVal)
Utility method to convert an argument to an AlgernonClass. |
AlgernonInstance |
Opcode.argumentToInstance(AlgernonKB kb,
AlgernonClass aClass,
LispValue instanceVal)
Utility method to convert an argument to an AlgernonInstance. |
AlgernonInstance |
Opcode.argumentToInstance(AlgernonKB kb,
LispValue instanceVal)
Utility method to convert an argument to an AlgernonInstance. |
AlgernonFacet |
Opcode.argumentToFacet(AlgernonKB kb,
LispValue facetVal)
Utility method to convert an argument to an AlgernonFacet. |
AlgernonRelation |
Opcode.argumentToRelation(AlgernonKB kb,
LispValue relationVal)
Utility method to convert an argument to an AlgernonClass. |
AlgernonFrame |
Opcode.argumentToFrame(AlgernonKB kb,
LispValue frameVal)
Utility method to convert an argument to an AlgernonFrame. |
AlgernonClass |
Opcode.argumentToClass(AlgernonKBSet kbSet,
LispValue classVal)
Utility method to convert an argument to an AlgernonClass. |
AlgernonInstance |
Opcode.argumentToInstance(AlgernonKBSet kb,
LispValue instanceVal)
Utility method to convert an argument to an AlgernonInstance. |
AlgernonFacet |
Opcode.argumentToFacet(AlgernonKBSet kb,
LispValue facetVal)
Utility method to convert an argument to an AlgernonFacet. |
AlgernonRelation |
Opcode.argumentToRelation(AlgernonKBSet kb,
LispValue relationVal)
Utility method to convert an argument to an AlgernonClass. |
AlgernonFrame |
Opcode.argumentToFrame(AlgernonKBSet kb,
LispValue frameVal)
Utility method to convert an argument to an AlgernonFrame. |
Uses of AlgernonDataException in org.algernon.aam.compile |
Methods in org.algernon.aam.compile that throw AlgernonDataException | |
protected void |
AlgernonCompiler.validateArgumentTypes(Clause clause,
AlgernonKBSet kbSet,
Map argumentTypes,
AlgernonCompilerState compileState,
ErrorSet compileErrors)
validates that arguments are of the correct type. |
protected void |
AlgernonCompiler.validateSpecialFormArgumentTypes(Clause form,
AlgernonKBSet kbSet,
Map argumentTypes,
AlgernonCompilerState compileState,
ErrorSet compileErrors)
Validates argument types for macros like :THE, :A and :FORC, which have different forms of arguments. |
protected void |
AlgernonCompiler.validateMacroArgumentTypes(Clause form,
AlgernonKBSet kbSet,
Map argumentTypes,
AlgernonCompilerState compileState,
ErrorSet compileErrors)
Validates argument types for macros like :INSTANCE, :CLASS, and so on. |
protected boolean |
AlgernonCompiler.typeEQ(AlgernonKBSet kbSet,
LispValue argument,
Set type,
Map argumentTypes,
Clause form,
AlgernonCompilerState compileState,
ErrorSet compileErrors)
Checks for equality and stores the type, if not previously known. |
boolean |
AlgernonCompiler.typesIntersect(AlgernonKBSet kbSet,
Set types1,
Set types2)
Returns true if the two Sets of types intersect. |
boolean |
AlgernonCompiler.typeSubsumedBy(AlgernonKBSet kbSet,
LispValue singleType,
Set types)
Returns true if one frame type is a subclass or equal to any of a set of frame types. |
protected boolean |
AlgernonCompiler.constantTypeEQ(AlgernonKBSet kbSet,
LispValue argument,
Set type,
Clause form,
AlgernonCompilerState compileState,
ErrorSet compileErrors)
|
protected Path |
AlgernonCompiler.preprocessTaxonomy(AlgernonKBSet kbSet,
LispValue form)
preprocesses the :TAXONOMY form to turn it into a set of :THE-CLASS and :THE-INSTANCE commands. |
protected Path |
AlgernonCompiler.makeTaxonomyCommands(AlgernonKBSet kbSet,
LispValue pseudoTax,
BindingList bindings)
Converts pseudo-taxonomy commands into real taxonomy commands. |
protected Collection |
AlgernonCompiler.generateVariableSets(Clause clause)
When a backward chaining rule is activated, some number of variables in the key will be bound. |
void |
AlgernonCompiler.initializeArgumentTypes(AlgernonKBSet kbSet,
Map typeList,
Path path,
AlgernonCompilerState compileState,
ErrorSet errors,
boolean clear)
The compiler type-checks each clause. |
Uses of AlgernonDataException in org.algernon.aam.opcode |
Methods in org.algernon.aam.opcode that throw AlgernonDataException | |
void |
UseKB.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the UseKB opcode. |
void |
Trace.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the Trace opcode. |
void |
TestTrue.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the TEST opcode. |
void |
TemplateRelation.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the TEMPLATE-RELATION opcode. |
void |
SubstituteBindings1.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the SUBSTITUTE1 opcode. |
void |
SubstituteBindings.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the SUBSTITUTE opcode. |
void |
Subroutine.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the SUBROUTINE opcode. |
void |
ShowCode.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the SHOW-CODE opcode. |
void |
Show.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the SHOW opcode. |
void |
NotEqual.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the NotEqual opcode. |
void |
Limit.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the Limit opcode. |
void |
LeastCommonSuperclass.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the LeastCommonSuperclass opcode. |
void |
IsRelation.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the IsRelation opcode. |
void |
IsInstance.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the IsInstance opcode. |
void |
IsFrame.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the IsFrame opcode. |
void |
IsFacet.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the IsFacet opcode. |
void |
IsClass.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the IsClass opcode. |
void |
Instance.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the INSTANCE opcode. |
void |
For.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the For opcode. |
void |
Fire.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the FIRE opcode. |
void |
Eval.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the :EVAL opcode. |
void |
DirectSuperclass.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the DirectInstance opcode. |
void |
DirectSubclass.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the DirectInstance opcode. |
void |
DirectInstance.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the DirectInstance opcode. |
void |
DirectClass.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the DirectClass opcode. |
void |
DeleteClause.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the DeleteClause opcode. |
void |
Date.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the Date opcode. |
void |
Count.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the Count opcode. |
void |
Continuation.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the CONTINUATION opcode. |
void |
ConjunctiveClear.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the ConjunctiveClear opcode. |
void |
ConjunctiveBranch.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the ConjunctiveBranch opcode. |
void |
ClearRelation.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the ClearRelation opcode. |
void |
Clause.execute(Processor processor,
AlgernonKBSet kbSet)
Sets the CLAUSE register to the given value. |
void |
ClassOp.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the CLASS opcode. |
void |
BranchByUser.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the BranchByUser opcode. |
void |
Bind.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the BIND opcode. |
void |
Assert.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the ASSERT opcode, which stores a clause in the KB. |
void |
ActivateFCRules.execute(Processor processor,
AlgernonKBSet kbSet)
Executes the Activate FC opcode. |
Uses of AlgernonDataException in org.algernon.aam.register |
Methods in org.algernon.aam.register that throw AlgernonDataException | |
LispValue |
RegisterSet.setRegisterValue(LispValue registerName,
LispValue newValue)
Sets the value of the given register. |
LispValue |
Register.setValue(LispValue newValue)
Sets the value of the given register. |
LispValue |
GeneralRegister.setValue(LispValue newValue)
Sets the value of the given register. |
LispValue |
BindingsRegister.setValue(LispValue newValue)
Sets the value of the given register. |
Uses of AlgernonDataException in org.algernon.datatype |
Methods in org.algernon.datatype that throw AlgernonDataException | |
Clause |
Path.firstClause()
Returns the first clause in the path. |
Path |
Path.tail()
Returns a path containing all of the clauses in the given path after the first. |
BindingList |
Path.getVariableArguments()
Returns a BindingList of the arguments in the path that are variables. |
Clause |
Clause.negateClause()
Returns a negated form of the clause. |
BindingList |
Clause.getVariableArguments()
Returns a BindingList of the arguments in the clause that are variables. |
Constructors in org.algernon.datatype that throw AlgernonDataException | |
Path(Algernon algy,
String pathString)
Creates a new Path. |
|
Path(Algernon algy,
LispValue value)
Creates a new Path. |
|
Clause(Algernon algy,
LispValue clause)
Creates a new clause. |
Uses of AlgernonDataException in org.algernon.kb |
Methods in org.algernon.kb that throw AlgernonDataException | |
List |
AlgernonRelation.getArgumentTypes()
Returns a list of the argument types for this relation. |
void |
AlgernonRelation.setDefaultValue(Object defaultValue)
Sets the default value of a template slot. |
LispValue |
AlgernonKBSet.verify(Clause clause)
Verifies against all of the KBs in the KBSet. |
LispValue |
AlgernonKBSet.store(Clause clause)
Stores the clause in the first KB that accepts it. |
boolean |
AlgernonKBSet.isFrame(String frameName)
Returns true if the given string is the name of a frame in any KB of this AlgernonKBSet. |
boolean |
AlgernonKBSet.isRelation(String relationName)
Returns true if the given string is the name of a relation in any KB in the given AlgernonKBSet. |
boolean |
AlgernonKBSet.isNameRelation(String relationName)
Returns true if the given string is the name of the name relation (or attribute) in any KB of this AlgernonKBSet. |
boolean |
AlgernonKBSet.generalIsa(String child,
String parent)
Returns true if the first argument is an instance or subclass of the second argument. |
boolean |
AlgernonKBSet.generalNotIsa(String child,
String parent)
Returns true if the first argument is not an instance or subclass of the second argument. |
AlgernonClass |
AlgernonKBSet.lookupClass(String name)
Returns a class with the given name if it can find one in any of the KBs in this KBSet. |
AlgernonFrame |
AlgernonKBSet.lookupFrame(String name)
Returns a frame with the given name if it can find one in any of the KBs in this KBSet. |
AlgernonFacet |
AlgernonKBSet.lookupFacet(String name)
Returns a facet with the given name if it can find one in any of the KBs in this KBSet. |
AlgernonRelation |
AlgernonKBSet.lookupRelation(String name)
Returns a relation with the given name if it can find one in the given KB. |
AlgernonRelation |
AlgernonKBSet.lookupRelation(String name,
Set classes)
Returns a relation with the given name if it can find one in the given KB. |
AlgernonInstance |
AlgernonKBSet.lookupInstance(String name)
|
boolean |
AlgernonKBSet.containsClause(Clause queryClause)
Returns true if the KBSet contains the given clause. |
boolean |
AlgernonKBSet.containsClause(Clause queryClause,
int state)
Returns true if the KBSet contains the given clause. |
LispValue |
AlgernonKB.query(Clause clause,
AlgernonFacet facet)
See the simpler form with one argument. |
LispValue |
AlgernonKB.verify(Clause clause)
Verifies that the clause is in the KB. |
LispValue |
AlgernonKB.store(Clause clause)
stores the given clause into the storage. |
LispValue |
AlgernonKB.store(Clause clause,
AlgernonFacet facet)
stores the given clause into the storage. |
AlgernonRelation |
AlgernonKB.getDisplayNameRelation()
Get the actual DisplayName slot. |
AlgernonRelation |
AlgernonKB.createRelation(String relationName,
Set domains,
Set ranges,
Integer minCardinality,
Integer maxCardinality,
Object defaultValue,
AlgernonRelation inverseRelation)
Creates a new relation in the storage. |
void |
AlgernonKB.deleteClass(AlgernonClass frame)
Deletes a class and all of its relations from storage. |
void |
AlgernonKB.deleteFacet(AlgernonFacet frame)
Deletes a frame and all of its relations from storage. |
void |
AlgernonKB.deleteFrame(AlgernonFrame frame)
Deletes a frame and all of its relations from storage. |
void |
AlgernonKB.deleteInstance(AlgernonInstance frame)
Deletes a frame and all of its relations from storage. |
void |
AlgernonKB.deleteRelation(AlgernonRelation frame)
Deletes a frame and all of its relations from storage. |
boolean |
AlgernonKB.isClass(String frameName)
Returns true if the String is the name of a frame that is a class in the KB. |
boolean |
AlgernonKB.isFacet(String frameName)
Returns true if the String is the name of a frame in the KB. |
boolean |
AlgernonKB.isFrame(String frameName)
Returns true if the String is the name of a frame in the KB. |
boolean |
AlgernonKB.isInstance(String frameName)
Returns true if the String is the name of a frame that is an instance in the KB. |
boolean |
AlgernonKB.isRelation(String frameName)
Returns true if the String is the name of a frame that is a relation in the KB. |
AlgernonClass |
AlgernonKB.lookupClass(String name)
Returns a class with the given name, if any. |
AlgernonFacet |
AlgernonKB.lookupFacet(String name)
Returns a facet with the given name, if any. |
AlgernonFrame |
AlgernonKB.lookupFrame(String name)
Returns a frame with the given name, if any. |
AlgernonInstance |
AlgernonKB.lookupInstance(String name)
Returns an instance with the given name, if any. |
AlgernonRelation |
AlgernonKB.lookupRelation(String name)
Returns a relation with the given name, if any. |
AlgernonRelation |
AlgernonKB.lookupRelation(String name,
Set classes)
Returns a relation with the given name, if any. |
boolean |
AlgernonKB.generalIsa(String child,
String parent)
Returns true if the first argument is an instance or subclass of the second argument in this KB. |
boolean |
AlgernonKB.containsClause(Clause queryClause,
int state)
State is |
AlgernonRelation |
AlgernonKB.createRelation(String relationName,
LispValue domain,
LispValue range,
Integer minCardinality,
Integer maxCardinality,
Object defaultValue,
AlgernonRelation inverseRelation)
Helper method that creates a set around single domain and range to pass into the actual createRelation method. |
AlgernonFrame |
AlgernonKB.getFrame(String name)
Returns a frame with the given name, if any exists. |
AlgernonInstance |
AlgernonKB.lookupInstance(String javaClassName,
String name)
Returns a frame with the given name if it can find one in this KB. |
AlgernonInstance |
AlgernonKB.lookupInstance(String javaClassName,
String name,
String field)
Returns a frame with the given name if it can find one in this KB. |
String |
AlgernonFrame.getDisplayName()
Returns the display name of this Frame, or the name if the display name relation is not defined. |
Collection |
AlgernonFrame.getPossibleRelationValues(AlgernonRelation relation)
Returns the list of existing instances that could fill the given relation on this frame. |
Collection |
AlgernonFrame.getRelationValues(AlgernonRelation relation)
Returns the relation values. |
void |
AlgernonFrame.setDisplayName(String newName)
Sets this frame's display name (that is, a pretty name) to the given string. |
AlgernonInstance |
AlgernonClass.createInstance(String name,
String displayName)
Creates an instance with the given name and stores the "pretty" name in the display name slot. |
List |
AlgernonClass.getRelationArgumentTypes(AlgernonRelation relation)
Gets the argument types of a relation as defined for that class. |
Uses of AlgernonDataException in org.algernon.kb.okbc.protege |
Methods in org.algernon.kb.okbc.protege that throw AlgernonDataException | |
static AlgernonValueType |
AlgernonProtegeValueType.valueOf(String s)
|
void |
AlgernonProtegeRelation.setDefaultValue(Object defaultValue)
Sets the default value of a template slot. |
List |
AlgernonProtegeRelation.getArgumentTypes()
Returns a list of the argument types for this relation. |
protected List |
AlgernonProtegeRelation.processDomainAndRange(Collection domains,
ValueType valueType,
Collection specificType)
Helper function to turn a set of Domains and a Range into the form needed by the AlgernonCompiler. |
LispValue |
AlgernonProtegeKB.query(Clause clause,
AlgernonFacet facet)
See the simpler form getValues. |
LispValue |
AlgernonProtegeKB.verify(Clause clause)
Verifies that the clause is in the KB. |
LispValue |
AlgernonProtegeKB.store(Clause clause)
Asserts the given clause into the storage. |
LispValue |
AlgernonProtegeKB.store(Clause clause,
AlgernonFacet facet)
Asserts the given clause into the storage. |
AlgernonRelation |
AlgernonProtegeKB.createRelation(String relationName,
LispValue domain,
LispValue range,
Integer minCardinality,
Integer maxCardinality,
Object defaultValue,
AlgernonRelation inverseRelation)
Helper method that creates a set around single domain and range to pass into the actual createRelation method. |
AlgernonRelation |
AlgernonProtegeKB.createRelation(String relationName,
Set domains,
Set ranges,
Integer minCardinality,
Integer maxCardinality,
Object defaultValue,
AlgernonRelation inverseRelation)
Creates a new relation in this KB. |
boolean |
AlgernonProtegeKB.isClass(String frameName)
Returns the Class if the String is the name of a frame that is a class in the KB. |
boolean |
AlgernonProtegeKB.isFacet(String frameName)
Returns true if the String is the name of a frame that is a facet in the KB. |
boolean |
AlgernonProtegeKB.isInstance(String frameName)
Returns the Instance if the String is the name of a frame that is an instance in the KB. |
boolean |
AlgernonProtegeKB.isFrame(String frameName)
Returns the Frame if the String is the name of a frame in the KB. |
boolean |
AlgernonProtegeKB.isRelation(String frameName)
Returns the Relation if the String is the name of a frame that is a relation in the KB. |
boolean |
AlgernonProtegeKB.generalIsa(String child,
String parent)
Returns true if the first argument is an instance or subclass of the second argument in this KB. |
AlgernonClass |
AlgernonProtegeKB.lookupClass(String name)
Returns a class with the given name if it can find one in this KB. |
AlgernonFacet |
AlgernonProtegeKB.lookupFacet(String name)
Returns a frame with the given name if it can find one in this KB. |
AlgernonFrame |
AlgernonProtegeKB.lookupFrame(String name)
Returns a frame with the given name if it can find one in this KB. |
AlgernonInstance |
AlgernonProtegeKB.lookupInstance(String name)
Returns a frame with the given name if it can find one in this KB. |
AlgernonInstance |
AlgernonProtegeKB.lookupInstance(String javaClassName,
String name)
Returns a frame with the given name if it can find one in this KB. |
AlgernonInstance |
AlgernonProtegeKB.lookupInstance(String javaClassName,
String name,
String field)
Returns a frame with the given name if it can find one in this KB. |
AlgernonRelation |
AlgernonProtegeKB.lookupRelation(String name)
Returns a relation with the given name if it can find one in this KB. |
AlgernonRelation |
AlgernonProtegeKB.lookupRelation(String name,
Set classes)
|
AlgernonFrame |
AlgernonProtegeKB.getFrame(String name)
Returns a frame with the given name, if any exists. |
AlgernonRelation |
AlgernonProtegeKB.getDisplayNameRelation()
Get the actual DisplayName slot. |
boolean |
AlgernonProtegeKB.containsClause(Clause clause,
int state)
State is Algernon.NEGATED or something else. |
Collection |
AlgernonProtegeFrame.getPossibleRelationValues(AlgernonRelation relation)
Returns the list of existing instances that could fill the given relation on this frame. |
AlgernonInstance |
AlgernonProtegeClass.createInstance(String name,
String displayName)
Creates an instance with the given name and stores the "pretty" name in the display name slot. |
List |
AlgernonProtegeClass.getRelationArgumentTypes(AlgernonRelation relation)
Gets the argument types of a relation as defined for that class. |
Constructors in org.algernon.kb.okbc.protege that throw AlgernonDataException | |
AlgernonProtegeRelation(AlgernonProtegeKB kb,
String name,
Object range,
Integer minCardinality,
Integer maxCardinality,
Object defaultValue,
AlgernonRelation inverseRelation)
|
Uses of AlgernonDataException in org.algernon.rule |
Constructors in org.algernon.rule that throw AlgernonDataException | |
Rule(Algernon algy,
LispValue ruleForm,
int type,
Rule root)
Create a new Algernon Rule |
|
Rule(Algernon algy,
String name,
LispValue ruleForm,
int type,
Rule root)
Create a new Algernon Rule |
|
Algernon Software | ||||||||||
PREV NEXT | FRAMES NO FRAMES |