java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.growthfunctionlibrary.functions.GrowthFunctionBase
de.grogra.growthfunctionlibrary.functions.Sinusoidal
- All Implemented Interfaces:
Icon,IconSource,Manageable,Shareable,RenderedIcon,FloatToFloat
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Sinusoidal.Typefloatstatic final SCOType.Fieldfloatstatic final SCOType.Fieldfloatstatic final SCOType.Fieldfloatstatic final SCOType.Field -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.grogra.growthfunctionlibrary.functions.GrowthFunctionBase
drawChart, drawChart, drawChart, drawChart, drawChart, dublicate, getIcon, getIconBounds, getIconSource, getImage, getImage, getImageSource, getPreferredIconSize, getSizeRatio, isMutable, paintIcon, prepareIcon, renderImage, setValuesMethods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferenceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.grogra.pf.ui.RenderedIcon
getStamp
-
Field Details
-
y0
public float y0 -
a
public float a -
p
public float p -
c
public float c -
$TYPE
-
y0$FIELD
-
a$FIELD
-
p$FIELD
-
c$FIELD
-
-
Constructor Details
-
Sinusoidal
public Sinusoidal() -
Sinusoidal
public Sinusoidal(float y0, float a, float p, float c)
-
-
Method Details
-
evaluateFloat
public float evaluateFloat(float x) Description copied from interface:FloatToFloatComputes the value of this function atx.- Parameters:
x- where the function is to be evaluated- Returns:
- function value at
x
-
getSuggestedXMin
public float getSuggestedXMin()- Specified by:
getSuggestedXMinin classGrowthFunctionBase
-
getSuggestedXMax
public float getSuggestedXMax()- Specified by:
getSuggestedXMaxin classGrowthFunctionBase
-
getManageableType
-
getY0
public float getY0() -
setY0
public void setY0(float value) -
getA
public float getA() -
setA
public void setA(float value) -
getP
public float getP() -
setP
public void setP(float value) -
getC
public float getC() -
setC
public void setC(float value)
-