public abstract class Split
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.String> |
m_splitAttNames
name(s) of attribute(s) involved in the split
|
| 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() |
protected java.util.List<java.lang.String> m_splitAttNames
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()