@PortedFrom(file="tRole.h", name="Role") public class Role extends ClassifiableEntry
| 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()
copy role information (like transitivity, functionality, etc) to synonym
|
void |
addParent(ClassifiableEntry parent)
add told subsumer of entry (duplications possible)
|
List<Role> |
beginTopfunc() |
void |
checkHierarchicalDisjoint()
check (and correct) case whether R != S for R [= S
|
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() |
List<Role> |
getAncestor() |
RoleAutomaton |
getAutomaton() |
int |
getBPDomain() |
int |
getBPRange() |
MergableLabel |
getDomainLabel() |
int |
getFunctional() |
Role |
getInverse() |
MergableLabel |
getRangeLabel() |
DLTree |
getTDomain() |
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() |
boolean |
isAsymmetric() |
boolean |
isAsymmetryKnown() |
boolean |
isDataRole() |
boolean |
isDisjoint() |
boolean |
isDisjoint(Role r) |
boolean |
isFunctional() |
boolean |
isFunctionalityKnown() |
boolean |
isIrreflexive() |
boolean |
isIrreflexivityKnown() |
boolean |
isReflexive() |
boolean |
isReflexivityKnown() |
boolean |
isRelevant(long lab) |
boolean |
isSimple() |
boolean |
isSymmetric() |
boolean |
isSymmetryKnown() |
boolean |
isTopFunc() |
boolean |
isTransitive() |
boolean |
isTransitivityKnown() |
boolean |
lesserequal(Role r) |
void |
mergeSupersDomain()
merge domains
|
void |
postProcess()
post process
|
void |
print(LogAdapter o) |
Role |
realInverse() |
static Role |
resolveRole(DLTree t) |
static Role |
resolveRole(DLTree t,
String r) |
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(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(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(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(boolean value)
set the symmetry of both role and it's inverse
|
void |
setTransitive(boolean value)
set the transitivity of both role and it's inverse
|
String |
toString() |
addParentIfNew, addParents, canonicaliseSynonym, getIndex, getSynonym, getTaxVertex, getToldSubsumers, hasToldSubsumers, isClassified, isCompletelyDefined, isNonClassifiable, isSynonym, removeSynonymsFromParents, resolveSynonym, setCompletelyDefined, setIndex, setNonClassifiable, setSynonym, setTaxVertex@PortedFrom(file="tRole.h", name="mergeSupersDomain") public void mergeSupersDomain()
@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)
p - 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)
bp - bp@Original public boolean isDataRole()
@Original public void setDataRole(boolean action)
action - 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)
value - 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)
value - value@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)
value - value@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)
value - 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)
value - value@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)
value - value@PortedFrom(file="tRole.h", name="isTopFunc") public boolean isTopFunc()
@PortedFrom(file="tRole.h", name="setFunctional") public void setFunctional(int fNode)
fNode - fNode@PortedFrom(file="tRole.h", name="getFunctional") public int getFunctional()
@PortedFrom(file="tRole.h", name="isRelevant") public boolean isRelevant(long lab)
lab - lab@PortedFrom(file="tRole.h", name="setRelevant") public void setRelevant(long lab)
lab - 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)
p - p@PortedFrom(file="tRole.h", name="setRange") public void setRange(DLTree p)
p - p@Nullable @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)
p - p@PortedFrom(file="tRole.h", name="getBPDomain") public int getBPDomain()
@PortedFrom(file="tRole.h", name="getBPRange") public int getBPRange()
@PortedFrom(file="tRole.h", name="addDisjointRole") public void addDisjointRole(Role r)
r - 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)
r - r@PortedFrom(file="tRole.h", name="<=") public boolean lesserequal(Role r)
r - r@PortedFrom(file="tRole.h", name="begin_anc") public List<Role> getAncestor()
@PortedFrom(file="tRole.h", name="begin_topfunc") public List<Role> beginTopfunc()
@PortedFrom(file="tRole.h", name="addComposition") public void addComposition(DLTree tree)
tree - treepublic void addParent(ClassifiableEntry parent)
ClassifiableEntryaddParent in class ClassifiableEntryparent - parent@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)
nRoles - nRoles@PortedFrom(file="tRole.h", name="consistent") public void consistent()
@PortedFrom(file="tRole.h", name="resolveRole") public static Role resolveRole(DLTree t, String r)
t - tr - r reason@PortedFrom(file="tRole.h", name="resolveRole") public static Role resolveRole(DLTree t)
t - 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)
o - o@PortedFrom(file="tRole.h", name="initADbyTaxonomy") public void initADbyTaxonomy(Taxonomy pTax, int nRoles)
pTax - pTaxnRoles - nRoles@PortedFrom(file="tRole.h", name="postProcess") public void postProcess()
Copyright © 2018 The University of Manchester. All rights reserved.