nenok.net.task
Class Marginalization

java.lang.Object
  extended by nenok.net.task.Marginalization
All Implemented Interfaces:
Serializable, Task

public final class Marginalization
extends Object
implements Task

Command design pattern class for the marginalization operation.

Version:
1.1
Author:
Marc Pouly
See Also:
Serialized Form

Constructor Summary
protected Marginalization(Locator factor, Domain dom)
          Constructor:
 
Method Summary
 Envelope execute()
          Execution method of the COMMAND design pattern.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Marginalization

protected Marginalization(Locator factor,
                          Domain dom)
Constructor:

Parameters:
factor - The locator of the valuation to be marginalized.
dom - The domain onto the marginalization is performed.
Method Detail

execute

public Envelope execute()
                 throws RemoteException,
                        VAException
Description copied from interface: Task
Execution method of the COMMAND design pattern.

Specified by:
execute in interface Task
Returns:
The envelope containing the task's result.
Throws:
RemoteException - Exception caused when remote processors are accessed.
VAException - Exception caused by illegal valuation algebra operations.
See Also:
Task.execute()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()