weka.core
Interface Drawable
-
- All Known Implementing Classes:
- AttributeSelectedClassifier, BayesNet, BayesNetGenerator, BIFReader, C45PruneableClassifierTree, ClassifierTree, Cobweb, CostSensitiveClassifier, CVParameterSelection, EditableBayesNet, FilteredClassifier, FilteredClusterer, HierarchicalClusterer, HoeffdingTree, InputMappedClassifier, J48, LMT, M5P, NBTreeClassifierTree, PruneableClassifierTree, RandomizableFilteredClassifier, RandomTree, REPTree, TreeModel
public interface DrawableInterface to something that can be drawn as a graph.
-
-
Field Summary
Fields Modifier and Type Field and Description static intBayesNetstatic intNewickstatic intNOT_DRAWABLEstatic intTREE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.Stringgraph()Returns a string that describes a graph representing the object.intgraphType()Returns the type of graph representing the object.
-
-
-
Field Detail
-
NOT_DRAWABLE
static final int NOT_DRAWABLE
- See Also:
- Constant Field Values
-
TREE
static final int TREE
- See Also:
- Constant Field Values
-
BayesNet
static final int BayesNet
- See Also:
- Constant Field Values
-
Newick
static final int Newick
- See Also:
- Constant Field Values
-
-
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.ExceptionReturns 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
-
-
DataMelt 3.0 © DataMelt by jWork.ORG