@PortedFrom(file="tRole.h", name="Role") public class Role extends ClassifiableEntry
index, pSynonym, taxVertex, toldSubsumersentity, extId, extName| Modifier and Type | Method and Description |
|---|---|
void |
addComposition(DLTree tree)
add composition to a role
|
void |
addDisjointRole(Role R)
set R and THIS as a disjoint; use it after Anc/Desc are determined
|
void |
addFeaturesToSynonym() |
List<Role> |
begin_topfunc()
get access to the func super-roles w/o func parents via iterator
|
void |
checkHierarchicalDisjoint()
check (and correct) case whether R != S for R [= S
|
void |
clearDataRole() |
void |
collectDomainFromSupers()
merge to Domain all domains from super-roles
|
void |
completeAutomaton(int nRoles)
complete role automaton
|
void |
consistent()
check whether role description is consistent
|
Role |
eliminateToldCycles()
eliminate told role cycle
|
int |
getAbsoluteIndex()
get (unsigned) unique index of the role
|
List<Role> |
getAncestor() |
RoleAutomaton |
getAutomaton()
get access to a RA for the role
|
int |
getBPDomain()
get domain-as-a-bipointer of the role
|
int |
getBPRange()
get range-as-a-bipointer of the role
|
MergableLabel |
getDomainLabel()
get label of the role's domain
|
int |
getFunctional()
get the Functional DAG vertex
|
int |
getIndex()
get the index value
|
Role |
getInverse() |
MergableLabel |
getRangeLabel()
get label of the role's range
|
DLTree |
getTDomain()
get domain-as-a-tree of the role
|
DLTree |
getTSpecialDomain() |
boolean |
hasSpecialDomain() |
void |
initADbyTaxonomy(Taxonomy pTax,
int nRoles) |
void |
initSpecialDomain()
init special domain; call this only after *ALL* the domains are known
|
Role |
inverse()
get inverse of given role (non- version)
|
boolean |
isAsymmetric()
check whether the role is asymmetric
|
boolean |
isAsymmetryKnown()
check whether the asymmetry of a role is known
|
boolean |
isDataRole()
distinguish data- and non-data role
|
boolean |
isDisjoint()
check whether a role is disjoint with anything
|
boolean |
isDisjoint(Role r)
check whether a role is disjoint with R
|
boolean |
isFunctional()
test if role is functional (ie, have some functional ancestors)
|
boolean |
isFunctionalityKnown()
check whether the functionality of a role is known
|
boolean |
isIrreflexive()
check whether the role is irreflexive
|
boolean |
isIrreflexivityKnown()
check whether the irreflexivity of a role is known
|
boolean |
isReflexive()
check whether the role is reflexive
|
boolean |
isReflexivityKnown()
check whether the reflexivity of a role is known
|
boolean |
isRelevant(long lab)
is given role relevant to given Labeller's state
|
boolean |
isSimple()
a Simple flag (not simple if role or any of its sub-roles is transitive)
|
boolean |
isSymmetric()
check whether the role is symmetric
|
boolean |
isSymmetryKnown()
check whether the symmetry of a role is known
|
boolean |
isTopFunc()
check if the role is topmost-functional (ie, has no functional ancestors)
|
boolean |
isTransitive()
check whether the role is transitive
|
boolean |
isTransitivityKnown()
check whether the transitivity of a role is known
|
boolean |
lesserequal(Role r) |
void |
postProcess() |
void |
print(LogAdapter o) |
Role |
realInverse()
get real inverse of a role (RO)
|
static Role |
resolveRole(DLTree t) |
void |
setAsymmetric(boolean value)
set the asymmetry of both role and it's inverse
|
void |
setBPDomain(int p)
set domain-as-a-bipointer to a role
|
void |
setDataRole() |
void |
setDataRole(boolean action) |
void |
setDomain(DLTree p)
add p to domain of the role
|
void |
setFunctional()
mark role (topmost) functional
|
void |
setFunctional(boolean value)
set role functionality value
|
void |
setFunctional(int fNode)
set functional attribute to given value (functional DAG vertex)
|
void |
setInverse(Role p)
set inverse to given role
|
void |
setIrreflexive() |
void |
setIrreflexive(boolean value)
set the irreflexivity of both role and it's inverse
|
void |
setRange(DLTree p)
add p to range of the role
|
void |
setReflexive() |
void |
setReflexive(boolean value)
set the reflexivity of both role and it's inverse
|
void |
setRelevant(long lab)
make given role relevant to given Labeller's state
|
void |
setSpecialDomain(int bp)
set the special domain value
|
void |
setSymmetric() |
void |
setSymmetric(boolean value)
set the symmetry of both role and it's inverse
|
void |
setTransitive() |
void |
setTransitive(boolean value)
set the transitivity of both role and it's inverse
|
String |
toString() |
addParent, addParentIfNew, addParents, canonicaliseSynonym, clearCompletelyDefined, clearNonClassifiable, getSynonym, getTaxVertex, getToldSubsumers, hasToldSubsumers, isClassified, isCompletelyDefined, isNonClassifiable, isSynonym, removeSynonymsFromParents, resolveSynonym, setCompletelyDefined, setIndex, setNonClassifiable, setNonClassifiable, setSynonym, setTaxVertexprotected Role(String name)
@PortedFrom(file="tRole.h", name="inverse") public Role inverse()
@PortedFrom(file="tRole.h", name="realInverse") public Role realInverse()
@PortedFrom(file="tRole.h", name="setInverse") public void setInverse(Role p)
@PortedFrom(file="tRole.h", name="isSimple") public boolean isSimple()
@PortedFrom(file="tRole.h", name="getTSpecialDomain") public DLTree getTSpecialDomain()
@PortedFrom(file="tRole.h", name="hasSpecialDomain") public boolean hasSpecialDomain()
@PortedFrom(file="tRole.h", name="initSpecialDomain") public void initSpecialDomain()
@PortedFrom(file="tRole.h", name="setSpecialDomain") public void setSpecialDomain(int bp)
@Original public boolean isDataRole()
@Original public void setDataRole()
@Original public void clearDataRole()
@Original public void setDataRole(boolean action)
@PortedFrom(file="tRole.h", name="isFunctional") public boolean isFunctional()
@PortedFrom(file="tRole.h", name="isFunctionalityKnown") public boolean isFunctionalityKnown()
@PortedFrom(file="tRole.h", name="setFunctional") public void setFunctional(boolean value)
@PortedFrom(file="tRole.h", name="setFunctional") public void setFunctional()
@PortedFrom(file="tRole.h", name="isTransitive") public boolean isTransitive()
@PortedFrom(file="tRole.h", name="isTransitivityKnown") public boolean isTransitivityKnown()
@PortedFrom(file="tRole.h", name="setTransitive") public void setTransitive(boolean value)
@PortedFrom(file="tRole.h", name="setTransitive") public void setTransitive()
@PortedFrom(file="tRole.h", name="isSymmetric") public boolean isSymmetric()
@PortedFrom(file="tRole.h", name="isSymmetryKnown") public boolean isSymmetryKnown()
@PortedFrom(file="tRole.h", name="setSymmetric") public void setSymmetric(boolean value)
@PortedFrom(file="tRole.h", name="setSymmetric") public void setSymmetric()
@PortedFrom(file="tRole.h", name="isAsymmetric") public boolean isAsymmetric()
@PortedFrom(file="tRole.h", name="isAsymmetryKnown") public boolean isAsymmetryKnown()
@PortedFrom(file="tRole.h", name="setAsymmetric") public void setAsymmetric(boolean value)
@PortedFrom(file="tRole.h", name="isReflexive") public boolean isReflexive()
@PortedFrom(file="tRole.h", name="isReflexivityKnown") public boolean isReflexivityKnown()
@PortedFrom(file="tRole.h", name="setReflexive") public void setReflexive(boolean value)
@PortedFrom(file="tRole.h", name="setReflexive") public void setReflexive()
@PortedFrom(file="tRole.h", name="isIrreflexive") public boolean isIrreflexive()
@PortedFrom(file="tRole.h", name="isIrreflexivityKnown") public boolean isIrreflexivityKnown()
@PortedFrom(file="tRole.h", name="setIrreflexive") public void setIrreflexive(boolean value)
@PortedFrom(file="tRole.h", name="setIrreflexive") public void setIrreflexive()
@PortedFrom(file="tRole.h", name="isTopFunc") public boolean isTopFunc()
@PortedFrom(file="tRole.h", name="setFunctional") public void setFunctional(int fNode)
@PortedFrom(file="tRole.h", name="getFunctional") public int getFunctional()
@PortedFrom(file="tRole.h", name="isRelevant") public boolean isRelevant(long lab)
@PortedFrom(file="tRole.h", name="setRelevant") public void setRelevant(long lab)
@PortedFrom(file="tRole.h", name="getDomainLabel") public MergableLabel getDomainLabel()
@PortedFrom(file="tRole.h", name="getRangeLabel") public MergableLabel getRangeLabel()
@PortedFrom(file="tRole.h", name="setDomain") public void setDomain(DLTree p)
@PortedFrom(file="tRole.h", name="setRange") public void setRange(DLTree p)
@PortedFrom(file="tRole.h", name="getTDomain") public DLTree getTDomain()
@PortedFrom(file="tRole.h", name="collectDomainFromSupers") public void collectDomainFromSupers()
@PortedFrom(file="tRole.h", name="setBPDomain") public void setBPDomain(int p)
@PortedFrom(file="tRole.h", name="getBPDomain") public int getBPDomain()
@PortedFrom(file="tRole.h", name="getBPRange") public int getBPRange()
@PortedFrom(file="tRole.h", name="getIndex") public int getIndex()
ClassifiableEntrygetIndex in class ClassifiableEntry@PortedFrom(file="tRole.h", name="addDisjointRole") public void addDisjointRole(Role R)
@PortedFrom(file="tRole.h", name="checkHierarchicalDisjoint") public void checkHierarchicalDisjoint()
@PortedFrom(file="tRole.h", name="isDisjoint") public boolean isDisjoint()
@PortedFrom(file="tRole.h", name="isDisjoint") public boolean isDisjoint(Role r)
@PortedFrom(file="tRole.h", name="<=") public boolean lesserequal(Role r)
@PortedFrom(file="tRole.h", name="begin_anc") public List<Role> getAncestor()
@PortedFrom(file="tRole.h", name="begin_topfunc") public List<Role> begin_topfunc()
@PortedFrom(file="tRole.h", name="addComposition") public void addComposition(DLTree tree)
@PortedFrom(file="tRole.h", name="getAutomaton") public RoleAutomaton getAutomaton()
@PortedFrom(file="tRole.h", name="eliminateToldCycles") public Role eliminateToldCycles()
@PortedFrom(file="tRole.h", name="completeAutomaton") public void completeAutomaton(int nRoles)
@PortedFrom(file="tRole.h", name="consistent") public void consistent()
@PortedFrom(file="tRole.h", name="resolveRole") public static Role resolveRole(DLTree t)
@PortedFrom(file="tRole.h", name="getIndex") public int getAbsoluteIndex()
@PortedFrom(file="tRole.h", name="addFeaturesToSynonym") public void addFeaturesToSynonym()
public String toString()
toString in class NamedEntry@PortedFrom(file="tRole.h", name="print") public void print(LogAdapter o)
@PortedFrom(file="tRole.h", name="initADbyTaxonomy") public void initADbyTaxonomy(Taxonomy pTax, int nRoles)
@PortedFrom(file="tRole.h", name="postProcess") public void postProcess()
Copyright © 2013 The University of Manchester. All Rights Reserved.