affectors
Class PlaceHolderAff

java.lang.Object
  extended byaffectors.Affector
      extended byaffectors.PlaceHolderAff
All Implemented Interfaces:
java.lang.Cloneable

public class PlaceHolderAff
extends Affector

Placeholder affector for use with creating dummy (i.e. nonused) parameters. Ingeneue throws a fit if there are parameters that are not used. Put this in a cytoplasmic node, else you're going to be calling this more times than you need to.

Formula
dnodex/dt = 0

Parameters

param Dummy parameter

Usage
&nodex

&PlaceHolderAff Dummy
&endnodex


Field Summary
 
Fields inherited from class affectors.Affector
ADesc, affectorType, CC, CERTIFICATION, CONVERSION, copyNumber, DEGRADATION, FF, firstFreeParam, GG, GUI_CAPABLE, HH, KK, MATHTYPE, NDesc, PDesc, PRODUCTION, RETURNS_DERIV, RETURNS_PARTIALS, TERMTYPE, TT, Type, UNSPECIFIED
 
Constructor Summary
PlaceHolderAff()
          Constructor for this Affector.
 
Method Summary
 float getValue(Node which_node)
           
protected  void setLabelsAndTypes()
           
 void setParameterNumbers(int[] param_nums)
           
 
Methods inherited from class affectors.Affector
addDefaultParam, Chi, clearStatic, copy_, copy, doesContainTarget, findOrCreateParam, findParam, fixNodes, getNCValue, getNodes, getNumNodes, getNumParameters, getOtherSide, getParameter, getParameter, getParamName, getParamPos, getParamValue, getParamValue, getParamVariationMode, init, isLinearInTarget, Phi, Psi, setContainsTarget, setDescriptions, setParameter, setParamRange, setParamRange, setParamValue, setParamValue, setSide, setSided
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlaceHolderAff

public PlaceHolderAff()
Constructor for this Affector. All Affectors must use a no-argument constructor, and currently there is no need to do anything in the constructor of most Affectors. You do need to change the name here from TemplateAff to [YourAffectorsName]Aff.

Method Detail

setLabelsAndTypes

protected void setLabelsAndTypes()
Specified by:
setLabelsAndTypes in class Affector

setParameterNumbers

public void setParameterNumbers(int[] param_nums)
Specified by:
setParameterNumbers in class Affector

getValue

public float getValue(Node which_node)
Overrides:
getValue in class Affector