Skip navigation links
C D E I M O P R T U V 

C

count() - Method in class edu.ucla.belief.ace.OnlineEngineMop
Returns the MOP count computed during the most recent enumerate operation or Long.MAX_VALUE if this count exceeds the range of a long.

D

differentiate() - Method in class edu.ucla.belief.ace.OnlineEngineMop
Differentiates the circuit.
differentiate() - Method in class edu.ucla.belief.ace.OnlineEngineSop
Differentiates the circuit.
differentiateResultsAvailable() - Method in class edu.ucla.belief.ace.OnlineEngineMop
Returns whether differentiation results are available.
differentiationResultsAvailable() - Method in class edu.ucla.belief.ace.OnlineEngineSop
Returns whether differentiation results are available.

E

edu.ucla.belief.ace - package edu.ucla.belief.ace
A lightweight AC evaluator written in Java.
engine() - Method in class edu.ucla.belief.ace.Evidence
 
enumerate() - Method in class edu.ucla.belief.ace.OnlineEngineMop
Computes the number of mop instantiations and sets up the bookkeeping necessary to iterate through mop instantiations.
enumerateResultsAvailable() - Method in class edu.ucla.belief.ace.OnlineEngineMop
Returns whether enumerate results are available.
Evidence - Class in edu.ucla.belief.ace
An object that stores weights for AC use by an OnlineEngine.
Evidence(OnlineEngine) - Constructor for class edu.ucla.belief.ace.Evidence
Constructs empty evidence that may be used with the given OnlineEngine by assigning each weight its default as stored in the literal map.

I

instantiation(long) - Method in class edu.ucla.belief.ace.OnlineEngineMop
Returns an unmodifiable map to the index'th mop instantiation, computed during the most recent enumeration.

M

main(String[]) - Static method in class edu.ucla.belief.ace.Test
The main program.

O

OnlineEngineMixed - Class in edu.ucla.belief.ace
An OnlineEngine capable of answering repeated probabilistic queries for an AC that has MIXED addition and maximization nodes, in addition to multiplication nodes.
OnlineEngineMixed(String, String) - Constructor for class edu.ucla.belief.ace.OnlineEngineMixed
Reads a literal map from the file having the first given name, reads an AC from the file having the second given name, and constructs an online engine linked to the read literal map and read AC.
OnlineEngineMixed(BufferedReader, BufferedReader) - Constructor for class edu.ucla.belief.ace.OnlineEngineMixed
Reads a literal map from the first given reader, reads an AC from the second given reader, and constructs an online engine linked to the read literal map and read AC.
OnlineEngineMop - Class in edu.ucla.belief.ace
An OnlineEngine capable of answering repeated max-of-product (MOP) probabilistic queries efficiently.
OnlineEngineMop(String, String, boolean, boolean) - Constructor for class edu.ucla.belief.ace.OnlineEngineMop
Reads a literal map from the file having the first given name, reads an AC from the file having the second given name, and constructs an online engine linked to the read literal map and read AC.
OnlineEngineMop(BufferedReader, BufferedReader, boolean, boolean) - Constructor for class edu.ucla.belief.ace.OnlineEngineMop
Reads a literal map from the first given reader, reads an AC from the second given reader, and constructs an online engine linked to the read literal map and read AC.
OnlineEngineSop - Class in edu.ucla.belief.ace
An OnlineEngine capable of answering repeated sum-of-product (SOP) probabilistic queries efficiently.
OnlineEngineSop(String, String, boolean) - Constructor for class edu.ucla.belief.ace.OnlineEngineSop
Reads a literal map from the file having the first given name, reads an AC from the file having the second given name, and constructs an online engine linked to the read literal map and read AC.
OnlineEngineSop(BufferedReader, BufferedReader, boolean) - Constructor for class edu.ucla.belief.ace.OnlineEngineSop
Reads a literal map from the first given reader, reads an AC from the second given reader, and constructs an online engine linked to the read literal map and read AC.

P

parmCommit(int, int, double) - Method in class edu.ucla.belief.ace.Evidence
Redefines the value of the parameter defined by the given potential and given position.
parmRetract(int, int) - Method in class edu.ucla.belief.ace.Evidence
Retracts any redefinition of the value of the parameter defined by the given potential and given position.
potMarginals(int) - Method in class edu.ucla.belief.ace.OnlineEngineMop
For each position p of the given network potential, returns p's marginal or Double.NaN if the position is not a query position.
potMarginals(int) - Method in class edu.ucla.belief.ace.OnlineEngineSop
For each position p of the given network potential, returns p's marginal or Double.NaN if p is not a query position.
potPartials(int) - Method in class edu.ucla.belief.ace.OnlineEngineMop
For each position p of the given network potential, returns the partial derivative of the restricted AC with respect to x's parameter or Double.NaN if the position is not a query position.
potPartials(int) - Method in class edu.ucla.belief.ace.OnlineEngineSop
For each position p of the given network potential, returns the partial derivative of the AC with respect to the p's parameter or Double.NaN if the position is not a query position.
potPosteriors(int) - Method in class edu.ucla.belief.ace.OnlineEngineMop
For each position p of the given network potential, returns p's posterior or Double.NaN if p is not a query position.
potPosteriors(int) - Method in class edu.ucla.belief.ace.OnlineEngineSop
For each position p of the given network potential, returns p's posterior or Double.NaN if p is not a query position.

R

retractAll() - Method in class edu.ucla.belief.ace.Evidence
Retracts all changes to weights by resetting each weight to its default, as defined in the literal map.

T

Test - Class in edu.ucla.belief.ace
An example of using the Ace evaluator API.
Test() - Constructor for class edu.ucla.belief.ace.Test
 
toString() - Method in class edu.ucla.belief.ace.Evidence
 

U

UnderflowException - Exception in edu.ucla.belief.ace
An exception that evaluation and differentiation may throw when underflow occurs.
UnderflowException() - Constructor for exception edu.ucla.belief.ace.UnderflowException
 

V

valCommit(int, int, double) - Method in class edu.ucla.belief.ace.Evidence
Redefines the weight of the indicator defined by the given variable and value to the given weight.
valRetract(int, int) - Method in class edu.ucla.belief.ace.Evidence
Sets the weight of the indicator defined by the given variable and value to its default weight.
varCommit(int, int) - Method in class edu.ucla.belief.ace.Evidence
Commits the given variable to the given value.
varMarginals(int) - Method in class edu.ucla.belief.ace.OnlineEngineMop
For each value x of the given network variable, returns x's marginal or Double.NaN if x is not a query value.
varMarginals(int) - Method in class edu.ucla.belief.ace.OnlineEngineSop
For each value x of the given network variable, returns x's marginal P(x,e) or Double.NaN if the value is not a query value.
varPartials(int) - Method in class edu.ucla.belief.ace.OnlineEngineMop
For each value x of the given network variable, returns the partial derivative of the restricted AC with respect to the x's indicator or Double.NaN if the value is not a query value.
varPartials(int) - Method in class edu.ucla.belief.ace.OnlineEngineSop
For each value x of the given network variable, returns the partial derivative of the AC with respect to the x's indicator or Double.NaN if the value is not a query value.
varPosteriors(int) - Method in class edu.ucla.belief.ace.OnlineEngineMop
For each value x of the given network variable, returns x's posterior or Double.NaN if x is not a query value.
varPosteriors(int) - Method in class edu.ucla.belief.ace.OnlineEngineSop
For each value x of the given network variable, returns x's posterior P(x|e) or Double.NaN if the value is not a query value.
varRetract(int) - Method in class edu.ucla.belief.ace.Evidence
Retracts evidence on the given variable.
C D E I M O P R T U V 
Skip navigation links