/** * Gets the name of an attribute from the header. * * @param attIndex the attribute index * @return the name of the attribute */ public String getAttributeNameString(int attIndex) { return InstancesHeader.getAttributeNameString(this.modelContext, attIndex); }
/** * Gets the name of an attribute from the header. * * @param attIndex the attribute index * @return the name of the attribute */ public String getAttributeNameString(int attIndex) { return InstancesHeader.getAttributeNameString(this.modelContext, attIndex); }
/** * Gets the name of an attribute from the header. * * @param attIndex the attribute index * @return the name of the attribute */ public String getAttributeNameString(int attIndex) { return InstancesHeader.getAttributeNameString(this.modelContext, attIndex); }
public String getAttributeNameString(int attIndex) { return InstancesHeader.getAttributeNameString(this.modelContext, attIndex); }
public String getAttributeNameString(int attIndex) { return InstancesHeader.getAttributeNameString(this.modelContext, attIndex); }
public String getAttributeNameString(int attIndex) { return InstancesHeader.getAttributeNameString(this.modelContext, attIndex); }
@Override public String describeConditionForBranch(int branch, InstancesHeader context) { if ((branch == 0) || (branch == 1)) { return InstancesHeader.getAttributeNameString(context, this.attIndex) + (branch == 0 ? " = " : " != ") + InstancesHeader.getNominalValueString(context, this.attIndex, this.attValue); } throw new IndexOutOfBoundsException(); }
@Override public String describeConditionForBranch(int branch, InstancesHeader context) { return InstancesHeader.getAttributeNameString(context, this.attIndex) + " = " + InstancesHeader.getNominalValueString(context, this.attIndex, branch); }
@Override public String describeConditionForBranch(int branch, InstancesHeader context) { return InstancesHeader.getAttributeNameString(context, this.attIndex) + " = " + InstancesHeader.getNominalValueString(context, this.attIndex, branch); }
@Override public String describeConditionForBranch(int branch, InstancesHeader context) { if ((branch == 0) || (branch == 1)) { return InstancesHeader.getAttributeNameString(context, this.attIndex) + (branch == 0 ? " = " : " != ") + InstancesHeader.getNominalValueString(context, this.attIndex, this.attValue); } throw new IndexOutOfBoundsException(); }
@Override public String describeConditionForBranch(int branch, InstancesHeader context) { return InstancesHeader.getAttributeNameString(context, this.attIndex) + " = " + InstancesHeader.getNominalValueString(context, this.attIndex, branch); }
/** * */ @Override public String describeConditionForBranch(int branch, InstancesHeader context) { if ((branch >= 0) && (branch <= 2)) { String compareChar = (branch == 0) ? "=" : (branch == 1) ? "<=" : ">"; return InstancesHeader.getAttributeNameString(context, this.attIndex) + ' ' + compareChar + InstancesHeader.getNumericValueString(context, this.attIndex, this.attValue); } throw new IndexOutOfBoundsException(); }
@Override public String describeConditionForBranch(int branch, InstancesHeader context) { if ((branch == 0) || (branch == 1)) { char compareChar = branch == 0 ? '<' : '>'; int equalsBranch = this.equalsPassesTest ? 0 : 1; return InstancesHeader.getAttributeNameString(context, this.attIndex) + ' ' + compareChar + (branch == equalsBranch ? "= " : " ") + InstancesHeader.getNumericValueString(context, this.attIndex, this.attValue); } throw new IndexOutOfBoundsException(); }
/** * */ @Override public String describeConditionForBranch(int branch, InstancesHeader context) { if ((branch >= 0) && (branch <= 2)) { String compareChar = (branch == 0) ? "=" : (branch == 1) ? "<=" : ">"; return InstancesHeader.getAttributeNameString(context, this.attIndex) + ' ' + compareChar + InstancesHeader.getNumericValueString(context, this.attIndex, this.attValue); } throw new IndexOutOfBoundsException(); }
/** * */ @Override public String describeConditionForBranch(int branch, InstancesHeader context) { if ((branch >= 0) && (branch <= 2)) { String compareChar = (branch == 0) ? "=" : (branch == 1) ? "<=" : ">"; return InstancesHeader.getAttributeNameString(context, this.attIndex) + ' ' + compareChar + InstancesHeader.getNumericValueString(context, this.attIndex, this.attValue); } throw new IndexOutOfBoundsException(); }
@Override public String describeConditionForBranch(int branch, InstancesHeader context) { if ((branch == 0) || (branch == 1)) { char compareChar = branch == 0 ? '<' : '>'; int equalsBranch = this.equalsPassesTest ? 0 : 1; return InstancesHeader.getAttributeNameString(context, this.attIndex) + ' ' + compareChar + (branch == equalsBranch ? "= " : " ") + InstancesHeader.getNumericValueString(context, this.attIndex, this.attValue); } throw new IndexOutOfBoundsException(); }