You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Functions within AIDA are created via an IFunctionFactory. They can be created by either accessing a pool of pre-defined functions or by scripting them on the fly.
Alternatively they can be creating by directely instantiating the classes of the underlying implementation.

Pre-defined Functions

Pre-defined functions are those functions that are registered with the function factory's catalog and that can be created by specifying their name; in the following example we create a gaussian:

// The AIDA Factories
IAnalysisFactory af = IAnalysisFactory.create();
ITree = af.createTreeFactory().create();
IFunctionFactory ff = af.createFunctionFactory(tree);

// Create a gaussian
IFunction gauss = ff.createFunctionByName("gauss","g");

For list of the functions provided by the JAIDA implementation, their definition and the list of the parameter's names please refer to the JAIDA Release Notes.

  • No labels