Package | Description |
---|---|
casa |
The casa package is the main package for CASA (Collaborative Agent System
Architecture), which is an infrastructure for agent based systems.
|
casa.abcl | |
casa.actions.rf3 | |
casa.actions.rk | |
casa.conversation2 | |
casa.event |
Contains classes that implement Events (see
Event ),
which are used to describe dependencies (including time expiry or time
intervals) among things like social commitments and deferred code. |
casa.exceptions |
Contains classes for exceptions specific to CASA.
|
casa.ontology | |
casa.ontology.owl2 | |
casa.ontology.v3 |
Modifier and Type | Method and Description |
---|---|
private String |
TransientAgent.loadFileResource(String fileNameOnly,
boolean reportFailure)
attempts to read fileNameOnly from the following places (in this
order):
the directory specified in the system property "casa.home"
the directory specified in the system property "user.home",
subdirectory "casa/dataFiles"
the current working directory
as a resource included in the casa distribution
|
void |
Test1.messages() |
protected boolean |
TransientAgent.perform_query_if(String item) |
Modifier and Type | Method and Description |
---|---|
void |
BoundSymbols.bindTo(String localSym,
String childName,
String childSym)
bind the childSym in the childName child to the local symbol, localSym
|
void |
BoundSymbols.bindValue(String sym,
Object fromVal,
Object toVal)
For the SYMBOL sym, bind the VALUE fromVal to be treated as being equivalent to the VALUE toVal.
|
Environment |
BoundSymbols.extendEnv(Environment env)
Return a new environment based on env with the symbols in vars bound.
|
Object |
BoundSymbols.get(String sym)
Return the value associated with symbol sym.
|
Map<String,LispObject> |
BoundSymbols.getMap()
Return symbol map compatible with
Lisp.abclEval(TransientAgent, Environment, Map, String, casa.ui.AgentUI) 's Map parameter that represents
the bindings for this BoundSymbols object. |
Modifier and Type | Method and Description |
---|---|
Status |
Action.execute(Object... theParameters)
Execute the action, but ONLY if the preconditions are satisfied.
|
Status |
AbstractAction.execute(Object... theParameters)
If
AbstractAction.isEnabled() returns true, then calls AbstractAction.run(Object...) with the parameters of this method. |
protected Status |
While.run(Object... theParameters) |
protected Status |
Conditional.run(Object... theParameters)
Finds the first pair in which the Condition is satisfied AND the preconditions of the Action
are satisfied, and calls
AbstractAction.execute(Object...) on that Action with this method's parameters,
returning the result. |
Status |
CompositeAction.run(Object... theParameters) |
protected abstract Status |
AbstractAction.run(Object... theParameters)
This is the actual action of the action.
|
void |
CompositeActionTest.testArrayList_WhenEmpty() |
void |
CompositeActionTest.testArrayListRunsAllSequentially() |
void |
CompositeActionTest.testChoiceOne_RunSeveralTimes() |
void |
CompositeActionTest.testChoiceOne_WhenEmpty() |
void |
CompositeActionTest.testChoiceOne() |
void |
CompositeActionTest.testChoiceOneOrMore_RunSeveralTimes() |
void |
CompositeActionTest.testChoiceOneOrMore_WhenEmpty() |
void |
CompositeActionTest.testChoiceOneOrMore() |
void |
CompositeActionTest.testChoiceZeroOrMore_RunSeveralTimes() |
void |
CompositeActionTest.testChoiceZeroOrMore_WhenEmpty() |
void |
CompositeActionTest.testChoiceZeroOrMore() |
void |
CompositeActionTest.testChoiceZeroOrOne_RunSeveralTimes() |
void |
CompositeActionTest.testChoiceZeroOrOne_WhenEmpty() |
void |
CompositeActionTest.testChoiceZeroOrOne() |
void |
CompositeActionTest.testCompositeWithComposite() |
void |
CompositeActionTest.testHashSet_WhenEmpty() |
void |
CompositeActionTest.testHashSetRunsAll() |
Modifier and Type | Method and Description |
---|---|
protected Object[] |
SimpleAction.bindParamValues(Object... values)
Computes the values of all parameters to this action taking into account the default values if
the specified values are missing (null) or the list of specified values is shorter than the list
of defined parameters.
|
Status |
Seq.execute(Object... paramValues) |
Status |
LispAction.execute(Object... args)
The lisp code that was passed as a constructor parameter is executed.
|
Status |
CompositeAction.execute(Object... paramValues)
Execute all or some subset of the actions in the order specified by the iterator.
|
abstract Status |
Action.execute(Object... paramValues)
Perform the action.
|
protected Object[] |
SimpleAction.setParamValues(Object... values)
Utility method to be used by subclasses to return a list of parameters that are guaranteed to
conform to the cardinality and type constraints of the parameter list.
|
Modifier and Type | Method and Description |
---|---|
void |
BoundSymbolObject.bindValue(String var,
String fromVal,
String toVal)
For the SYMBOL sym, bind the VALUE fromVal to be treated as being equivalent to the VALUE toVal.
|
void |
Conversation.bindVarTo(String sym,
String parentSym) |
void |
BoundSymbolObject.bindVarTo(String sym,
String parentSym)
Bind the value of sym to the parent's local
symbol sym.
|
void |
BoundSymbolObject.bindVarTo(String sym,
String childName,
String childSym)
Bind the value of childSym in child conversation childName to the local
symbol sym.
|
protected Environment |
BoundSymbolObject.extendEnv(Environment env) |
protected Map<String,LispObject> |
BoundSymbolObject.getMap() |
Object |
Conversation.getVar(String sym) |
Object |
BoundSymbolObject.getVar(String sym)
Resolve the value of symbols sym.
|
Conversation |
Conversation.instantiate(TransientAgent ownerAgent,
MessageEvent event,
Object overRideSuccessHandler,
Object overRideFailureHandler) |
private void |
Conversation.instantiateHelper(TransientAgent ownerAgent,
MessageEvent event,
Conversation template)
fix up all the children (that have already been cloned by
BoundSymbolObject.clone() )
evaluates symbols
sets the state to "init"
|
Constructor and Description |
---|
Conversation(String name,
TransientAgent ownerAgent,
MLMessage message,
Pair<String,Object>... bindings)
Constructor for a conversation instance.
|
SubscribeClientConversation(String name,
TransientAgent ownerAgent,
URLDescriptor to,
String expression,
String filter)
tells the server that we are interested in events represented by the lisp expression
|
Modifier and Type | Method and Description |
---|---|
void |
MessageEvent.setOwnerConversationID(String id) |
void |
Event.setOwnerConversationID(String id)
conversationID setter
|
void |
AbstractEvent.setOwnerConversationID(String id)
conversationID setter
|
Modifier and Type | Class and Description |
---|---|
class |
DuplicateNodeException
Copyright: Copyright 2003-2014, Knowledge Science Group, University of Calgary.
|
class |
ParentNodeNotFoundException
Copyright: Copyright 2003-2014, Knowledge Science Group, University of Calgary.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Relation.add(Type domain,
Type range)
Puts the domain/range pair into the relation.
|
void |
Ontology.addIndividual(String name,
String... parents) |
void |
Ontology.addIndividual(String name,
String parent) |
void |
Ontology.addSuperOntologies(Ontology... parentOntologies) |
void |
Ontology.addSuperOntologies(String... parentOntologies) |
void |
Ontology.addType(String name,
String... parents)
Adds name to the hierarchy with super-type links to each of the
nodes in parents.
|
void |
Ontology.addType(String name,
String parent)
Equivalent to
add(name,new String[]{parent}) . |
void |
Ontology.declMaplet(String relationName,
String domainName,
String rangeName) |
void |
Ontology.declRelation(String name,
String basedOn,
Set<Relation.Property> properties,
Constraint domConstraint,
Constraint ranConstraint,
Object... otherParams) |
String |
Ontology.describe(String name)
Print to the return String the complete path (in persistent form) from the
root node to the node named name.
|
String |
Ontology.describeIndividual(String type) |
String |
Ontology.describeRelation(String relation) |
String |
Ontology.describeType(String type) |
boolean |
Ontology.instanceOf(String child,
String parent) |
Set<String> |
Ontology.isa(String child)
Finals all ancestors of child.
|
boolean |
Ontology.isa(String child,
String parent)
Determines if parent is an ancestor of child.
|
Set<String> |
Ontology.isAncestor(String child) |
Set<String> |
Ontology.isChild(String parent) |
Set<String> |
Ontology.isDescendant(String parent) |
boolean |
Ontology.isIndividual(String name)
Returns true if the agent "knows" about the token string in the parameter and it's an individual.
|
boolean |
Ontology.isObject(String name)
Returns true if the agent "knows" about the token string in the parameter: it's either a type or an individual.
|
Set<String> |
Ontology.isParent(String child)
Finals all parents (direct ancestors) of child.
|
boolean |
Ontology.isRelation(String name)
Returns true if the agent "knows" about the token string in the parameter and it's an relation.
|
boolean |
Ontology.isType(String name)
Returns true if the agent "knows" about the token string in the parameter and it's a type.
|
Set<String> |
Ontology.relatedTo(String relation,
String domain) |
boolean |
Ontology.relatedTo(String relation,
String domain,
String range)
Determines if an element is related to another element by the relation.
|
boolean |
Relation.remove(Type domain,
Type range)
Removes domain/range pair from the relation.
|
Modifier and Type | Method and Description |
---|---|
void |
OWLOntology.addIndividual(String name,
org.semanticweb.owlapi.model.OWLClass parent)
Adds a new Individual to this ontology with the specified parent.
|
void |
OWLOntology.addIndividual(String name,
String... parents) |
void |
OWLOntology.addIndividual(String name,
String parent) |
void |
OWLOntology.addRelation(org.semanticweb.owlapi.model.OWLDataProperty prop,
String dom,
String ran) |
private void |
OWLOntology.addRelation(org.semanticweb.owlapi.model.OWLObjectProperty prop,
org.semanticweb.owlapi.model.OWLClass dom,
String ran) |
private void |
OWLOntology.addRelation(org.semanticweb.owlapi.model.OWLObjectProperty prop,
org.semanticweb.owlapi.model.OWLNamedIndividual dom,
org.semanticweb.owlapi.model.OWLNamedIndividual ran) |
private void |
OWLOntology.addRelation(org.semanticweb.owlapi.model.OWLObjectProperty prop,
org.semanticweb.owlapi.model.OWLNamedIndividual dom,
String ran) |
void |
OWLOntology.addRelation(org.semanticweb.owlapi.model.OWLObjectProperty prop,
String dom,
String ran) |
void |
OWLOntology.addRelation(String name,
String dom,
String ran) |
void |
OWLOntology.addSuperOntologies(Ontology... superOntologies) |
void |
OWLOntology.addSuperOntologies(String... superOntologyNames) |
void |
OWLOntology.addType(String name,
org.semanticweb.owlapi.model.OWLClass parent)
Adds a new Class to this ontology with the specified parent.
|
void |
OWLOntology.addType(String name,
String... parents)
Adds a new Class to this ontology with the specified parents.
|
void |
OWLOntology.addType(String name,
String parent) |
void |
OWLOntology.declMaplet(String relationName,
String domainName,
String rangeName) |
void |
OWLOntology.declRelation(String name,
String basedOn,
Set<Relation.Property> properties,
Constraint domConstraint,
Constraint ranConstraint,
Object... otherParams) |
String |
OWLOntology.describe(String name) |
String |
OWLOntology.describe(String name,
org.semanticweb.owlapi.model.OWLOntologyFormat outputFormat) |
String |
OWLOntology.describeIndividual(String ind) |
String |
OWLOntology.describeRelation(String relation) |
String |
OWLOntology.describeType(String type) |
org.semanticweb.owlapi.model.OWLClass |
OWLOntology.findClassBySimpleName(String name) |
org.semanticweb.owlapi.model.OWLClass |
OWLOntology.findClassInClosureBySimpleName(String name) |
org.semanticweb.owlapi.model.OWLEntity |
OWLOntology.findEntity(String name) |
<T extends org.semanticweb.owlapi.model.OWLNamedObject> |
OWLOntology.findEntity(String name,
Class<T> cls) |
org.semanticweb.owlapi.model.OWLNamedIndividual |
OWLOntology.findIndividualInClosureBySimpleName(String name) |
org.semanticweb.owlapi.model.IRI |
OWLOntology.findIRI(String name) |
OWLOntology |
OWLOntology.findOntologyOfSimpleName(String name) |
org.semanticweb.owlapi.reasoner.NodeSet<org.semanticweb.owlapi.model.OWLClass> |
OWLOntology.instanceOf(org.semanticweb.owlapi.model.OWLNamedIndividual child) |
boolean |
OWLOntology.instanceOf(org.semanticweb.owlapi.model.OWLNamedIndividual child,
org.semanticweb.owlapi.model.OWLClass parent) |
Set<String> |
OWLOntology.instanceOf(String child) |
boolean |
OWLOntology.instanceOf(String child,
String parent) |
org.semanticweb.owlapi.reasoner.NodeSet<org.semanticweb.owlapi.model.OWLClass> |
OWLOntology.isa(org.semanticweb.owlapi.model.OWLClass child) |
private org.semanticweb.owlapi.reasoner.NodeSet<org.semanticweb.owlapi.model.OWLClass> |
OWLOntology.isa(org.semanticweb.owlapi.model.OWLClass child,
boolean direct) |
boolean |
OWLOntology.isa(org.semanticweb.owlapi.model.OWLClass child,
org.semanticweb.owlapi.model.OWLClass parent) |
Set<String> |
OWLOntology.isa(String child) |
private Set<String> |
OWLOntology.isa(String child,
boolean direct) |
boolean |
OWLOntology.isa(String child,
String parent) |
org.semanticweb.owlapi.reasoner.NodeSet<org.semanticweb.owlapi.model.OWLClass> |
OWLOntology.isAncestor(org.semanticweb.owlapi.model.OWLClass child) |
Set<String> |
OWLOntology.isAncestor(String child) |
org.semanticweb.owlapi.reasoner.NodeSet<org.semanticweb.owlapi.model.OWLClass> |
OWLOntology.isChild(org.semanticweb.owlapi.model.OWLClass parent) |
Set<String> |
OWLOntology.isChild(String parent) |
org.semanticweb.owlapi.reasoner.NodeSet<org.semanticweb.owlapi.model.OWLClass> |
OWLOntology.isDescendant(org.semanticweb.owlapi.model.OWLClass parent) |
Set<String> |
OWLOntology.isDescendant(String parent) |
boolean |
OWLOntology.isIndividual(String name) |
boolean |
OWLOntology.isObject(String name) |
org.semanticweb.owlapi.reasoner.NodeSet<org.semanticweb.owlapi.model.OWLClass> |
OWLOntology.isParent(org.semanticweb.owlapi.model.OWLClass child) |
Set<String> |
OWLOntology.isParent(String child) |
boolean |
OWLOntology.isRelation(String name) |
private org.semanticweb.owlapi.reasoner.NodeSet<org.semanticweb.owlapi.model.OWLClass> |
OWLOntology.isSubClass(org.semanticweb.owlapi.model.OWLClass parent,
boolean direct) |
private Set<String> |
OWLOntology.isSubClass(String parent,
boolean direct) |
boolean |
OWLOntology.isType(String name) |
static Ontology |
OWLOntology.makeOntology(String name,
Ontology... superOntologies) |
Set<String> |
OWLOntology.relatedTo(org.semanticweb.owlapi.model.OWLObjectProperty relation,
org.semanticweb.owlapi.model.OWLClass domain) |
boolean |
OWLOntology.relatedTo(org.semanticweb.owlapi.model.OWLObjectProperty relation,
org.semanticweb.owlapi.model.OWLClass domain,
org.semanticweb.owlapi.model.OWLClass range) |
boolean |
OWLOntology.relatedTo(org.semanticweb.owlapi.model.OWLObjectProperty relation,
org.semanticweb.owlapi.model.OWLClass domain,
org.semanticweb.owlapi.model.OWLNamedIndividual range) |
Set<String> |
OWLOntology.relatedTo(org.semanticweb.owlapi.model.OWLObjectProperty relation,
org.semanticweb.owlapi.model.OWLNamedIndividual domain) |
boolean |
OWLOntology.relatedTo(org.semanticweb.owlapi.model.OWLObjectProperty relation,
org.semanticweb.owlapi.model.OWLNamedIndividual domain,
org.semanticweb.owlapi.model.OWLClass range) |
boolean |
OWLOntology.relatedTo(org.semanticweb.owlapi.model.OWLObjectProperty relation,
org.semanticweb.owlapi.model.OWLNamedIndividual domain,
org.semanticweb.owlapi.model.OWLNamedIndividual range) |
Set<String> |
OWLOntology.relatedTo(String relation,
String domain) |
boolean |
OWLOntology.relatedTo(String relation,
String domain,
String range) |
<T extends org.semanticweb.owlapi.model.OWLEntity> |
OWLOntology.removeEntity(String name,
Class<T> cls)
Removes an entity of class cls from this ontology.
|
void |
OWLOntology.removeIndividual(String name)
Removes an Individual from this ontology.
|
void |
OWLOntology.removeType(String name)
Removes a Class fromt his ontology.
|
private void |
OWLOntology.setRelation(String name) |
private void |
OWLOntology.setSymbol(String name)
Set the name as a string symbol in the Lisp environment.
|
void |
OWLOntology_JavaInterTest.testAddIndividual() |
void |
OWLOntology_JavaInterTest.testAddIndividual2() |
void |
OWLOntology_JavaInterTest.testAddRelation_cls_cls() |
void |
OWLOntology_JavaInterTest.testAddRelation_ind_ind() |
void |
OWLOntology_JavaInterTest.testAddType() |
void |
OWLOntology_JavaInterTest.testAddType2() |
void |
OWLOntology_JavaInterTest.testChildren() |
void |
OWLOntology_LispInterTest.testDescribeAction_Manchester() |
void |
OWLOntology_JavaInterTest.testDescribeAction_Manchester() |
void |
OWLOntology_LispInterTest.testDescribeAction() |
void |
OWLOntology_JavaInterTest.testDescribeAction() |
void |
OWLOntology_LispInterTest.testDescribeCasa_Manchester() |
void |
OWLOntology_JavaInterTest.testDescribeCasa_Manchester() |
void |
OWLOntology_LispInterTest.testDescribeCasa() |
void |
OWLOntology_JavaInterTest.testDescribeCasa() |
void |
OWLOntology_LispInterTest.testDescribeEvent_Manchester() |
void |
OWLOntology_JavaInterTest.testDescribeEvent_Manchester() |
void |
OWLOntology_LispInterTest.testDescribeEvent() |
void |
OWLOntology_JavaInterTest.testDescribeEvent() |
void |
OWLOntology_JavaInterTest.testFindEntity() |
void |
OWLOntology_LispInterTest.testFindIRI() |
void |
OWLOntology_JavaInterTest.testFindIRI() |
void |
OWLOntology_JavaInterTest.testFindOntologyOfSimpleName() |
void |
OWLOntology_JavaInterTest.testIsa1() |
void |
OWLOntology_JavaInterTest.testIsa2() |
void |
OWLOntology_JavaInterTest.testisIndividual() |
void |
OWLOntology_JavaInterTest.testisObject() |
void |
OWLOntology_JavaInterTest.testisType() |
void |
OWLOntology_JavaInterTest.testRelatedTo() |
Modifier and Type | Method and Description |
---|---|
boolean |
UsesRelation.add(Type subject,
Type object) |
boolean |
PrimitiveRelation.add(Type domain,
Type range) |
boolean |
InverseRelation.add(Type subject,
Type object) |
boolean |
BasedRelation.add(Type domain,
Type range) |
void |
CASAOntology.addIndividual(String name,
String... parents) |
void |
CASAOntology.addIndividual(String name,
String parent) |
void |
CASAOntology.addSuperOntologies(Ontology... parentOntologies) |
void |
CASAOntology.addSuperOntologies(String... superOntologyNames) |
void |
CASAOntology.addType(String name,
String... parents)
Adds an isa-parent relationship between name and each of the parents to the ontology.
|
void |
CASAOntology.addType(String name,
String parent)
Adds an isa-parent relationship between name and parent to the ontology.
|
CASAOntology |
TestCASAOntology.bioOnt() |
int |
Maplet.compare(ConcreteRelation relation,
Maplet other) |
boolean |
HierarchicalDictionary.containsKey(String key)
Defers to
HierarchicalDictionary.containsKey(Name) by constructing a Name out of the key String. |
BaseType |
CASAOntology.declIndividual(String name)
Adds a new individual to this ontology.
|
protected void |
CASAOntology.declMaplet(Relation relation,
BaseType domain,
BaseType range)
Adds a new pair in relationName to this ontology.
|
void |
CASAOntology.declMaplet(Relation relation,
String domainName,
String rangeName)
Adds a new pair in relationName to this ontology.
|
void |
CASAOntology.declMaplet(String relationName,
String domainName,
String rangeName)
Adds a new pair in relationName to this ontology.
|
ConcreteRelation |
CASAOntology.declRelation(String name,
ConcreteRelation basedOn,
Relation.Property[] properties,
ConstraintSimple domConstraint,
ConstraintSimple ranConstraint,
Object... otherParams)
Convenience method that calls
#declRelation(String, ConcreteRelation, Property[], ConstraintSimple, ConstraintSimple, Object...) after converting
the properties parameter. |
ConcreteRelation |
CASAOntology.declRelation(String name,
ConcreteRelation basedOn,
Set<Relation.Property> properties,
Constraint domConstraint,
Constraint ranConstraint,
Object... otherParams)
Create and record a new relation in this ontology.
|
void |
CASAOntology.declRelation(String name,
String basedOn,
Set<Relation.Property> properties,
Constraint domConstraint,
Constraint ranConstraint,
Object... otherParams) |
BaseType |
CASAOntology.declType(String name)
Adds a new type to this ontology.
|
String |
CASAOntology.describe(BaseType type)
This method is not fully implemented in this implementation
|
String |
CASAOntology.describe(String name)
This method is not fully implemented in this implementation
|
private String |
CASAOntology.describe2(Type theType,
TreeSet<Type> doneTypes,
TreeSet<String> doneRels)
This method is not fully implemented in this implementation
|
String |
CASAOntology.describeIndividual(String type) |
String |
CASAOntology.describeRelation(String relation) |
String |
CASAOntology.describeType(String type) |
T |
HierarchicalDictionary.get(String key)
Defers to
HierarchicalDictionary.get(Name) by constructing a Name out of the key String. |
Relation |
CASAOntology.getRelation(String name)
Retrieves the relation object based on the name.
|
BaseType |
CASAOntology.getType(String name)
Retrieves the type object based on the name.
|
boolean |
CASAOntology.instanceOf(String child,
String parent) |
Set<String> |
CASAOntology.isa(String child) |
boolean |
CASAOntology.isa(String child,
String parent)
Shortcut for the (isa child parent) lisp operator, or this.relatedTo(isa,child,parent).
|
Set<String> |
CASAOntology.isAncestor(String child) |
Set<String> |
CASAOntology.isChild(String parent) |
Set<String> |
CASAOntology.isDescendant(String parent) |
boolean |
CASAOntology.isIndividual(String name) |
boolean |
CASAOntology.isObject(String name) |
Set<String> |
CASAOntology.isParent(String child) |
boolean |
CASAOntology.isRelation(String name) |
boolean |
CASAOntology.isType(String name) |
static CASAOntology |
CASAOntology.makeOntology(String name,
Ontology... superOntologies)
Constructs a new CASAOntology
|
static CASAOntology |
CASAOntology.makeOntology2(String name,
String... superOntologies) |
T |
HierarchicalDictionary.put(Name key,
T value)
Adds the specified key and value to the dictionary.
|
T |
HierarchicalDictionary.put(String key,
T value)
Defers to
#put(Name, Object) by constructing a Name out of the key String. |
boolean |
CASAOntology.queryMaplet(String relationName,
String domainName,
String rangeName)
Determines if domainName and rangeName are related through relation relationName
WITHOUT TAKING INTO ACCOUNT the isa relationships of the domain and range.
|
protected boolean |
CASAOntology.relatedTo(Relation relation,
String domain,
String range)
Determines if domain and range are related through relation relation.
|
Set<String> |
CASAOntology.relatedTo(String relation,
String domain) |
boolean |
CASAOntology.relatedTo(String relation,
String domain,
String range)
Determines if domain and range are related through relation relation.
|
boolean |
UsesRelation.remove(Type subject,
Type object) |
boolean |
PrimitiveRelation.remove(Type domain,
Type range) |
boolean |
InverseRelation.remove(Type subject,
Type object) |
boolean |
BasedRelation.remove(Type subject,
Type object) |
void |
ConcreteRelation.setName(String name) |
private void |
CASAOntology.setSymbol(String name)
Set TWO symbols for the parameter name: one for the unqualified name, and
another for the qualified name (ontology and name).
|
Ontology |
TestCASAOntology.sizeOnt() |
void |
TestCASAOntology.testBiggerRelation()
Test method for general tests on the size ontology with the bigger relation.
|
void |
TestCASAOntology.testBiggerRelationLisp()
Test method for general tests on the size ontology with the bigger relation with Lisp.
|
void |
TestCASAOntology.testIsaHierarchy()
Test method for general tests on a isa hierarchy about biology.
|
void |
TestCASAOntology.testIsaLoadBioOntology()
Test method for loading the little bio ontology.
|
void |
TestCASAOntology.testIsaLoadBioOntologyLisp()
Test method for loading the little bio ontology.
|
void |
TestCASAOntology.testIsaLoadSizeOntology()
Test method for loading the little size ontology, which is sub-ontology of the bio ontology.
|
void |
TestCASAOntology.testIsEqual()
Test method for general tests on isEqual on the hierarchy about biology.
|
void |
TestCASAOntology.testIsEqualOverIsa()
Test method for general tests on a isa with isEqual on the hierarchy about biology.
|
void |
TestCASAOntology.testRelatedToString()
Test method for general tests on a type hierarchy about biology on the relatedTo(Relation, String) method.
|
Constructor and Description |
---|
AsymmetricRelation(String name,
Ontology ontology,
ConcreteRelation base,
boolean assignable,
Constraint domConstraint,
Constraint ranConstraint) |
BasedRelation(String name,
Ontology ontology,
ConcreteRelation base,
boolean assignable,
Constraint domainConstraint,
Constraint rangeConstraint) |
BaseType(String name,
Ontology ont) |
CASAOntology(String name,
CASAOntology... superOntologies)
Instantiates a new ontology with parents specified by superOntologies.
|
ConcreteRelation(String name,
Ontology ontology) |
InverseRelation(String name,
Ontology ontology,
ConcreteRelation base,
boolean assignable,
Constraint domConstraint,
Constraint ranConstraint,
Relation owner) |
MirrorRelation(String name,
Ontology ontology,
ConcreteRelation base,
boolean assignable,
Constraint domainConstraint,
Constraint rangeConstraint)
A relation that just mirrors it's base and nothing more except check constraints.
|
Name(Ontology ontology,
String name) |
Name(String name) |
PrimitiveRelation(String name,
Ontology ontology) |
PrimitiveRelation(String name,
Ontology ontology,
Constraint domainConstraint,
Constraint rangeConstraint) |
ReflexiveRelation(String name,
Ontology ontology,
ConcreteRelation base,
boolean assignable,
Constraint domConstraint,
Constraint ranConstraint) |
SimpleType(String typeName,
Ontology ontology)
Constructor: makes a new Type with name typeName.
|
SimpleType(String typeName,
Vector<BaseType> parents,
CASAOntology ontology)
Constructor: makes a new node in the hierarchy with name typeName,
attaching the pointers to and from the nodes in parents.
|
SymmetricRelation(String name,
Ontology ontology,
ConcreteRelation base,
boolean assignable,
Constraint domConstraint,
Constraint ranConstraint) |
TransitiveRelation(String name,
Ontology ontology,
ConcreteRelation base,
boolean assignable,
Constraint domConstraint,
Constraint ranConstraint) |
UsesRelation(String name,
Ontology ontology,
ConcreteRelation base,
ConcreteRelation uses,
boolean assignable,
Constraint domConstraint,
Constraint ranConstraint,
Relation owner) |