unbbayes.evaluation
Class ExactEvaluation
java.lang.Object
unbbayes.evaluation.AEvaluation
unbbayes.evaluation.ExactEvaluation
- All Implemented Interfaces:
- IEvaluation, ILongTaskProgressObservable
public class ExactEvaluation
- extends AEvaluation
| Fields inherited from class unbbayes.evaluation.AEvaluation |
currentProgress, currentProgressStatus, evidenceEvaluationList, evidenceNodeList, evidenceSetCM, evidenceSetPCC, evidenceStatesProduct, factors, lastProgressUpdated, maxProgress, net, statesProduct, targetNodeList, targetStatesProduct, UNSET_VALUE |
| Methods inherited from class unbbayes.evaluation.AEvaluation |
computeFactors, evaluate, evaluate, evaluate, getBestIndividualCostRate, getBestIndividualPCC, getBestMarginalImprovement, getCurrentProgress, getCurrentProgressStatus, getEvidenceEvaluationList, getEvidenceLinearCoord, getEvidenceSetCM, getEvidenceSetPCC, getLinearCoord, getMaxProgress, getMultidimensionalCoord, getPercentageDone, init, loadNetwork, notityObservers, registerObserver, removeObserver, show, updateProgress, updateProgress |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
targetNode
protected TreeVariable targetNode
ExactEvaluation
public ExactEvaluation()
getError
public float getError()
- As this is an exact evaluation there is no error.
- Specified by:
getError in interface IEvaluation- Specified by:
getError in class AEvaluation
- Returns:
- There is no error, so it always returns zero.
computeCM
protected float[][] computeCM(List<String> targetNodeNameList,
List<String> evidenceNodeNameList)
throws EvaluationException
- Specified by:
computeCM in class AEvaluation
- Throws:
EvaluationException
getExatProbTargetGivenEvidence
protected float[] getExatProbTargetGivenEvidence()
throws EvaluationException
- Throws:
EvaluationException
getProbTargetGivenEvidence
protected float getProbTargetGivenEvidence(int[] states)
throws EvaluationException
- Throws:
EvaluationException
getEvidencesJointProbability
protected float getEvidencesJointProbability(int[] states)
throws EvaluationException
- Throws:
EvaluationException
getEvidencesJointProbability
protected float[] getEvidencesJointProbability()
throws EvaluationException
- Throws:
EvaluationException
getTargetPriorProbability
protected float getTargetPriorProbability(int state)
throws EvaluationException
- Throws:
EvaluationException
getTargetPriorProbability
protected float[] getTargetPriorProbability()
throws EvaluationException
- Throws:
EvaluationException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.