Package mgui.models.dynamic.functions
Class HardLimitFunction
java.lang.Object
mgui.interfaces.AbstractInterfaceObject
mgui.models.dynamic.functions.Function
mgui.models.dynamic.functions.HardLimitFunction
- All Implemented Interfaces:
AttributeObject
,InterfaceObject
,NamedObject
,TreeObject
,CleanableObject
public class HardLimitFunction extends Function
-
Field Summary
Fields inherited from class mgui.models.dynamic.functions.Function
attributes, isDestroyed
Fields inherited from class mgui.interfaces.AbstractInterfaceObject
tree_nodes
-
Constructor Summary
Constructors Constructor Description HardLimitFunction(double low, double mid, double high)
-
Method Summary
Modifier and Type Method Description double
evaluate(double input)
Evaluate function with a single parameter ddouble[]
evaluate(double[] input)
Evaluate function with multiple parameters ddouble
getHighLimit()
double
getLowLimit()
double
getMidLimit()
protected void
init()
void
setHighLimit(double v)
void
setLowLimit(double v)
void
setMidLimit(double v)
Methods inherited from class mgui.models.dynamic.functions.Function
clone, destroy, getAttribute, getAttributes, getAttributeValue, getTreeNodeCopy, isDestroyed, setAttribute, setAttributes, setTreeNode, toString
Methods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, getName, getTreeLabel, issueTreeNode, setName, updateTreeNodes
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface mgui.interfaces.NamedObject
getName, setName
-
Constructor Details
-
HardLimitFunction
public HardLimitFunction(double low, double mid, double high)
-
-
Method Details
-
init
protected void init() -
setHighLimit
public void setHighLimit(double v) -
setMidLimit
public void setMidLimit(double v) -
setLowLimit
public void setLowLimit(double v) -
getHighLimit
public double getHighLimit() -
getMidLimit
public double getMidLimit() -
getLowLimit
public double getLowLimit() -
evaluate
public double[] evaluate(double[] input)Description copied from class:Function
Evaluate function with multiple parameters d -
evaluate
public double evaluate(double input)Description copied from class:Function
Evaluate function with a single parameter d
-