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

Compare with Current View Page History

« Previous Version 5 Next »

Functions within JAIDA are created via an IFunctionFactory:

// 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");

In the example above a gaussian is created accessing the pool of functions that we provide in our implementation. For a full list of pre-defined functions, their definition and the list of the parameter's names please refer to the JAIDA Release Notes.

  • No labels