Class GraphSource

  • All Implemented Interfaces:
    adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.SizeOfHandler, Serializable

    public class GraphSource
    extends AbstractOutputGeneratorWithFoldModelsSupport
    Displays the source code of the graph (dot or XML BIF).
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class adams.core.option.AbstractOptionHandler

        m_OptionManager
      • Fields inherited from class adams.core.logging.LoggingObject

        m_Logger, m_LoggingIsEnabled, m_LoggingLevel
    • Constructor Summary

      Constructors 
      Constructor Description
      GraphSource()  
    • Constructor Detail

      • GraphSource

        public GraphSource()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
        Returns:
        a description suitable for displaying in the gui
      • createOutput

        protected JComponent createOutput​(weka.classifiers.Classifier model,
                                          adams.core.MessageCollection errors)
        Generates the output for the model.
        Specified by:
        createOutput in class AbstractOutputGeneratorWithFoldModelsSupport
        Parameters:
        model - the model to use as basis
        errors - for collecting errors
        Returns:
        the generated table, null if failed to generate