public class NominalAttributeMultiwayTest extends InstanceConditionalTest
| Modifier and Type | Field and Description |
|---|---|
protected int |
attIndex |
| Constructor and Description |
|---|
NominalAttributeMultiwayTest(int attIndex) |
| Modifier and Type | Method and Description |
|---|---|
int |
branchForInstance(weka.core.Instance inst)
Returns the number of the branch for an instance, -1 if unknown.
|
String |
describeConditionForBranch(int branch,
InstancesHeader context)
Gets the text that describes the condition of a branch.
|
int[] |
getAttsTestDependsOn()
Returns an array with the attributes that the test depends on.
|
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
int |
maxBranches()
Gets the number of maximum branches, -1 if unknown.
|
resultKnownForInstancecopy, copy, measureByteSize, measureByteSize, toStringpublic int branchForInstance(weka.core.Instance inst)
InstanceConditionalTestbranchForInstance in class InstanceConditionalTestinst - the instance to be usedpublic String describeConditionForBranch(int branch, InstancesHeader context)
InstanceConditionalTestdescribeConditionForBranch in class InstanceConditionalTestbranch - the number of the branch to describecontext - the context or header of the data streampublic int maxBranches()
InstanceConditionalTestmaxBranches in class InstanceConditionalTestpublic void getDescription(StringBuilder sb, int indent)
MOAObjectAbstractMOAObject.toString
to give a string representation of the object.sb - the stringbuilder to add the descriptionindent - the number of characters to indentpublic int[] getAttsTestDependsOn()
InstanceConditionalTestgetAttsTestDependsOn in class InstanceConditionalTestCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.