@PortedFrom(file="ConceptWithDep.h", name="Concept") public class Concept extends ClassifiableEntry
| Modifier and Type | Class and Description |
|---|---|
static class |
Concept.CTTag
type of concept wrt classifiability
|
| Modifier and Type | Field and Description |
|---|---|
protected DLTree |
description |
index, pSynonym, taxVertex, toldSubsumersentity, extId, extName| Modifier and Type | Method and Description |
|---|---|
void |
addDesc(DLTree Desc) |
void |
addExtraRule(int p)
add index of a simple rule in TBox to the ER set
|
void |
addLeaves(Collection<DLTree> Desc) |
int |
calculateTSDepth() |
boolean |
canInitNonPrim(DLTree desc)
check whether it is possible to init this as a non-primitive concept with
DESC
|
void |
dropRelevant(long lab)
make given concept irrelevant to given Labeller's state
|
static Concept |
getBOTTOM() |
Concept.CTTag |
getClassTag()
get value of a tag; determine it if unset
|
Concept.CTTag |
getClassTagPlain() |
DLTree |
getDescription() |
FastSet |
getExtraRules()
iterator for accessing DJ elements
|
LogicFeatures |
getNegFeatures() |
int |
getpBody() |
int |
getpName() |
LogicFeatures |
getPosFeatures() |
static Concept |
getTEMP() |
static Concept |
getTOP() |
int |
getTsDepth() |
boolean |
hasExtraRules()
check if a concept is in a disjoint relation with anything
|
void |
initToldSubsumers()
init told subsumers of the concept by it's description
|
boolean |
initToldSubsumers(DLTree _desc,
Set<Role> RolesProcessed)
init told subsumers of the concept by given DESCription; @return TRUE iff
concept is CD
|
boolean |
isHasSP()
a HasSingletonParent flag
|
boolean |
isNominal() |
boolean |
isPrimitive() |
boolean |
isRelevant(long lab)
is given concept relevant to given Labeller's state
|
boolean |
isSingleton() |
DLTree |
makeNonPrimitive(DLTree desc)
switch primitive concept to non-primitive with new definition; @return
old definition
|
void |
push(LinkedList<DLTree> stack,
DLTree current) |
void |
removeDescription()
remove concept description (to save space)
|
void |
removeSelfFromDescription()
remove concept from its own definition (like in case C [= (or C ...)
|
int |
resolveId() |
void |
searchTSbyRoleAndSupers(Role r,
Set<Role> RolesProcessed) |
void |
setHasSP(boolean action) |
void |
setNominal(boolean action) |
void |
setpBody(int pBody) |
void |
setpName(int pName) |
void |
setPrimitive(boolean action) |
void |
setRelevant(long lab)
make given concept relevant to given Labeller's state
|
void |
setSingleton(boolean action) |
void |
setToldTop(Concept top)
init TOP told subsumer if necessary
|
String |
toString() |
addParent, addParentIfNew, addParents, canonicaliseSynonym, clearCompletelyDefined, clearNonClassifiable, getIndex, getSynonym, getTaxVertex, getToldSubsumers, hasToldSubsumers, isClassified, isCompletelyDefined, isNonClassifiable, isSynonym, removeSynonymsFromParents, resolveSynonym, setCompletelyDefined, setIndex, setNonClassifiable, setNonClassifiable, setSynonym, setTaxVertex@PortedFrom(file="tConcept.h", name="Description") protected DLTree description
public Concept(String name)
@PortedFrom(file="tConcept.h", name="addExtraRule") public void addExtraRule(int p)
@PortedFrom(file="tConcept.h", name="hasExtraRules") public boolean hasExtraRules()
@PortedFrom(file="tConcept.h", name="er_begin") public FastSet getExtraRules()
@Original public Concept.CTTag getClassTagPlain()
@PortedFrom(file="tConcept.h", name="getClassTag") public Concept.CTTag getClassTag()
@PortedFrom(file="tConcept.h", name="removeSelfFromDescription") public void removeSelfFromDescription()
@PortedFrom(file="tConcept.h", name="removeDescription") public void removeDescription()
@PortedFrom(file="tConcept.h", name="canInitNonPrim") public boolean canInitNonPrim(DLTree desc)
@PortedFrom(file="tConcept.h", name="makeNonPrimitive") public DLTree makeNonPrimitive(DLTree desc)
public String toString()
toString in class NamedEntry@PortedFrom(file="tConcept.h", name="initToldSubsumers") public void initToldSubsumers()
@PortedFrom(file="tConcept.h", name="setToldTop") public void setToldTop(Concept top)
@PortedFrom(file="tConcept.h", name="resolveId") public int resolveId()
@PortedFrom(file="tConcept.h", name="addDesc") public void addDesc(DLTree Desc)
@Original public void addLeaves(Collection<DLTree> Desc)
@Original public void push(LinkedList<DLTree> stack, DLTree current)
@PortedFrom(file="tConcept.h", name="initToldSubsumers") public boolean initToldSubsumers(DLTree _desc, Set<Role> RolesProcessed)
@PortedFrom(file="tConcept.h", name="SearchTSbyRoleAndSupers") public void searchTSbyRoleAndSupers(Role r, Set<Role> RolesProcessed)
@PortedFrom(file="tConcept.h", name="calculateTSDepth") public int calculateTSDepth()
@Original public int getpName()
@Original public void setpName(int pName)
@Original public int getpBody()
@Original public void setpBody(int pBody)
@Original public int getTsDepth()
@Original public LogicFeatures getNegFeatures()
@Original public LogicFeatures getPosFeatures()
@Original public boolean isPrimitive()
@Original public void setPrimitive(boolean action)
@Original public boolean isHasSP()
@Original public void setHasSP(boolean action)
@Original public boolean isNominal()
@Original public void setNominal(boolean action)
@Original public boolean isSingleton()
@Original public void setSingleton(boolean action)
@PortedFrom(file="tConcept.h", name="isRelevant") public boolean isRelevant(long lab)
@PortedFrom(file="tConcept.h", name="setRelevant") public void setRelevant(long lab)
@PortedFrom(file="tConcept.h", name="dropRelevant") public void dropRelevant(long lab)
Copyright © 2013 The University of Manchester. All Rights Reserved.