reasoner
Class StaticInd

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

public class StaticInd
extends Individual

This class represents the Static Individuals. Every StaticInd has time set to the NOW contant.

Author:
marco furlan

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

StaticInd

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

Parameters:
name - the name
kb - the KnowledgeBase

StaticInd

public StaticInd(java.lang.String name,
                 double time,
                 KnowledgeBase kb)
Constructs a new StaticInd, by name, time and KnowledgeBase. It's time has to be equals to the constant NOW. This constructor is the same as the constructor by name and KnowledgeBase.

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

eval

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

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