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, isDestroyedFields 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 doubleevaluate(double input)Evaluate function with a single parameter ddouble[]evaluate(double[] input)Evaluate function with multiple parameters ddoublegetHighLimit()doublegetLowLimit()doublegetMidLimit()protected voidinit()voidsetHighLimit(double v)voidsetLowLimit(double v)voidsetMidLimit(double v)Methods inherited from class mgui.models.dynamic.functions.Function
clone, destroy, getAttribute, getAttributes, getAttributeValue, getTreeNodeCopy, isDestroyed, setAttribute, setAttributes, setTreeNode, toStringMethods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, getName, getTreeLabel, issueTreeNode, setName, updateTreeNodesMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:FunctionEvaluate function with multiple parameters d -
evaluate
public double evaluate(double input)Description copied from class:FunctionEvaluate function with a single parameter d
-