reasoner
Class DynamicInd

java.lang.Object
  extended by reasoner.Individual
      extended by reasoner.DynamicInd
All Implemented Interfaces:
java.lang.Comparable<Individual>
Direct Known Subclasses:
EventInd, ULineInd

public abstract class DynamicInd
extends Individual

This abstract class represents the Dynamic Individuals. Concrete subclass are ULineInd and EventInd only. Every DynamicInd belongs necessarly to one and only one ULineEvent

Author:
marco furlan

Field Summary
protected  ULineEvent uLineEvent
           
 
Fields inherited from class reasoner.Individual
kb, name, NOW, SELF, time
 
Constructor Summary
DynamicInd(java.lang.String name, ULineEvent line, double time, KnowledgeBase kb)
          Constructs a new DynamicInd, by name, ULineEvent, time and KnowledgeBase
 
Method Summary
abstract  double eval(Concept c)
          Evaluates the membership value for this DynamicInd in the given Concept
 ULineEvent getULineEvent()
           
 void setULineEvent(ULineEvent line)
           
 
Methods inherited from class reasoner.Individual
compareTo, getKb, getName, getNOW, getSELF, getTime, setKb, setName, setTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uLineEvent

protected ULineEvent uLineEvent
Constructor Detail

DynamicInd

public DynamicInd(java.lang.String name,
                  ULineEvent line,
                  double time,
                  KnowledgeBase kb)
Constructs a new DynamicInd, by name, ULineEvent, time and KnowledgeBase

Parameters:
name - the name
line - the ULineEvent
time - the time
kb - the KnowledgeBase
Method Detail

eval

public abstract double eval(Concept c)
Evaluates the membership value for this DynamicInd in the given Concept

Specified by:
eval in class Individual
Parameters:
c - the Concept
See Also:
Individual.eval(reasoner.Concept)

getULineEvent

public ULineEvent getULineEvent()
Returns:
the ULineEvent

setULineEvent

public void setULineEvent(ULineEvent line)
Parameters:
line - the ULineEvent to set