notio
Class KnowledgeBase
java.lang.Object
|
+--notio.KnowledgeBase
- All Implemented Interfaces:
- java.io.Serializable
- public class KnowledgeBase
- extends java.lang.Object
- implements java.io.Serializable
A class that defines a knowledge base.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KnowledgeBase
public KnowledgeBase(ConceptTypeHierarchy newConceptHierarchy,
RelationTypeHierarchy newRelationHierarchy,
MarkerSet newMarkerSet,
Concept newOutermostContext)
- Constructs a new knowledge base with the specified components.
- Parameters:
newConceptHierarchy
- the concept type hierarchy.newRelationHierarchy
- the relation type hierarchy.newMarkerSet
- the marker set.newOutermostContext
- the outermost context.
KnowledgeBase
public KnowledgeBase()
- Constructs a new knowledge base and creates required components
automatically.
Currently, this automatically creates a ConceptType with the
label "Proposition" and adds it to the concept type hierarchy
with the universal and absurd types as super- and subtype
respectively. It then creates a Concept with the proposition
type, a null (existential) quantifier, and a DescriptorDesignator
that references an empty Graph.
getConceptTypeHierarchy
public ConceptTypeHierarchy getConceptTypeHierarchy()
- Returns the concept type hierarchy.
- Returns:
- the concept type hierarchy.
getRelationTypeHierarchy
public RelationTypeHierarchy getRelationTypeHierarchy()
- Returns the relation type hierarchy.
- Returns:
- the relation type hierarchy.
getMarkerSet
public MarkerSet getMarkerSet()
- Returns the marker set.
- Returns:
- the marker set.
getOutermostContext
public Concept getOutermostContext()
- Returns the outermost context.
- Returns:
- the outermost context.
Copyright 1998-2001 Finnegan Southey