Package ucar.unidata.view.sounding
Class CellNetwork
java.lang.Object
ucar.unidata.view.sounding.CellNetwork
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.
- Version:
- $Revision: 1.7 $ $Date: 2005/05/13 18:33:25 $
- Author:
- Steven R. Emmerson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ComputeCell cell) Adds a cell.void
Configures the network.void
remove
(ComputeCell cell) Removes a cell.
-
Constructor Details
-
CellNetwork
public CellNetwork()Constructs from nothing.
-
-
Method Details
-
add
Adds a cell.- Parameters:
cell
- The cell to be added to this network.
-
remove
Removes a cell.- Parameters:
cell
- The cell to be removed from this network.
-
configure
Configures the network. The network is analyzed for dependencies and the input data references of the individual cells are appropriately adjusted.- Throws:
CellCycleException
- if the directed graph of dependencies of the cells contains a cycle.VisADException
- if a VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.
-