Class CellNetwork

java.lang.Object
ucar.unidata.view.sounding.CellNetwork

public final class CellNetwork extends Object

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 Details

    • CellNetwork

      public CellNetwork()
      Constructs from nothing.
  • Method Details

    • add

      public void add(ComputeCell cell)
      Adds a cell.
      Parameters:
      cell - The cell to be added to this network.
    • remove

      public void remove(ComputeCell cell)
      Removes a cell.
      Parameters:
      cell - The cell to be removed from this network.
    • configure

      public void configure() throws VisADException, RemoteException
      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.