|
JTP API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jtp.classifier.Classifier
Contains all of the classification algorithms. The methods of this class
should only be
accessed through Kb
.
Nested Class Summary | |
static class |
Classifier.ClassifyInfo
Static class structures |
protected static class |
Classifier.RtXRt
|
Field Summary | |
protected static boolean |
_bDebugPrint
|
protected static int |
_CON_PATTERN
|
protected static int |
_EMPTY_PATTERN
|
protected static int |
_FULL_PATTERN
|
protected static HashMap |
_hmSubsumes
|
protected static int |
_MARKER_SET
|
protected Kb |
_pKb
Member Variables |
protected static int |
_REL_PATTERN
Constants |
protected static int |
_VISITED
|
protected static int |
CE
|
protected static int |
CGE
|
protected static int |
CLE
|
protected static int |
CS
|
protected static int |
RS
|
Constructor Summary | |
protected |
Classifier()
Member Methods |
Method Summary | |
protected boolean |
allConjConstituentsHaveMark(Resource c,
int pattern)
|
protected boolean |
allDisjConstituentsHaveMark(Resource c,
int pattern)
|
protected Classifier.ClassifyInfo |
classifyConjConcept(Resource c)
|
protected Classifier.ClassifyInfo |
classifyDisjConcept(Resource c)
|
protected void |
classifyModifier(Modifier m)
|
protected void |
clearMarks(int default_pattern)
|
protected Set |
conceptConjMGS(Resource c)
|
protected Set |
conceptConjMSS(Resource c)
|
protected Set |
conceptDisjMGS(Resource c)
|
protected Set |
conceptDisjMSS(Resource c)
|
protected Classifier.ClassifyInfo |
insertConcept(Resource c,
Set mss,
Set mgs)
Given the mss/mgs sets, insert the new constituent. |
protected void |
insertModifier(Modifier m,
Set mss,
Set mgs)
|
protected void |
markAllRelationsDelayFullSearch(Resource c,
Relation r,
int pattern,
int link_type1,
int link_type2)
|
protected void |
markDownRelations(Relation r,
int pattern)
|
protected void |
markTransClosure(Relation r,
Resource c,
int pattern,
int link_type)
|
protected void |
markTransClosureAndRemove(Relation r,
Resource c,
int pattern,
Set cset)
|
protected void |
markUpRelations(Relation r,
int pattern)
|
protected Set |
modifierMGS(Modifier m,
Set mss)
|
protected Set |
modifierMSS(Modifier m)
|
protected static boolean |
ModSubsumedBy(Modifier mgs,
Modifier m,
int rel_pattern,
int rel_set,
int conc_pattern,
int conc_set)
|
protected static boolean |
ModSubsumes(Modifier mss,
Modifier m,
int rel_pattern,
int rel_set,
int conc_pattern,
int conc_set)
|
protected void |
pruneSharedSLinks(Set mss,
Set mgs)
|
protected void |
setKb(Kb kb)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static final int _REL_PATTERN
protected static final int _VISITED
protected static final int _CON_PATTERN
protected static final int _EMPTY_PATTERN
protected static final int _FULL_PATTERN
protected static final int _MARKER_SET
protected static final int RS
protected static final int CS
protected static final int CE
protected static final int CGE
protected static final int CLE
protected Kb _pKb
protected static boolean _bDebugPrint
protected static HashMap _hmSubsumes
Constructor Detail |
protected Classifier()
Method Detail |
protected void setKb(Kb kb)
public String toString()
toString
in class Object
protected Classifier.ClassifyInfo classifyConjConcept(Resource c) throws ReasoningException
ReasoningException
protected Classifier.ClassifyInfo classifyDisjConcept(Resource c) throws ReasoningException
ReasoningException
protected Set conceptConjMSS(Resource c)
protected Set conceptConjMGS(Resource c)
protected Set conceptDisjMGS(Resource c)
protected Set conceptDisjMSS(Resource c)
protected boolean allConjConstituentsHaveMark(Resource c, int pattern)
protected boolean allDisjConstituentsHaveMark(Resource c, int pattern)
protected void classifyModifier(Modifier m)
protected Set modifierMSS(Modifier m)
protected Set modifierMGS(Modifier m, Set mss)
protected static boolean ModSubsumes(Modifier mss, Modifier m, int rel_pattern, int rel_set, int conc_pattern, int conc_set)
protected static boolean ModSubsumedBy(Modifier mgs, Modifier m, int rel_pattern, int rel_set, int conc_pattern, int conc_set)
protected void clearMarks(int default_pattern)
protected void markAllRelationsDelayFullSearch(Resource c, Relation r, int pattern, int link_type1, int link_type2)
protected void markUpRelations(Relation r, int pattern)
protected void markDownRelations(Relation r, int pattern)
protected void markTransClosure(Relation r, Resource c, int pattern, int link_type)
protected void markTransClosureAndRemove(Relation r, Resource c, int pattern, Set cset)
protected Classifier.ClassifyInfo insertConcept(Resource c, Set mss, Set mgs) throws ReasoningException
ReasoningException
protected void insertModifier(Modifier m, Set mss, Set mgs)
protected void pruneSharedSLinks(Set mss, Set mgs)
|
JTP API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |