fuzzydl
Class CreatedIndividual

java.lang.Object
  extended by fuzzydl.Individual
      extended by fuzzydl.CreatedIndividual

public class CreatedIndividual
extends Individual

New individual (created during the reasoning).


Field Summary
static int DIRECTLY_BLOCKED
          Direct blocking.
static int INDIRECTLY_BLOCKED
          Indirect blocking.
 java.util.ArrayList<Label> weightedConceptList
          List of weighted concepts.
 
Fields inherited from class fuzzydl.Individual
atomicAssertions, compAtomicAssertions, DEFAULT_NAME, fillersToShow, name, negativeRoleRelations, representatives, roleRelations, roleRestrictions, tempRoleRelations
 
Constructor Summary
CreatedIndividual(java.lang.String name)
          Constructor.
CreatedIndividual(java.lang.String name, Individual parent, java.lang.String roleName)
          Constructor.
 
Method Summary
 CreatedIndividual clone()
           
 int getBlockingType()
          Gets the blocking type.
 Individual getParent()
          Gets the parent of the individual.
 java.lang.String getParentName()
          Gets the getName of the parent of the individual.
 java.lang.String getRoleName()
          Gets the getName 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 setConcreteIndividual()
          Sets that the individual is concrete.
 void unblock()
          Unblocks the individual.
 
Methods inherited from class fuzzydl.Individual
addFillerToShow, addNegativeRelation, solveRelationRestriction, toString, unblock
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DIRECTLY_BLOCKED

public static final int DIRECTLY_BLOCKED
Direct blocking.

See Also:
Constant Field Values

INDIRECTLY_BLOCKED

public static final int INDIRECTLY_BLOCKED
Indirect blocking.

See Also:
Constant Field Values

weightedConceptList

public java.util.ArrayList<Label> weightedConceptList
List of weighted concepts.

Constructor Detail

CreatedIndividual

public CreatedIndividual(java.lang.String name)
Constructor.

Parameters:
name - Name of the individual.

CreatedIndividual

public CreatedIndividual(java.lang.String name,
                         Individual parent,
                         java.lang.String roleName)
Constructor.

Parameters:
name - Name of the individual.
parent - Parent of the individual.
roleName - Name of the role for which the individual is a filler.
Method Detail

clone

public CreatedIndividual clone()
Overrides:
clone in class Individual

getParent

public Individual getParent()
Gets the parent of the individual.

Returns:
Parent of the individual

getParentName

public java.lang.String getParentName()
Gets the getName of the parent of the individual.

Returns:
Name of the parent of the individual

getBlockingType

public int getBlockingType()
Gets the blocking type.

Returns:
Blocking type of the the individual.

getRoleName

public java.lang.String getRoleName()
Gets the getName of the role for which the individual is a filler.

Returns:
Name of the role for which the individual is a filler

isIndirectlyBlocked

public boolean isIndirectlyBlocked(KnowledgeBase kb)
Gets if the individual is indirectly blocked with respect to a fuzzy KB.

Parameters:
kb - A fuzzy KB.
Returns:
true if the individual is indirectly blocked; false otherwise.

isBlocked

public boolean isBlocked(KnowledgeBase kb)
Gets if the individual is blocked with respect to a fuzzy KB.

Parameters:
kb - A fuzzy KB.
Returns:
true if the individual is blocked; false otherwise.

unblock

public void unblock()
Unblocks the individual.


setConcreteIndividual

public void setConcreteIndividual()
Sets that the individual is concrete.


isConcrete

public boolean isConcrete()
Checks if the individual is concrete.

Returns:
true if the individual is concrete; false otherwise.