net.sf.myra.datamining.function
Class RelativeCostMeasureFunction

java.lang.Object
  extended by net.sf.myra.datamining.AbstractObjectiveFunction
      extended by net.sf.myra.datamining.function.RelativeCostMeasureFunction
All Implemented Interfaces:
net.sf.myra.framework.ObjectiveFunction

public class RelativeCostMeasureFunction
extends AbstractObjectiveFunction

Author:
Matthew Medland

Field Summary
static java.lang.String Cr
           
 
Constructor Summary
RelativeCostMeasureFunction(Dataset dataset)
          Default constructor.
RelativeCostMeasureFunction(Dataset dataset, double cr)
          Construction with parameter.
 
Method Summary
 net.sf.myra.framework.Cost evaluate(net.sf.myra.framework.Trail trail)
           
 
Methods inherited from class net.sf.myra.datamining.AbstractObjectiveFunction
getDataset, setDataset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Cr

public static final java.lang.String Cr
See Also:
Constant Field Values
Constructor Detail

RelativeCostMeasureFunction

public RelativeCostMeasureFunction(Dataset dataset)
Default constructor.

Parameters:
dataset - the dataset used in the evaluation.

RelativeCostMeasureFunction

public RelativeCostMeasureFunction(Dataset dataset,
                                   double cr)
Construction with parameter.

Parameters:
dataset - the dataset used in the evaluation.
cr - the cr value to be used
Method Detail

evaluate

public net.sf.myra.framework.Cost evaluate(net.sf.myra.framework.Trail trail)


Copyright © 2013. All Rights Reserved.