public abstract class InstanceConditionalTest extends AbstractMOAObject
Constructor and Description |
---|
InstanceConditionalTest() |
Modifier and Type | Method and Description |
---|---|
abstract int |
branchForInstance(weka.core.Instance inst)
Returns the number of the branch for an instance, -1 if unknown.
|
abstract String |
describeConditionForBranch(int branch,
InstancesHeader context)
Gets the text that describes the condition of a branch.
|
abstract int[] |
getAttsTestDependsOn()
Returns an array with the attributes that the test depends on.
|
abstract int |
maxBranches()
Gets the number of maximum branches, -1 if unknown.
|
boolean |
resultKnownForInstance(weka.core.Instance inst)
Gets whether the number of the branch for an instance is known.
|
copy, copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription
public abstract int branchForInstance(weka.core.Instance inst)
inst
- the instance to be usedpublic boolean resultKnownForInstance(weka.core.Instance inst)
inst
- public abstract int maxBranches()
public abstract String describeConditionForBranch(int branch, InstancesHeader context)
branch
- the number of the branch to describecontext
- the context or header of the data streampublic abstract int[] getAttsTestDependsOn()
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.