|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthep.aida.ref.function.FunctionFactory
public class FunctionFactory
| Constructor Summary | |
|---|---|
FunctionFactory(ITree tree)
Create a new FunctionFactory. |
|
| Method Summary | |
|---|---|
IFunctionCatalog |
catalog()
get access to the function catalog |
IFunction |
cloneFunction(String path,
IFunction f)
Create a clone of an existing function. |
IFunction |
createFunctionByName(String path,
String model)
Create function from a name registered in the catalog. |
IFunction |
createFunctionFromScript(String path,
int dim,
String valexpr,
String parameters,
String description)
Create function from script. |
IFunction |
createFunctionFromScript(String path,
int dim,
String valexpr,
String parameters,
String description,
String gradexpr)
Create function from script. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FunctionFactory(ITree tree)
tree - the ITree where the histogram is added.| Method Detail |
|---|
public IFunction createFunctionByName(String path,
String model)
createFunctionByName in interface IFunctionFactorypath - The path of the IFunction. The path can either be a relative or full path.
("/folder1/folder2/functionName" and "../folder/functionName" are valid paths).
All the directories in the path must exist. The characther `/` cannot be used
in names; it is only used to delimit directories within paths.model - The model of the function to be created.
public IFunction createFunctionFromScript(String path,
int dim,
String valexpr,
String parameters,
String description)
createFunctionFromScript in interface IFunctionFactorydim - The dimension of the function, i.e. the number of variables.valexpr - The expression of the scripted function.parameters - A comma separeted list of what has to be considered as a parameter in the valexpr expression.description - The description of the function.
public IFunction createFunctionFromScript(String path,
int dim,
String valexpr,
String parameters,
String description,
String gradexpr)
createFunctionFromScript in interface IFunctionFactorydim - The dimension of the function, i.e. the number of variables.valexpr - The expression of the scripted function.parameters - A comma separeted list of what has to be considered as a parameter in the valexpr expression.description - The description of the function.gradexpr - A comma separated list of the expressions for the derivatives of the function with respect to the parameters.
public IFunction cloneFunction(String path,
IFunction f)
IFunctionFactory
cloneFunction in interface IFunctionFactorypath - The path of the IFunction. The path can either be a relative or full path.
("/folder1/folder2/functionName" and "../folder/functionName" are valid paths).
All the directories in the path must exist. The characther `/` cannot be used
in names; it is only used to delimit directories within paths.f - The IFunction to be cloned.
public IFunctionCatalog catalog()
catalog in interface IFunctionFactory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||