JTP API Documentation

Uses of Class
jtp.classifier.Resource

Packages that use Resource
jtp.classifier   
 

Uses of Resource in jtp.classifier
 

Subclasses of Resource in jtp.classifier
 class Modifier
           
 class Relation
           
 

Fields in jtp.classifier declared as Resource
 Resource Triple._subject
           
 Resource Triple._relation
           
 Resource Triple._value
           
static Resource Resource._MIN_RESOURCE
           
static Resource Resource._MAX_RESOURCE
           
static Resource Resource._TOP
          Parent of all classes/concepts
static Resource Resource._BOTTOM
          Empty class that is child of all classes/concepts
static Resource Resource._GEN
           
static Resource Resource._ME
           
static Resource Resource._MA
           
static Resource Resource._MR
           
static Resource Resource._MI
           
static Resource Resource._CARD
           
static Resource Resource._MIN_CARD
           
static Resource Resource._MAX_CARD
           
static Resource Resource._CARDQ
           
static Resource Resource._MIN_CARDQ
           
static Resource Resource._MAX_CARDQ
           
static Resource Resource._MIN_FP
           
static Resource Resource._MAX_FP
           
 Resource Classifier.ClassifyInfo._conc
           
 

Methods in jtp.classifier that return Resource
protected  Resource Kb.getResource(Object name)
           
protected  Resource Kb.createResource(Object name)
           
protected  Resource Kb.getOrCreateResource(Object name)
           
protected  Resource Kb.detectAndCollapseCycle(Resource c, Relation rel)
          If Resource c is involved in a Relation rel cycle, c is collapsed with the other Resources in the cycle, and a new canonical Resource is returned.
protected  Resource Kb.collapseCycle(Collection cycle)
          There should be no duplicates in the cycle.
 

Methods in jtp.classifier with parameters of type Resource
 void Triple.set(Resource o1, Resource o2, Resource o3)
           
 void Triple.set(Resource o1, Resource o2, Resource o3)
           
 void Triple.set(Resource o1, Resource o2, Resource o3)
           
static Modifier Modifier.CastToModifier(Resource r)
           
static boolean Modifier.IsModifier(Resource r)
           
static Relation Relation.CastToRelation(Resource r)
           
static boolean Relation.IsRelation(Resource r)
           
protected  Classifier.ClassifyInfo Classifier.classifyConjConcept(Resource c)
           
protected  Classifier.ClassifyInfo Classifier.classifyDisjConcept(Resource c)
           
protected  Set Classifier.conceptConjMSS(Resource c)
           
protected  Set Classifier.conceptConjMGS(Resource c)
           
protected  Set Classifier.conceptDisjMGS(Resource c)
           
protected  Set Classifier.conceptDisjMSS(Resource c)
           
protected  boolean Classifier.allConjConstituentsHaveMark(Resource c, int pattern)
           
protected  boolean Classifier.allDisjConstituentsHaveMark(Resource c, int pattern)
           
protected  void Classifier.markAllRelationsDelayFullSearch(Resource c, Relation r, int pattern, int link_type1, int link_type2)
           
protected  void Classifier.markTransClosure(Relation r, Resource c, int pattern, int link_type)
           
protected  void Classifier.markTransClosureAndRemove(Relation r, Resource c, int pattern, Set cset)
           
protected  Classifier.ClassifyInfo Classifier.insertConcept(Resource c, Set mss, Set mgs)
          Given the mss/mgs sets, insert the new constituent.
 void TripleSet.addTriple(Resource o1, Resource o2, Resource o3)
           
 void TripleSet.addTriple(Resource o1, Resource o2, Resource o3)
           
 void TripleSet.addTriple(Resource o1, Resource o2, Resource o3)
           
 void TripleSet.removeTriple(Resource o1, Resource o2, Resource o3)
           
 void TripleSet.removeTriple(Resource o1, Resource o2, Resource o3)
           
 void TripleSet.removeTriple(Resource o1, Resource o2, Resource o3)
           
 boolean TripleSet.isTriple(Resource o1, Resource o2, Resource o3)
           
 boolean TripleSet.isTriple(Resource o1, Resource o2, Resource o3)
           
 boolean TripleSet.isTriple(Resource o1, Resource o2, Resource o3)
           
 SortedSet TripleSet.getTripleSet(Resource o1, Resource o2)
           
 SortedSet TripleSet.getTripleSet(Resource o1, Resource o2)
           
 SortedSet TripleSet.getTripleSet(Resource o1)
           
protected  Collection Kb.reClassifyDefinedConceptsAbove(Resource start)
           
protected  Collection Kb.reClassifyDefinedConceptsBelow(Resource start)
           
protected  Collection Kb.reClassifyDefinedConceptsAboveAndBelow(Resource rsub, Resource rsuper)
           
protected  Collection Kb.reClassifyDefinedConceptsAboveAndBelow(Resource rsub, Resource rsuper)
           
protected  void Kb.deleteResource(Resource r)
           
protected  void Kb.addResourceAlias(Object alias, Resource r)
           
protected  Modifier Kb.createModifier(Object name, Relation r, Resource c, Resource t, int card_val)
           
protected  Modifier Kb.createModifier(Object name, Relation r, Resource c, Resource t, int card_val)
           
protected  Modifier Kb.getOrCreateModifier(Object name, Relation r, Resource c, Resource t, int card_val)
           
protected  Modifier Kb.getOrCreateModifier(Object name, Relation r, Resource c, Resource t, int card_val)
           
protected  void Kb.maintainTopLinks(Resource c)
           
protected  void Kb.maintainBottomLinks(Resource c)
           
protected  Resource Kb.detectAndCollapseCycle(Resource c, Relation rel)
          If Resource c is involved in a Relation rel cycle, c is collapsed with the other Resources in the cycle, and a new canonical Resource is returned.
protected  void Kb.findCycle(Resource r, Relation rel, LinkedList curPath, Collection cycle)
           
protected  void Kb.addTripleLink(Resource o, Relation r, Resource v, int link_type)
           
protected  void Kb.addTripleLink(Resource o, Relation r, Resource v, int link_type)
           
protected  void Kb.addTripleLink(Resource o, Relation r, Resource v, int link_type, boolean add_inv)
           
protected  void Kb.addTripleLink(Resource o, Relation r, Resource v, int link_type, boolean add_inv)
           
protected  Set Kb.getTripleLinkSet(Resource o, int link_type)
           
protected  Set Kb.getTripleLinkSet(Resource o, Resource r, int link_type)
           
protected  Set Kb.getTripleLinkSet(Resource o, Resource r, int link_type)
           
protected  boolean Kb.isTripleLink(Resource o, Relation r, Resource v, int link_type)
           
protected  boolean Kb.isTripleLink(Resource o, Relation r, Resource v, int link_type)
           
protected  void Kb.removeTripleLink(Resource o, Relation r, Resource v, int link_type)
           
protected  void Kb.removeTripleLink(Resource o, Relation r, Resource v, int link_type)
           
protected  Collection Kb.replaceConstituents(Resource r, Collection constituents, Relation rel, int link_type)
          If any constituents is itself a conjunct or disjunct (depending on rel and link_type), in the return collection, it's replaced by its constituents.
protected  Collection Kb.replaceReferences(Resource referent, Collection constituents, Relation rel, int link_type)
          For all defined concepts that refer to referent as a constitent via link_type rel, replace the reference to referent with references to referent's constituents.
protected  Collection Kb.searchUpForConjClasses(Resource start)
           
protected  Collection Kb.searchDownForDisjClasses(Resource start)
           
 

Constructors in jtp.classifier with parameters of type Resource
Triple(Resource o1, Resource o2, Resource o3)
           
Triple(Resource o1, Resource o2, Resource o3)
           
Triple(Resource o1, Resource o2, Resource o3)
           
Modifier(Relation rel, Resource conc)
           
Modifier(Relation rel, Resource conc, Resource rt)
           
Modifier(Relation rel, Resource conc, Resource rt)
           
Modifier(Relation rel, Resource conc, Resource rt, int ival)
           
Modifier(Relation rel, Resource conc, Resource rt, int ival)
           
Modifier(Relation rel, Resource conc, Resource rt, int ival, double fval)
           
Modifier(Relation rel, Resource conc, Resource rt, int ival, double fval)
           
Classifier.ClassifyInfo(Resource c, Collection mss, Collection mgs, boolean equiv)
           
Classifier.RtXRt(Resource r1, Resource r2)
           
Classifier.RtXRt(Resource r1, Resource r2)
           
 


JTP API Documentation