alun.markov
Class EqualityFunction

java.lang.Object
  extended by alun.markov.EqualityFunction
All Implemented Interfaces:
Function

public class EqualityFunction
extends java.lang.Object
implements Function


Constructor Summary
EqualityFunction(Variable xx, Variable yy)
           
 
Method Summary
 double getValue()
          Returns the current value of the Function.
 java.util.Set<Variable> getVariables()
          Returns the Set of Variables that are arguments to the function.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EqualityFunction

public EqualityFunction(Variable xx,
                        Variable yy)
Method Detail

getVariables

public java.util.Set<Variable> getVariables()
Description copied from interface: Function
Returns the Set of Variables that are arguments to the function.

Specified by:
getVariables in interface Function

getValue

public double getValue()
Description copied from interface: Function
Returns the current value of the Function.

Specified by:
getValue in interface Function