org.simBio.util.numerical
Class MathUnivariableFunction

java.lang.Object
  extended by org.simBio.core.Component
      extended by org.simBio.core.Parameter
          extended by org.simBio.core.Composite
              extended by org.simBio.util.numerical.MathUnivariableFunction
All Implemented Interfaces:
Node
Direct Known Subclasses:
CrossBridgeForce, ForceEquilibrium, ParallelElementForce

public abstract class MathUnivariableFunction
extends Composite

This abstract class represents a mathematical function on a simBio model tree (light-weight version).

Version:
$Revision: 1.1 $
Author:
SHIMAYOSHI Takao

Field Summary
 
Fields inherited from class org.simBio.core.Parameter
value
 
Constructor Summary
MathUnivariableFunction()
           
 
Method Summary
abstract  double evaluate(double x)
          Evaluates this function at specified value.
 
Methods inherited from class org.simBio.core.Composite
accept, getLink, getNode, getNodesIterator, getNodesSize
 
Methods inherited from class org.simBio.core.Parameter
addValue, getValue, getValueString, prepare, setInitializer, setValue, setValueString, setValueToField
 
Methods inherited from class org.simBio.core.Component
addDydt, end, getIndent, getIndentedShortName, getName, getName, getParent, getRoot, getShortName, getUnits, isNamed, isPrefixed, logIndented, quit, setLinks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.simBio.core.Node
addDydt, addValue, getValue, setValue
 

Constructor Detail

MathUnivariableFunction

public MathUnivariableFunction()
Method Detail

evaluate

public abstract double evaluate(double x)
Evaluates this function at specified value.

Parameters:
x - The value.
Returns:
the function value.


Copyright © 2002-2008 Cell/Biodinamics simulation project. All Rights Reserved.