<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_4 extends TypedAtomicActor {

  /** Parameters and Ports. */
  public TypedIOPort IP_5;
  public TypedIOPort IP_6;
  public TypedIOPort IP_7;
  public TypedIOPort IP_8;
  public TypedIOPort IP_9;
  public TypedIOPort IP_10;

  public TypedIOPort OP_1;
  public TypedIOPort OP_2;
  public TypedIOPort OP_3;
  public TypedIOPort OP_2_d1;
  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;
  private Double in_2;

  // 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_4(TypedCompositeActor aContainer, String aName) 
    throws IllegalActionException, NameDuplicationException { 

    super(aContainer, aName);

    IP_5 = new TypedIOPort(this, "IP_5" ,true,false); 
    IP_6 = new TypedIOPort(this, "IP_6" ,true,false); 
    IP_7 = new TypedIOPort(this, "IP_7" ,true,false); 
    IP_8 = new TypedIOPort(this, "IP_8" ,true,false); 
    IP_9 = new TypedIOPort(this, "IP_9" ,true,false); 
    IP_10 = new TypedIOPort(this, "IP_10" ,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_2_d1 = new TypedIOPort(this, "OP_2_d1" ,false,true); 
    OP_1_d1 = new TypedIOPort(this, "OP_1_d1" ,false,true); 

    IP_5.setTypeEquals(BaseType.DOUBLE);
    IP_6.setTypeEquals(BaseType.DOUBLE);
    IP_7.setTypeEquals(BaseType.DOUBLE);
    IP_8.setTypeEquals(BaseType.DOUBLE);
    IP_9.setTypeEquals(BaseType.DOUBLE);
    IP_10.setTypeEquals(BaseType.DOUBLE);

    OP_1.setTypeEquals(BaseType.DOUBLE);
    OP_2.setTypeEquals(BaseType.DOUBLE);
    OP_3.setTypeEquals(BaseType.DOUBLE);
    OP_2_d1.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>
