de.unidu.is.pdatalog
Class VagueLessThanRelation

java.lang.Object
  extended byde.unidu.is.pdatalog.Relation
      extended byde.unidu.is.pdatalog.EDBComputedRelation
          extended byde.unidu.is.pdatalog.VagueLessThanRelation

public class VagueLessThanRelation
extends EDBComputedRelation

A class for the pDatalog++ vague less-than relation which is computed on demand.

Since:
2003-10-08
Version:
$Revision: 1.6 $, $Date: 2005/03/14 17:33:13 $
Author:
Henrik Nottelmann

Field Summary
 
Fields inherited from class de.unidu.is.pdatalog.Relation
arity, base, name
 
Constructor Summary
VagueLessThanRelation(RelationBase base)
          Constructs a new relation, and automatically adds it to the relation base.
 
Method Summary
 void addProb(Literal literal, java.util.List prob)
          Adds arguments for computing a probability for the literal to the specified list.
 void addWhere(Literal literal, java.util.List where)
          Adds arguments for filtering for the literal to the specified list.
 
Methods inherited from class de.unidu.is.pdatalog.Relation
getArity, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VagueLessThanRelation

public VagueLessThanRelation(RelationBase base)
Constructs a new relation, and automatically adds it to the relation base.

Parameters:
base - corresponding relation base
Method Detail

addProb

public void addProb(Literal literal,
                    java.util.List prob)
Adds arguments for computing a probability for the literal to the specified list.

Specified by:
addProb in class EDBComputedRelation
Parameters:
literal - literal to be handled
prob - list of arguments for computing a probability

addWhere

public void addWhere(Literal literal,
                     java.util.List where)
Adds arguments for filtering for the literal to the specified list.

Specified by:
addWhere in class EDBComputedRelation
Parameters:
literal - literal to be handled
where - list of arguments for filtering