@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 |
|---|---|
static org.semanticweb.owlapi.model.IRI |
nothing
nothing concept iri
|
static org.semanticweb.owlapi.model.IRI |
query
query concept iri
|
static org.semanticweb.owlapi.model.IRI |
temp
temp concept iri
|
static org.semanticweb.owlapi.model.IRI |
thing
thing concept iri
|
| Constructor and Description |
|---|
Concept(org.semanticweb.owlapi.model.IRI name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDesc(DLTree desc) |
void |
addExtraRule(int ruleIndex)
add index of a simple rule in TBox to the ER set
|
void |
addLeaves(Collection<DLTree> desc) |
int |
calculateTSDepth() |
boolean |
canInitNonPrim(DLTree desc) |
void |
clear()
clear concept
|
void |
dropRelevant()
make given concept irrelevant to given Labeller's state
|
static Concept |
getBOTTOM(org.semanticweb.owlapi.model.OWLDataFactory df) |
Concept.CTTag |
getClassTag() |
Concept.CTTag |
getClassTagPlain() |
DLTree |
getDescription() |
uk.ac.manchester.cs.chainsaw.FastSet |
getExtraRules() |
LogicFeatures |
getNegFeatures() |
int |
getpBody() |
int |
getpName() |
LogicFeatures |
getPosFeatures() |
static Concept |
getQuery() |
static Concept |
getTEMP() |
static Concept |
getTOP(org.semanticweb.owlapi.model.OWLDataFactory df) |
int |
getTsDepth() |
boolean |
hasExtraRules() |
void |
initToldSubsumers()
init told subsumers of the concept by its description
|
boolean |
initToldSubsumers(DLTree desc,
Set<Role> rolesProcessed)
init told subsumers of the concept by given DESCription;
|
boolean |
isHasSP() |
boolean |
isNominal() |
boolean |
isNonPrimitive() |
boolean |
isPrimitive() |
boolean |
isRelevant(long lab) |
boolean |
isSingleton() |
DLTree |
makeNonPrimitive(DLTree desc)
switch primitive concept to non-primitive with new definition;
|
void |
push(Deque<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, getIndex, getSynonym, getTaxVertex, getToldSubsumers, hasToldSubsumers, isClassified, isCompletelyDefined, isNonClassifiable, isSynonym, removeSynonymsFromParents, resolveSynonym, setCompletelyDefined, setIndex, setNonClassifiable, setSynonym, setTaxVertexpublic static final org.semanticweb.owlapi.model.IRI temp
public static final org.semanticweb.owlapi.model.IRI query
public static final org.semanticweb.owlapi.model.IRI nothing
public static final org.semanticweb.owlapi.model.IRI thing
public Concept(org.semanticweb.owlapi.model.IRI name)
name - name@Original public static Concept getBOTTOM(org.semanticweb.owlapi.model.OWLDataFactory df)
df - data factory@Original public static Concept getTOP(org.semanticweb.owlapi.model.OWLDataFactory df)
df - data factorypublic static Concept getQuery()
@PortedFrom(file="tConcept.h", name="addExtraRule") public void addExtraRule(int ruleIndex)
ruleIndex - ruleIndex@PortedFrom(file="tConcept.h", name="hasExtraRules") public boolean hasExtraRules()
@PortedFrom(file="tConcept.h", name="er_begin") public uk.ac.manchester.cs.chainsaw.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)
desc - desc@PortedFrom(file="tConcept.h", name="makeNonPrimitive") public DLTree makeNonPrimitive(DLTree desc)
desc - descpublic 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)
top - top@PortedFrom(file="tConcept.h", name="resolveId") public int resolveId()
@PortedFrom(file="tConcept.h", name="addDesc") public void addDesc(@Nullable DLTree desc)
desc - Desc@Original public void addLeaves(Collection<DLTree> desc)
desc - Desc@Original public void push(Deque<DLTree> stack, DLTree current)
stack - stackcurrent - current@PortedFrom(file="tConcept.h", name="initToldSubsumers") public boolean initToldSubsumers(@Nullable DLTree desc, Set<Role> rolesProcessed)
desc - _descrolesProcessed - RolesProcessed@PortedFrom(file="tConcept.h", name="SearchTSbyRoleAndSupers") public void searchTSbyRoleAndSupers(Role r, Set<Role> rolesProcessed)
r - rrolesProcessed - RolesProcessed@PortedFrom(file="tConcept.h", name="calculateTSDepth") public int calculateTSDepth()
@PortedFrom(file="tConcept.h", name="clear") public void clear()
@Original public int getpName()
@Original public void setpName(int pName)
pName - pName@Original public int getpBody()
@Original public void setpBody(int pBody)
pBody - pBody@Original public int getTsDepth()
@Original public LogicFeatures getNegFeatures()
@Original public LogicFeatures getPosFeatures()
@Original public boolean isPrimitive()
@Original public boolean isNonPrimitive()
@Original public void setPrimitive(boolean action)
action - action@Original public boolean isHasSP()
@Original public void setHasSP(boolean action)
action - action@Original public boolean isNominal()
@Original public void setNominal(boolean action)
action - action@Original public boolean isSingleton()
@Original public void setSingleton(boolean action)
action - action@PortedFrom(file="tConcept.h", name="isRelevant") public boolean isRelevant(long lab)
lab - lab@PortedFrom(file="tConcept.h", name="setRelevant") public void setRelevant(long lab)
lab - lab@PortedFrom(file="tConcept.h", name="dropRelevant") public void dropRelevant()
Copyright © 2018 The University of Manchester. All rights reserved.