<HTML>
<PRE>package ptolemy.domains.pn.panda.QRvr;


import java.util.*;
import ptolemy.data.*;
import ptolemy.actor.*;
import ptolemy.kernel.util.*;
import ptolemy.data.expr.Parameter;
import ptolemy.data.type.BaseType;
import ptolemy.domains.pn.panda.functions.*;

/**
This class describes a kahn process that is part of a process network. 
This process is automatically generated on 2000.08.17 at 03:58:04 PM PDT by the Panda tool.
See http://www.gigascale.org/compaan for more information about panda.

@author panda
*/
public class ND_3 extends TypedAtomicActor {

  /** Parameters and Ports. */
  public TypedIOPort IP_1;
  public TypedIOPort IP_2;
  public TypedIOPort IP_3;
  public TypedIOPort IP_4;

  public TypedIOPort OP_1;
  public TypedIOPort OP_2;
  public TypedIOPort OP_3;
  public TypedIOPort OP_1_d1;


  // -- Public interface of the Actor
  public Parameter parameter_N;
  public Parameter parameter_K;

  // -- Get private copies of  the parameters
  private int N;
  private int K;

  // Input Arguments 
  private Double in_0;
  private Double in_1;

  // Output Arguments 
  private Double out_0;
  private Double out_1;
  private Double out_2;

  private int _fire = 0;
  private boolean _returnValue = true;

  /** actor constructor. */
  public ND_3(TypedCompositeActor aContainer, String aName) 
    throws IllegalActionException, NameDuplicationException { 

    super(aContainer, aName);

    IP_1 = new TypedIOPort(this, "IP_1" ,true,false); 
    IP_2 = new TypedIOPort(this, "IP_2" ,true,false); 
    IP_3 = new TypedIOPort(this, "IP_3" ,true,false); 
    IP_4 = new TypedIOPort(this, "IP_4" ,true,false); 
    OP_1 = new TypedIOPort(this, "OP_1" ,false,true); 
    OP_2 = new TypedIOPort(this, "OP_2" ,false,true); 
    OP_3 = new TypedIOPort(this, "OP_3" ,false,true); 
    OP_1_d1 = new TypedIOPort(this, "OP_1_d1" ,false,true); 

    IP_1.setTypeEquals(BaseType.DOUBLE);
    IP_2.setTypeEquals(BaseType.DOUBLE);
    IP_3.setTypeEquals(BaseType.DOUBLE);
    IP_4.setTypeEquals(BaseType.DOUBLE);

    OP_1.setTypeEquals(BaseType.DOUBLE);
    OP_2.setTypeEquals(BaseType.DOUBLE);
    OP_3.setTypeEquals(BaseType.DOUBLE);
    OP_1_d1.setTypeEquals(BaseType.DOUBLE);

    // The Type of these Parameters is set by the First
    // Token placed in the parameters when created.
    parameter_N = new Parameter(this, "N" );
    parameter_K = new Parameter(this, "K" );
  } 

  /** initialize the actor. */
  public void initialize() throws IllegalActionException { 
    super.initialize();
    N = ((IntToken) parameter_N.getToken()).intValue();
    K = ((IntToken) parameter_K.getToken()).intValue();
    _returnValue = true;
  } 


  /** fire the actor. */
  public void fire() throws IllegalActionException {

  }


  /** post fire the actor. */
  public boolean postfire() throws IllegalActionException {
    return false;
  } 

}


</PRE>
</HTML>
