public class CreatedIndividual extends Individual
| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCKED
Blocked.
|
static int |
NOT_BLOCKED
Not blocked.
|
static int |
UNCHECKED
Unchecked blocking.
|
DEFAULT_NAME| Constructor and Description |
|---|
CreatedIndividual(java.lang.String name)
Constructor.
|
CreatedIndividual(java.lang.String name,
Individual parent,
java.lang.String roleName)
Constructor.
|
CreatedIndividual(java.lang.String name,
Individual parent,
java.lang.String roleName,
KnowledgeBase kb)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CreatedIndividual |
clone()
Gets a copy of an individual.
|
int |
getDepth()
Gets the depth of the individual.
|
int |
getIntegerID()
Gets the integer ID from the individual's name
|
Individual |
getParent()
Gets the parent of the individual.
|
java.lang.String |
getParentName()
Gets the name of the parent of the individual.
|
java.lang.String |
getRoleName()
Gets the toString of the role for which the individual is a filler.
|
boolean |
isBlocked(KnowledgeBase kb)
Gets if the individual is blocked with respect to a fuzzy KB.
|
boolean |
isConcrete()
Checks if the individual is concrete.
|
boolean |
isIndirectlyBlocked(KnowledgeBase kb)
Gets if the individual is indirectly blocked with respect to a fuzzy KB.
|
void |
markIndirectlySimpleUnChecked(KnowledgeBase kb)
Marks the subtree of a node as indirectly unblocked
|
void |
setConcreteIndividual()
Sets that the individual is concrete.
|
toStringpublic static final int BLOCKED
public static final int NOT_BLOCKED
public static final int UNCHECKED
public CreatedIndividual(java.lang.String name)
name - Name of the individual.public CreatedIndividual(java.lang.String name,
Individual parent,
java.lang.String roleName)
name - Name of the individual.parent - Parent of the individual.roleName - Name of the role for which the individual is a filler.public CreatedIndividual(java.lang.String name,
Individual parent,
java.lang.String roleName,
KnowledgeBase kb)
name - Name of the individual.parent - Parent of the individual.roleName - Name of the role for which the individual is a filler.kb - the knowledge base.public CreatedIndividual clone()
Individualclone in class Individualpublic int getDepth()
public int getIntegerID()
public Individual getParent()
public java.lang.String getParentName()
public java.lang.String getRoleName()
public boolean isIndirectlyBlocked(KnowledgeBase kb) throws InconsistentOntologyException
kb - A fuzzy KB.InconsistentOntologyException - Inconsistent ontology.public void markIndirectlySimpleUnChecked(KnowledgeBase kb)
kb - KnowledgeBasepublic boolean isBlocked(KnowledgeBase kb) throws InconsistentOntologyException
kb - A fuzzy KB.InconsistentOntologyException - Inconsistent ontology.public void setConcreteIndividual()
public boolean isConcrete()