All Packages Class Hierarchy This Package Previous Next Index
Class SHOE.ClaimSubjectIndexer
java.lang.Object
|
+----SHOE.ClaimSubjectIndexer
- public class ClaimSubjectIndexer
- extends Object
A supplemental class that will organize an instance in such a way
that its claims can be efficiently retrieved by the subject of the
claim. Here subject means the object that a category claim describes
or an argument that a relation claim refers to.
-
ClaimSubjectIndexer(Instance, int)
- Constructs a new ClaimSubjectIndexer using the category claims
and arguments of relations up to the specified indexArity.
-
getClaimSubjectKeys()
- Returns the set of subject keys that have been indexed for this
instance.
-
getClaimSubjects()
- Returns the set of claim subjects that have been indexed for this
instance.
-
getSubjectCategories(String)
- Returns the set of Categories for the subject with the given key.
-
getSubjectRelations(String, int)
- Returns the set of Relations in which the given subject key
appears in the given argument position.
ClaimSubjectIndexer
public ClaimSubjectIndexer(Instance inst,
int indexArity)
- Constructs a new ClaimSubjectIndexer using the category claims
and arguments of relations up to the specified indexArity.
getSubjectCategories
public Vector getSubjectCategories(String key)
- Returns the set of Categories for the subject with the given key.
getSubjectRelations
public Vector getSubjectRelations(String key,
int argPos)
- Returns the set of Relations in which the given subject key
appears in the given argument position.
getClaimSubjects
public Enumeration getClaimSubjects()
- Returns the set of claim subjects that have been indexed for this
instance. A claim subject consists of a subject key and the set
of all claims that refer to that subject.
getClaimSubjectKeys
public Enumeration getClaimSubjectKeys()
- Returns the set of subject keys that have been indexed for this
instance.
All Packages Class Hierarchy This Package Previous Next Index