edu.ucla.belief.uai2006
Class TestMpeEngine

Object
  extended by TestMpeEngine
All Implemented Interfaces:
UaiMpeEngine

public class TestMpeEngine
extends Object
implements UaiMpeEngine

An interface for an algorithm that computes MAP for the 2006 UAI evaluation.

Author:
Arthur Choi

Constructor Summary
TestMpeEngine()
           
 
Method Summary
 UaiMapSolution computeMpe(Random r, BeliefNetwork bn, Map<FiniteVariable,Object> e, UaiPreprocessResult pr)
          Computes MAP for the given network, evidence, and map variables.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestMpeEngine

public TestMpeEngine()
Method Detail

computeMpe

public UaiMapSolution computeMpe(Random r,
                                 BeliefNetwork bn,
                                 Map<FiniteVariable,Object> e,
                                 UaiPreprocessResult pr)
                          throws Exception
Computes MAP for the given network, evidence, and map variables.

Specified by:
computeMpe in interface UaiMpeEngine
Parameters:
bn - the given network.
e - the given evidence.
m - the given map variables.
Returns:
the map solution.
Throws:
Exception


Copyright 2010 UCLA Automated Reasoning Group