edu.ucla.belief.rc2.tools
Class RC_Link_UAI2006
Object
RC_Link_UAI2006
- All Implemented Interfaces:
- UaiPeEngine
public class RC_Link_UAI2006
- extends Object
- implements UaiPeEngine
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)
|
RC_Link_UAI2006
public RC_Link_UAI2006()
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