org.jcpsim.parameter
Class Input
java.lang.Object
org.jcpsim.parameter.Parameter
org.jcpsim.parameter.Input
public class Input
- extends Parameter
A Parameter that can be set by the user.
- THERAPY : influences the results (PEEP)
- PATIENT : influences the results, but can not be changed
for therapy (compliance of left lung)
- NOEFFECT: does not influence the results (brightness of ventilator
display)
- CONTROL : variable outside of the simulation scenario
(simulation speed)
|
Nested Class Summary |
static class |
Input.Scale
Exports Parameter to an XML configuration document. |
|
Constructor Summary |
Input(ParameterMeta meta,
java.lang.String name,
Unit unit)
|
Input(ParameterMeta meta,
java.lang.String name,
Unit unit,
double def)
|
Input(ParameterMeta meta,
java.lang.String name,
Unit unit,
double def,
double max)
|
Input(ParameterMeta meta,
java.lang.String name,
Unit unit,
double min,
double def,
double max)
|
Input(ParameterMeta meta,
java.lang.String name,
Unit unit,
double min,
double def,
double max,
double step)
|
Input(ParameterMeta meta,
java.lang.String name,
Unit unit,
double min,
double def,
double max,
double step,
org.jcpsim.parameter.Parameter.Scale sc)
|
| Methods inherited from class org.jcpsim.parameter.Parameter |
compute, get, getBarW, getBarX, getBoxed, getBoxedRatio, getId, getKey, getLongName, getMax, getMin, getName, getOptimize, getParameterMeta, getRaw, getStep, getUnit, I18N, Ratio, set, setOptimize, toShortString, toString, toUrl, valueAndUnit, valueAsString, valueChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
def
public double def
scale
public org.jcpsim.parameter.Parameter.Scale scale
i
public int i
maxint
public int maxint
bits
public int bits
Input
public Input(ParameterMeta meta,
java.lang.String name,
Unit unit,
double min,
double def,
double max,
double step,
org.jcpsim.parameter.Parameter.Scale sc)
Input
public Input(ParameterMeta meta,
java.lang.String name,
Unit unit,
double min,
double def,
double max,
double step)
Input
public Input(ParameterMeta meta,
java.lang.String name,
Unit unit,
double min,
double def,
double max)
Input
public Input(ParameterMeta meta,
java.lang.String name,
Unit unit,
double def,
double max)
Input
public Input(ParameterMeta meta,
java.lang.String name,
Unit unit,
double def)
Input
public Input(ParameterMeta meta,
java.lang.String name,
Unit unit)
getDefault
public double getDefault()
setToDefault
public void setToDefault()
iToD
public double iToD(int i)
dToI
public int dToI(double d)
setInteger
public void setInteger(int x)
setDouble
public void setDouble(double v)
add
public void add(int x)
addCyclic
public void addCyclic(int x)
addProportional
public void addProportional(double i)
jCpSim (Java CardioPulmonary SIMulations), v0.2.01
Dr. Frank Fischer, frank@jcpsim.org, http://www.jcpsim.org