Interface FunctionFeature

    • Method Detail

      • continueRun

        void continueRun()
        For functions that need to be computed from input data before they can be accurately evaluated, perform this computation. The result from the previous call to run() or continueRun() is used as the starting point for the computation.
      • create

        FunctionFeature create​(java.lang.String tag,
                               java.lang.String oper)
        Create a function.
        Parameters:
        tag - Feature tag.
        oper - Type of function.
        Returns:
        Created function.
      • createPlot

        ResultFeature createPlot​(java.lang.String plotGroupTag)
        Creates a plot group with plots for the function. A dataset is also created.
        Parameters:
        plotGroupTag - The plot group tag.
        Returns:
        The plot group.
      • discardData

        void discardData()
        Discard any imported data.
      • export

        void export​(java.lang.String filename)
        For functions that support exporting the internal representation of the function, exports the function to the target file path in a standardized format for use with external tools and runtimes.
        Parameters:
        filename - Filename.
      • exportData

        void exportData​(java.lang.String filename)
        Export data.
        Parameters:
        filename - Filename.
      • feature

        FunctionFeature feature​(java.lang.String tag)
        Return a function.
        Parameters:
        tag - Function tag.
        Returns:
        Function.
      • functionNames

        java.lang.String[] functionNames()
        Get function names.
        Returns:
        Function names.
      • importData

        void importData()
        Import data.
      • importData

        void importData​(java.lang.String filename)
        Import data from specified file.
        Parameters:
        filename - Filename.
      • model

        FunctionFeature model​(java.lang.String model)
        Sets the model of the function.
        Specified by:
        model in interface ModelEntity
        Parameters:
        model - Model node tag.
        Returns:
        Function.
      • problem

        ProblemList problem()
        Returns all problems for this feature.
        Returns:
        Problem feature list.
      • problem

        ProblemFeature problem​(java.lang.String tag)
        Returns a problem feature.
        Parameters:
        tag - Problem tag.
        Returns:
        Problem feature.
      • refresh

        void refresh()
        Reread the files that this function depends on, if any.
      • run

        void run()
        For functions that need to be computed from input data before they can be accurately evaluated, perform this computation.
      • runTest

        void runTest()
        For functions that need to be computed from input data before they can be accurately evaluated, perform this computation to determine the accuracy of previous construction from input data.