edu.duke.cs.banjo.learner.components
Class EvaluatorBDe.LegacyObservationsSelector

java.lang.Object
  extended byedu.duke.cs.banjo.learner.components.Evaluator.ObservationsSelector
      extended byedu.duke.cs.banjo.learner.components.EvaluatorBDe.LegacyObservationsSelector
Enclosing class:
EvaluatorBDe

protected class EvaluatorBDe.LegacyObservationsSelector
extends Evaluator.ObservationsSelector


Field Summary
protected  ObservationsAsMatrix observations
           
 
Constructor Summary
protected EvaluatorBDe.LegacyObservationsSelector(ObservationsI _observations)
           
 
Method Summary
protected  double computeNodeScore(int nodeID, int[][] parentIDlist)
           
protected  int getMaxValueCount()
           
protected  int getMaxValueCount(int nodeID)
           
protected  int getObservationCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

observations

protected ObservationsAsMatrix observations
Constructor Detail

EvaluatorBDe.LegacyObservationsSelector

protected EvaluatorBDe.LegacyObservationsSelector(ObservationsI _observations)
                                           throws java.lang.Exception
Method Detail

getObservationCount

protected int getObservationCount()
                           throws java.lang.Exception
Specified by:
getObservationCount in class Evaluator.ObservationsSelector
Throws:
java.lang.Exception

getMaxValueCount

protected int getMaxValueCount()
                        throws java.lang.Exception
Specified by:
getMaxValueCount in class Evaluator.ObservationsSelector
Throws:
java.lang.Exception

getMaxValueCount

protected int getMaxValueCount(int nodeID)
                        throws java.lang.Exception
Specified by:
getMaxValueCount in class Evaluator.ObservationsSelector
Throws:
java.lang.Exception

computeNodeScore

protected double computeNodeScore(int nodeID,
                                  int[][] parentIDlist)
                           throws java.lang.Exception
Specified by:
computeNodeScore in class Evaluator.ObservationsSelector
Returns:
Returns the computed score for the node with id=nodeID.
Throws:
java.lang.Exception