Interface ITreeEngineFactory

  • All Known Implementing Classes:
    TreeEngineFactory

    public interface ITreeEngineFactory
    Interface for a tree engine factory.
    Since:
    5.0
    Author:
    F. van der Meer
    • Method Detail

      • create

        ITreeEngine create​(IMetaModel metamodel,
                           IParserFactory parserFactory,
                           IComposer composer,
                           ITreeEngineDS datasource)
                    throws InitializationException
        Constructs the tree engine with the required arguments.
        Parameters:
        metamodel - The meta model definitions.
        parserFactory - Parser factory that should be used to create expression parsers.
        composer - The composer containing asset and container definitions.
        datasource - The data-source containing the information of the decision trees that need to be added.
        Returns:
        Implementation of the tree engine interface.
        Throws:
        InitializationException - This exception is thrown when the tree engine could not be initialized due to a fatal exception.