nenok.lc.id
Class IDNode
java.lang.Object
nenok.lc.Node
nenok.lc.id.IDNode
public class IDNode
- extends Node
This is the node class implementation that belongs to the idempotent architecture.
- Version:
- 1.2
- Author:
- Marc Pouly
Method Summary |
void |
collect(Allocator allocator)
Executes the collect algorithm for this node. |
void |
distribute()
Executes the distribute algorithm for this node. |
Methods inherited from class nenok.lc.Node |
addParent, addParents, findCoveringNode, findLargestDomain, findProcessors, getChild, getDomain, getLeaves, getLocator, getNodes, getParents, getProcessor, getTotalDomain, getValuation, isBinary, makeBinary, removeParent, setChild, setDomain, setLocator, setProcessor, subTreeSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IDNode
public IDNode(TaskFactory factory)
- Constructor:
- Parameters:
factory
- The task factory for this node.
collect
public void collect(Allocator allocator)
throws LCException,
RemoteException
- Description copied from class:
Node
- Executes the collect algorithm for this node.
- Specified by:
collect
in class Node
- Parameters:
allocator
- The processor allocation strategy for this node.
- Throws:
LCException
- Exception caused by the collect propagation.
RemoteException
- Exceptions caused by communication problems when accessing processors.- See Also:
Node.collect(nenok.lc.alloc.Allocator)
distribute
public void distribute()
throws LCException,
RemoteException
- Description copied from class:
Node
- Executes the distribute algorithm for this node.
- Specified by:
distribute
in class Node
- Throws:
LCException
- Exception caused by the distribute propagation.
RemoteException
- Exceptions caused by communication problems when accessing processors.- See Also:
Node.distribute()