edu.duke.cs.banjo.learner.components
Class EvaluatorBDe.CompactObservationsSelector
java.lang.Object
edu.duke.cs.banjo.learner.components.Evaluator.ObservationsSelector
edu.duke.cs.banjo.learner.components.EvaluatorBDe.CompactObservationsSelector
- Enclosing class:
- EvaluatorBDe
- protected class EvaluatorBDe.CompactObservationsSelector
- extends Evaluator.ObservationsSelector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
observations
protected ObservationsAsArray observations
EvaluatorBDe.CompactObservationsSelector
protected EvaluatorBDe.CompactObservationsSelector(ObservationsI _observations)
throws java.lang.Exception
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