|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.framework.Trail
net.sf.myra.hantminer.HybridRule
public class HybridRule
Constructor Summary | |
---|---|
HybridRule(net.sf.myra.datamining.Rule antecedent,
net.sf.myra.framework.Trail consequent)
Default constructor. |
Method Summary | |
---|---|
void |
add(net.sf.myra.framework.Vertex<?> vertex)
|
HybridRule |
clone()
|
int |
compareTo(HybridRule o)
Compares this HybridRule instance agains the specified
o instance. |
net.sf.myra.datamining.Rule |
getAntecedent()
Returns the antecedent part of the rule. |
net.sf.myra.framework.Trail |
getConsequent()
Returns the consequent part of the rule. |
net.sf.myra.framework.Cost |
getCost()
Returns the rule cost. |
net.sf.myra.framework.Vertex<?> |
getLast()
|
java.util.Collection<net.sf.myra.framework.Vertex<?>> |
getVertices()
|
boolean |
isEmpty()
|
void |
remove(net.sf.myra.framework.Vertex<?> vertex)
|
void |
setCost(net.sf.myra.framework.Cost cost)
Sets the rule cost. |
Methods inherited from class net.sf.myra.framework.Trail |
---|
getIteration, getSize, setIteration, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HybridRule(net.sf.myra.datamining.Rule antecedent, net.sf.myra.framework.Trail consequent)
antecedent
- the rule instance representing the antecedent.consequent
- the trail instance representing the consequent.Method Detail |
---|
public net.sf.myra.datamining.Rule getAntecedent()
public net.sf.myra.framework.Trail getConsequent()
public void setCost(net.sf.myra.framework.Cost cost)
setCost
in class net.sf.myra.framework.Trail
cost
- the rule cost to set.public net.sf.myra.framework.Cost getCost()
getCost
in class net.sf.myra.framework.Trail
public int compareTo(HybridRule o)
HybridRule
instance agains the specified
o
instance.
compareTo
in interface java.lang.Comparable<HybridRule>
o
- the HybridRule
instance to be compared.public final void add(net.sf.myra.framework.Vertex<?> vertex)
add
in class net.sf.myra.framework.Trail
public final void remove(net.sf.myra.framework.Vertex<?> vertex)
remove
in class net.sf.myra.framework.Trail
public final net.sf.myra.framework.Vertex<?> getLast()
getLast
in class net.sf.myra.framework.Trail
public final java.util.Collection<net.sf.myra.framework.Vertex<?>> getVertices()
getVertices
in class net.sf.myra.framework.Trail
public final boolean isEmpty()
isEmpty
in class net.sf.myra.framework.Trail
public HybridRule clone()
clone
in class net.sf.myra.framework.Trail
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |