net.sf.myra.antree
Class NoHeuristic

java.lang.Object
  extended by net.sf.myra.antree.NoHeuristic
All Implemented Interfaces:
Heuristic

public class NoHeuristic
extends java.lang.Object
implements Heuristic

Version:
$Revision$ $Date:: #$
Author:
Fernando Esteban Barril Otero

Field Summary
static double DEFAULT
           
 
Constructor Summary
NoHeuristic(net.sf.myra.datamining.data.Dataset dataset)
           
 
Method Summary
 double valueFor(Branch branch, net.sf.myra.datamining.data.Attribute attribute)
          Returns the heuristic value for the specified attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final double DEFAULT
See Also:
Constant Field Values
Constructor Detail

NoHeuristic

public NoHeuristic(net.sf.myra.datamining.data.Dataset dataset)
Method Detail

valueFor

public double valueFor(Branch branch,
                       net.sf.myra.datamining.data.Attribute attribute)
Description copied from interface: Heuristic
Returns the heuristic value for the specified attribute.

Specified by:
valueFor in interface Heuristic
Parameters:
branch - the branch of the tree being followed.
attribute - the attribute to determine the heuristic value.
Returns:
the heuristic value for the specified attribute.


Copyright © 2013. All Rights Reserved.