|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.cantminer.EdgeTrailFactory
public class EdgeTrailFactory
Field Summary | |
---|---|
protected net.sf.myra.datamining.data.Dataset |
dataset
The dataset instance to validate the vertices selection. |
protected net.sf.myra.framework.Graph<net.sf.myra.datamining.data.Term> |
graph
The problem construction graph to create the trails. |
protected ThresholdHelper |
helper
The threshold selection helper. |
static java.lang.String |
MINIMUM_RULE_CASES
The property key under which the minimum rule cases value is stored. |
static int |
NO_MINIMUM_CASES
Constant to indicate that there is no minimum number of covered cases. |
static java.lang.String |
RULE
The property key under which the rule implementation class is stored. |
Constructor Summary | |
---|---|
EdgeTrailFactory(net.sf.myra.framework.Graph<net.sf.myra.datamining.data.Term> graph,
net.sf.myra.datamining.data.Dataset dataset)
Default constructor. |
Method Summary | |
---|---|
net.sf.myra.framework.Trail |
createTrail()
|
protected net.sf.myra.datamining.data.Dataset |
getDataset()
Returns the dataset reference. |
net.sf.myra.framework.Graph<?> |
getGraph()
|
protected net.sf.myra.framework.Vertex<net.sf.myra.datamining.data.Term> |
process(net.sf.myra.datamining.data.Metadata metadata,
net.sf.myra.framework.Vertex<net.sf.myra.datamining.data.Term> vertex,
java.util.List<net.sf.myra.datamining.data.Instance> covered,
boolean first)
Prepares the vertex to be added to a rule. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MINIMUM_RULE_CASES
public static final java.lang.String RULE
public static final int NO_MINIMUM_CASES
protected net.sf.myra.framework.Graph<net.sf.myra.datamining.data.Term> graph
protected net.sf.myra.datamining.data.Dataset dataset
protected ThresholdHelper helper
Constructor Detail |
---|
public EdgeTrailFactory(net.sf.myra.framework.Graph<net.sf.myra.datamining.data.Term> graph, net.sf.myra.datamining.data.Dataset dataset)
graph
- the problem construction graph.dataset
- the dataset reference.Method Detail |
---|
public net.sf.myra.framework.Trail createTrail()
createTrail
in interface net.sf.myra.framework.TrailFactory
protected net.sf.myra.framework.Vertex<net.sf.myra.datamining.data.Term> process(net.sf.myra.datamining.data.Metadata metadata, net.sf.myra.framework.Vertex<net.sf.myra.datamining.data.Term> vertex, java.util.List<net.sf.myra.datamining.data.Instance> covered, boolean first)
vertex
- the vertex to be added to the rule.
public net.sf.myra.framework.Graph<?> getGraph()
getGraph
in interface net.sf.myra.framework.TrailFactory
protected net.sf.myra.datamining.data.Dataset getDataset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |