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.
      • exportData

        void exportData​(java.lang.String filename)
        Export data.
        Parameters:
        filename - File name.
      • 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 - File name.
      • 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.
      • 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.