il2.inf.rc
Class RCEngine

Object
  extended by RCEngine
All Implemented Interfaces:
JointEngine, PartialDerivativeEngine

public class RCEngine
extends Object
implements PartialDerivativeEngine


Constructor Summary
RCEngine(DGraph dg, Table[] tables, IntMap locs)
           
 
Method Summary
 void allocateCaches(Set cachedNodes)
           
static RCEngine create(BayesianNetwork bn, int reps, Random seed)
           
static RCEngine create(Table[] tables, IntList eliminationOrder)
           
 DGraph dgraph()
           
 Domain domain()
           
 void fullCaching()
           
 JoinTreeStats.Stat getClusterStats()
           
 double getCompilationTime()
           
 double getMemoryRequirements()
           
 double getPropagationTime()
           
 JoinTreeStats.Stat getSeparatorStats()
           
 Table getTable(int i)
           
 double logPrEvidence()
           
 double prEvidence()
           
 RC rcCore()
           
 void setEvidence(IntMap ev)
           
 void setTable(int t, Table table)
           
 Table tableConditional(int table)
           
 Table tableJoint(int table)
           
 Table tablePartial(int table)
           
 Table varConditional(int var)
           
 Table varJoint(int var)
           
 Table varPartial(int var)
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RCEngine

public RCEngine(DGraph dg,
                Table[] tables,
                IntMap locs)
Method Detail

create

public static RCEngine create(BayesianNetwork bn,
                              int reps,
                              Random seed)
Since:
081105

create

public static RCEngine create(Table[] tables,
                              IntList eliminationOrder)

domain

public Domain domain()

setEvidence

public void setEvidence(IntMap ev)
Specified by:
setEvidence in interface JointEngine

setTable

public void setTable(int t,
                     Table table)
Specified by:
setTable in interface JointEngine

getTable

public Table getTable(int i)

tablePartial

public Table tablePartial(int table)
Specified by:
tablePartial in interface PartialDerivativeEngine

varPartial

public Table varPartial(int var)
Specified by:
varPartial in interface PartialDerivativeEngine

prEvidence

public double prEvidence()
Specified by:
prEvidence in interface JointEngine

logPrEvidence

public double logPrEvidence()
Specified by:
logPrEvidence in interface JointEngine

tableJoint

public Table tableJoint(int table)
Specified by:
tableJoint in interface JointEngine

tableConditional

public Table tableConditional(int table)
Specified by:
tableConditional in interface JointEngine

varJoint

public Table varJoint(int var)
Specified by:
varJoint in interface JointEngine

varConditional

public Table varConditional(int var)
Specified by:
varConditional in interface JointEngine

getClusterStats

public JoinTreeStats.Stat getClusterStats()
Specified by:
getClusterStats in interface JointEngine

getSeparatorStats

public JoinTreeStats.Stat getSeparatorStats()
Specified by:
getSeparatorStats in interface JointEngine

getCompilationTime

public double getCompilationTime()
Specified by:
getCompilationTime in interface JointEngine

getPropagationTime

public double getPropagationTime()
Specified by:
getPropagationTime in interface JointEngine

getMemoryRequirements

public double getMemoryRequirements()
Specified by:
getMemoryRequirements in interface JointEngine

fullCaching

public void fullCaching()

allocateCaches

public void allocateCaches(Set cachedNodes)

dgraph

public DGraph dgraph()

rcCore

public RC rcCore()
Since:
112603


Copyright 2010 UCLA Automated Reasoning Group