public final class CellNetwork
extends java.lang.Object
A network of ComputeCell
s. This class provides support for
computational networks of ComputeCell
s that perform their work more
efficiently than a naive network.
This class is thread-compatible but not thread-safe. Clients should synchronize access to an instance of this class when appropriate.
Constructor and Description |
---|
CellNetwork()
Constructs from nothing.
|
Modifier and Type | Method and Description |
---|---|
void |
add(ComputeCell cell)
Adds a cell.
|
void |
configure()
Configures the network.
|
void |
remove(ComputeCell cell)
Removes a cell.
|
public void add(ComputeCell cell)
cell
- The cell to be added to this network.public void remove(ComputeCell cell)
cell
- The cell to be removed from this network.public void configure() throws visad.VisADException, java.rmi.RemoteException
CellCycleException
- if the directed graph of dependencies of the
cells contains a cycle.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.