de.unidu.is.pdatalog.ds
Class ProbExpression
java.lang.Object
de.unidu.is.expressions.AbstractExpression
de.unidu.is.pdatalog.ds.ProbExpression
- All Implemented Interfaces:
- Expression
- public class ProbExpression
- extends AbstractExpression
The expression representing the overall probability of facts derived by the
single, obtained by the independence assumption.
- Version:
- $Revision: 1.5 $, $Date: 2005/02/28 22:27:55 $
- Author:
- nottelma
|
Method Summary |
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
Expression |
substitute(java.util.Map binding)
Performs an substitution for variables, e.g. for each key
variable in the specified binding, all occurences of
${key} are replaced by the corresponding value in the
map. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ProbExpression
public ProbExpression()
- Creates a new object.
toString
public java.lang.String toString()
equals
public boolean equals(java.lang.Object o)
substitute
public Expression substitute(java.util.Map binding)
- Description copied from class:
AbstractExpression
- Performs an substitution for variables, e.g. for each key
variable in the specified binding, all occurences of
${key} are replaced by the corresponding value in the
map.
Here, the same untouched expression is returned. Subclasses can
overwrite this behaviour.
- Specified by:
substitute in interface Expression- Overrides:
substitute in class AbstractExpression
- Parameters:
binding - variable binding
- Returns:
- expression after substitution
hashCode
public int hashCode()