edu.ucla.belief.rc2.tools
Class RC_Link_UAI2006

Object
  extended by RC_Link_UAI2006
All Implemented Interfaces:
UaiPeEngine

public class RC_Link_UAI2006
extends Object
implements UaiPeEngine


Constructor Summary
RC_Link_UAI2006()
           
 
Method Summary
 UaiMapSolution computePe(Random r, BeliefNetwork bn, Map<FiniteVariable,Object> e, UaiPreprocessResult pr)
          Computes P(e) for the given network and evidence.
 UaiMapSolution computePeKB(BeliefNetwork bn, Map<FiniteVariable,Object> e)
           
 UaiMapSolution computePeNonGenetic(BeliefNetwork bn, Map<FiniteVariable,Object> e, int scalar)
           
static boolean isGeneticNetwork(BeliefNetwork bn, Map<FiniteVariable,Object> evid)
           
static void main(String[] args)
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RC_Link_UAI2006

public RC_Link_UAI2006()
Method Detail

main

public static void main(String[] args)

computePe

public UaiMapSolution computePe(Random r,
                                BeliefNetwork bn,
                                Map<FiniteVariable,Object> e,
                                UaiPreprocessResult pr)
                         throws Exception
Description copied from interface: UaiPeEngine
Computes P(e) for the given network and evidence.

Specified by:
computePe in interface UaiPeEngine
Parameters:
r - a random generator.
bn - the given network.
e - the given evidence.
pr - the preprocess result.
Returns:
the solution (instantiation will be an empty map).
Throws:
Exception

computePeKB

public UaiMapSolution computePeKB(BeliefNetwork bn,
                                  Map<FiniteVariable,Object> e)
                           throws Exception
Throws:
Exception

computePeNonGenetic

public UaiMapSolution computePeNonGenetic(BeliefNetwork bn,
                                          Map<FiniteVariable,Object> e,
                                          int scalar)
                                   throws Exception
Throws:
Exception

isGeneticNetwork

public static boolean isGeneticNetwork(BeliefNetwork bn,
                                       Map<FiniteVariable,Object> evid)


Copyright 2010 UCLA Automated Reasoning Group