1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
private class Regle implements Serializable, RevisionHandler,Cloneable {
static final long serialVersionUID = 4248784350656508583L;
private int m_classification;
private int m_ruleSize=0;
private Instances m_instances;
private Condition Cond;
private Regle m_next;
public List<Condition> ConditionList = new ArrayList<Condition>();
public Regle(Instances data, int cl) throws Exception {
m_instances = data;
m_classification = cl;
Cond = null;
m_next = null;
protected Object clone() throws CloneNotSupportedException {
return super.clone();
}
public int resultRule(Instance inst) { }
public boolean coveres(Instance data) { }
public int resultRules(Instance inst) {}
public Instances coveredBy(Instances data) { }
public Instances notCoveredBy(Instances data) {}
public String toString() {}
}
} |