public abstract class Split
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Split() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
branchForInstance(Instance inst)
Returns the name of the branch that the supplied instance would go down
|
abstract java.lang.String |
conditionForBranch(java.lang.String branch)
Returns the condition for the supplied branch name
|
java.util.List<java.lang.String> |
splitAttributes() |
public abstract java.lang.String branchForInstance(Instance inst)
inst
- the instance to find the branch forpublic abstract java.lang.String conditionForBranch(java.lang.String branch)
branch
- the name of the branch to get the condition forpublic java.util.List<java.lang.String> splitAttributes()