Package weka.core

Interface Drawable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String graph()
      Returns a string that describes a graph representing the object.
      int graphType()
      Returns the type of graph representing the object.
    • Method Detail

      • graphType

        int graphType()
        Returns the type of graph representing the object.
        Returns:
        the type of graph representing the object
      • graph

        java.lang.String graph()
                        throws java.lang.Exception
        Returns a string that describes a graph representing the object. The string should be in XMLBIF ver. 0.3 format if the graph is a BayesNet, otherwise it should be in dotty format.
        Returns:
        the graph described by a string
        Throws:
        java.lang.Exception - if the graph can't be computed