Class CA2DConvolution

  • All Implemented Interfaces:
    java.lang.Cloneable, Actor, Executable, FiringsRecordable, Initializable, TypedActor, Changeable, Debuggable, DebugListener, Derivable, Instantiable, ModelErrorHandler, MoMLExportable, Moveable, Nameable

    public class CA2DConvolution
    extends TypedCompositeActor
    Cellular Automata 2D Convolution Actor.

    The CA2DConvolution actor should be used in conjunction with the CADirector. To use this actor, it is highly recommended to start with one of the examples. The examples have the required variables (used by the director) added to the canvas and connected to the correct input and output ports of the CA2DConvolution actor. The actor should be used to perform convolution operations in discrete two-dimensional (2D) space. The inputs are: i and j, the x and yLocation of the current space on the 2D grid; the currentValue of the space (i,j) on the grid; and the currentValues of all neighboring cells in the grid. The output is the newValue at 2D grid position (i,j).

    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Zach Ezzell, Contributor: Christopher Brooks
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)