|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FuncWithParams
Title: FuncWithParamsAPI
Description: Any function that supports a parameter list should implement this interface. This interface is for Functions that contain parameter lists. These lists are currently used for storing the parameter name and values that went into constructing the list, such as for an IMR exceedence probability.
This interface was developed to be used by DiscretizedFuncAPI subclasses. Of course any class that constains a ParameterList can implement this.
ParameterList,
Parameter| Method Summary | |
|---|---|
boolean |
equalParameterNames(FuncWithParams function)
Returns true if the second function has the same named parameters in it's list, values may be different. |
boolean |
equalParameterNamesAndValues(FuncWithParams function)
Returns true if the second function has the same named parameter values. |
ParameterList |
getParameterList()
This parameter list is the set of parameters that went into calculation this function. |
String |
getParametersString()
Returns name/value pairs of all the parametes in the ParameterList stored in this DiscretizedFunc, separated with commas, as one string, usefule for legends, etc. |
void |
setParameterList(ParameterList list)
Set the Parameter list that went into calculating this function |
| Method Detail |
|---|
String getParametersString()
boolean equalParameterNamesAndValues(FuncWithParams function)
boolean equalParameterNames(FuncWithParams function)
ParameterList getParameterList()
Note: Another way to say that two functions are the same is if each DataPoint is the same. That is much more numerically intensive task of comparing each Point2D using equals(). It depends on your business logic how to determine if two lists are the same.
void setParameterList(ParameterList list)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||