reasoner
Class EventInd

java.lang.Object
  extended by reasoner.Individual
      extended by reasoner.DynamicInd
          extended by reasoner.EventInd
All Implemented Interfaces:
java.lang.Comparable<Individual>

public class EventInd
extends DynamicInd

This class represents Event Individuals as subclass of DynamicInd

Author:
marco furlan

Field Summary
 
Fields inherited from class reasoner.DynamicInd
uLineEvent
 
Fields inherited from class reasoner.Individual
kb, name, NOW, SELF, time
 
Constructor Summary
EventInd(java.lang.String name, ULineEvent line, double time, KnowledgeBase kb)
          Constructs a new EventInd by name, ULineEvent, time and Knowledge Base
EventInd(java.lang.String name, ULineEvent line, KnowledgeBase kb)
          Constructs a new EventInd by name, ULineEvent and Knowledge Base.
 
Method Summary
 double eval(Concept c)
          Evaluates the membership value for this EventInd in the given Concept
 
Methods inherited from class reasoner.DynamicInd
getULineEvent, setULineEvent
 
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
 

Constructor Detail

EventInd

public EventInd(java.lang.String name,
                ULineEvent line,
                KnowledgeBase kb)
Constructs a new EventInd by name, ULineEvent and Knowledge Base. It's time is set to the NOW constant

Parameters:
name - the name
line - the ULineEvent
kb - the Knowledge Base

EventInd

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

Parameters:
name - the name
line - the ULineEvent
time - the time
kb - the Knowledge Base
Method Detail

eval

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

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