edu.duke.cs.banjo.learner.components
Class Evaluator.ObservationsSelector

java.lang.Object
  extended byedu.duke.cs.banjo.learner.components.Evaluator.ObservationsSelector
Direct Known Subclasses:
EvaluatorBDe.CompactObservationsSelector, EvaluatorBDe.LegacyObservationsSelector
Enclosing class:
Evaluator

protected abstract class Evaluator.ObservationsSelector
extends java.lang.Object


Constructor Summary
protected Evaluator.ObservationsSelector()
           
 
Method Summary
protected abstract  double computeNodeScore(int nodeID, int[][] parentIDlist)
           
protected abstract  int getMaxValueCount()
           
protected abstract  int getMaxValueCount(int nodeID)
           
protected abstract  int getObservationCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Evaluator.ObservationsSelector

protected Evaluator.ObservationsSelector()
Method Detail

computeNodeScore

protected abstract double computeNodeScore(int nodeID,
                                           int[][] parentIDlist)
                                    throws java.lang.Exception
Returns:
Returns the computed score for the node with id=nodeID.
Throws:
java.lang.Exception

getObservationCount

protected abstract int getObservationCount()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getMaxValueCount

protected abstract int getMaxValueCount()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getMaxValueCount

protected abstract int getMaxValueCount(int nodeID)
                                 throws java.lang.Exception
Throws:
java.lang.Exception