|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectBeliefCompilation
public class BeliefCompilation
Field Summary | |
---|---|
JoinTree |
myJoinTree
|
Constructor Summary | |
---|---|
BeliefCompilation(BeliefNetwork bn,
ArithmeticExpression expr,
TableIndex[] inds,
Map likelihoodIndices,
Map familyIndices)
Creates a new BeliefCompilation. |
|
BeliefCompilation(BeliefNetwork bn,
ArithmeticExpression expr,
TableIndex[] inds,
Map likelihoodIndices,
Map familyIndices,
JoinTree jt,
Table[] tables)
|
Method Summary | |
---|---|
int |
edgeCount()
Deprecated. |
BeliefNetwork |
getBeliefNetwork()
|
ArithmeticExpression |
getExpression()
|
Table |
getFamilyPartial(FiniteVariable var)
Returns the partial derivative of the CPT for the current values of the parameters. |
Table |
getFamilyTable(FiniteVariable var)
Returns the value of the CPT for the variable. |
JoinTree |
getJoinTree()
|
Table |
getLikelihood(FiniteVariable var)
Returns the likelihoods(Evidence indicators) for the given variable. |
double |
getMemoryRequirements()
|
Table |
getPartial(FiniteVariable var)
Returns the partial derivative of the likelihoods for the current values of the parameters. |
double |
getPropagationTime()
|
Table[] |
getTables()
|
double |
getValue()
|
Map |
lambdaLocations()
|
int |
nodeCount()
Deprecated. |
void |
setFamily(FiniteVariable var,
double[] vals)
Sets the family parameters for the variable supplied. |
void |
setLikelihood(FiniteVariable var,
double[] vals)
Sets the likelihood parameters for the variable supplied. |
Map |
thetaLocations()
|
Set |
variables()
|
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final JoinTree myJoinTree
Constructor Detail |
---|
public BeliefCompilation(BeliefNetwork bn, ArithmeticExpression expr, TableIndex[] inds, Map likelihoodIndices, Map familyIndices)
expr
- An ArithmeticExpression that encapsulates the dependencies
between the network parameters.inds
- The TableIndex for each of the parameters in expr.likelihoodIndices
- A mapping from each variable to the index of
that parameter in expr.familyIndices
- A mapping from each variable to the corresponding
index of its family in expr.public BeliefCompilation(BeliefNetwork bn, ArithmeticExpression expr, TableIndex[] inds, Map likelihoodIndices, Map familyIndices, JoinTree jt, Table[] tables)
Method Detail |
---|
public Table[] getTables()
public BeliefNetwork getBeliefNetwork()
public JoinTree getJoinTree()
public Table getLikelihood(FiniteVariable var)
public Map lambdaLocations()
public Map thetaLocations()
public Table getFamilyTable(FiniteVariable var)
public Table getPartial(FiniteVariable var)
public Table getFamilyPartial(FiniteVariable var)
public void setLikelihood(FiniteVariable var, double[] vals)
public void setFamily(FiniteVariable var, double[] vals)
public double getValue()
public Set variables()
public int nodeCount()
public int edgeCount()
public ArithmeticExpression getExpression()
public double getPropagationTime()
public double getMemoryRequirements()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |