Package ucar.unidata.view.sounding
Class CellNetwork
java.lang.Object
ucar.unidata.view.sounding.CellNetwork
A network of ComputeCells. This class provides support for
computational networks of ComputeCells 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 TypeMethodDescriptionvoidadd(ComputeCell cell) Adds a cell.voidConfigures the network.voidremove(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.
-