A B C D E F G I M N O P R S T U V

A

add(DiscreteFunction[]) - Method in class BayesianNetworks.BayesNet
Add an array of DiscreteFunction objects to the BayesNet.
add(DiscreteVariable[]) - Method in class BayesianNetworks.BayesNet
Add an array of DiscreteVariable objects to the BayesNet.

B

BayesNet - class BayesianNetworks.BayesNet.
 
BayesNet() - Constructor for class BayesianNetworks.BayesNet
Default constructor for a BayesNet.
bn - Variable in class BayesianNetworks.DiscreteFunction
 
bn - Variable in class BayesianNetworks.DiscreteVariable
 
bn - Variable in class BayesianInferences.Expectation
 
bn - Variable in class BayesianInferences.Inference
 
bucket_for_variable - Variable in class BayesianInferences.Inference
 
bucket_forest - Variable in class BayesianInferences.Inference
 
bucket_tree - Variable in class BayesianInferences.Inference
 
BucketTree - class BayesianInferences.BucketTree.
 
BucketTree(Ordering) - Constructor for class BayesianInferences.BucketTree
Simple constructor for BucketTree.
BucketTree(Ordering, boolean) - Constructor for class BayesianInferences.BucketTree
Constructor for BucketTree.

C

CHANCE - Static variable in class BayesianNetworks.DiscreteVariable
 
current_function - Variable in class BayesianInferences.Expectation
 

D

DECISION - Static variable in class BayesianNetworks.DiscreteVariable
 
DiscreteFunction - class BayesianNetworks.DiscreteFunction.
 
DiscreteFunction(BayesNet, int, int) - Constructor for class BayesianNetworks.DiscreteFunction
Constructor for DiscreteFunction.
DiscreteFunction(DiscreteFunction, BayesNet) - Constructor for class BayesianNetworks.DiscreteFunction
Constructor for DiscreteFunction.
DiscreteFunction(DiscreteVariable[], DiscreteVariable[], double[]) - Constructor for class BayesianNetworks.DiscreteFunction
Basic constructor for DiscreteFunction.
DiscreteFunction(DiscreteVariable[], double[]) - Constructor for class BayesianNetworks.DiscreteFunction
Simple constructor for DiscreteFunction.
DiscreteFunction(int, int) - Constructor for class BayesianNetworks.DiscreteFunction
Simple constructor for DiscreteFunction.
DiscreteVariable - class BayesianNetworks.DiscreteVariable.
 
DiscreteVariable(String, int, String[]) - Constructor for class BayesianNetworks.DiscreteVariable
Constructor for a DiscreteVariable.
distribute() - Method in class BayesianInferences.BucketTree
Distribute evidence in the BucketTree.
do_expectation_from_inference(DiscreteFunction) - Method in class BayesianInferences.Expectation
 
do_produce_clusters - Variable in class BayesianInferences.Expectation
 
do_produce_clusters - Variable in class BayesianInferences.Inference
 

E

EJavaBayes - class EJavaBayes.
 
EJavaBayes() - Constructor for class EJavaBayes
 
evaluate(DiscreteVariable[], int[]) - Method in class BayesianNetworks.DiscreteFunction
Evaluate a function given a (possibly partial) instantiation of variables through the indexes.
evaluate(int[]) - Method in class BayesianNetworks.DiscreteFunction
Evaluate a function given a (possibly partial) instantiation of variables through the markers.
evaluate(String[][]) - Method in class BayesianNetworks.DiscreteFunction
Evaluate a function given a list of pairs (Variable Value) which specifies a value of the function.
Expectation - class BayesianInferences.Expectation.
 
Expectation(BayesNet, boolean) - Constructor for class BayesianInferences.Expectation
Constructor for an Expectation.
expectation(DiscreteFunction, String) - Method in class BayesianInferences.Expectation
Do the Expectation, assuming the input DiscreteFunction is a function only of the queried variable.
expectation(DiscreteFunction, String[]) - Method in class BayesianInferences.Expectation
Do the Expectation given order, assuming the input DiscreteFunction is a function only of the queried variable.
expectation(int, String) - Method in class BayesianInferences.Expectation
Calculation of Expectation.
expectation(int, String[]) - Method in class BayesianInferences.Expectation
Calculation of expectation given order.
expectation(String) - Method in class BayesianInferences.Expectation
Calculation of Expectation.
expectation(String[]) - Method in class BayesianInferences.Expectation
Perform calculation of expectation given order.
expected_value(DiscreteFunction) - Method in class BayesianNetworks.DiscreteFunction
Obtain expected value of a DiscreteFunction The current implementation is very limited; it assumes that both the DiscreteFunction object and the DiscreteFunctions object has a single variable, and the variable must be the same for both functions.
Explanation - class BayesianInferences.Explanation.
 
EXPLANATION - Static variable in class BayesianInferences.Inference
 
explanation_index - Variable in class BayesianNetworks.DiscreteVariable
 
explanation() - Method in class BayesianInferences.Explanation
Calculation of an Explanation.
Explanation(BayesNet) - Constructor for class BayesianInferences.Explanation
Constructor for an Explanation.
explanation(int) - Method in class BayesianInferences.Explanation
Calculation of an Explanation accordingly to the flag explanation_status.
explanation(String[], int) - Method in class BayesianInferences.Explanation
Calculation of an Explanation accordingly to the flag explanation_status.

F

FULL_EXPLANATION - Static variable in class BayesianInferences.Inference
 
full_explanation() - Method in class BayesianInferences.Explanation
Calculation of a full Explanation.

G

get_all_evidence() - Method in class BayesianNetworks.BayesNet
Get all the evidence contained in the network variables.
get_explanation_index() - Method in class BayesianNetworks.DiscreteVariable
Get the index of the assigned value in the variable.
get_explanation() - Method in class BayesianInferences.Explanation
Get the list of variables/values in the Explanation.
get_function(DiscreteVariable) - Method in class BayesianNetworks.BayesNet
Find the DiscreteFunction that corresponds to a given DiscreteVariable.
get_index() - Method in class BayesianNetworks.DiscreteVariable
Get the index of the current DiscreteVariable.
get_index(int) - Method in class BayesianNetworks.DiscreteFunction
Get a DiscreteVariable object with a particular index.
get_name() - Method in class BayesianNetworks.BayesNet
Get the name of the network.
get_name() - Method in class BayesianNetworks.DiscreteVariable
Get the name of the current DiscreteVariable.
get_normalized_result() - Method in class BayesianInferences.BucketTree
Get the normalized result for the BucketTree.
get_numeric_values() - Method in class BayesianNetworks.DiscreteVariable
Produce an array of numeric values for the values of a variable.
get_observed_index() - Method in class BayesianNetworks.DiscreteVariable
Get the index of the observed value.
get_position_from_indexes(DiscreteVariable[], int[]) - Method in class BayesianNetworks.DiscreteFunction
Get position in a function from a (possibly partial) instantiation of variables through the indexes.
get_position_from_indexes(int[]) - Method in class BayesianNetworks.DiscreteFunction
Get position in a function from a (possibly partial) instantiation of variables through the indexes.
get_probabilities() - Method in class BayesianNetworks.BayesNet
Get the probability functions.
get_probability_function(int) - Method in class BayesianNetworks.BayesNet
Get the probabilities function at a given index.
get_probability_variable(int) - Method in class BayesianNetworks.BayesNet
Get the probability variable at a given index.
get_probability_variable(String) - Method in class BayesianNetworks.BayesNet
Get the probability variable given the name of the variable.
get_result() - Method in class BayesianInferences.Expectation
Get the results of Expectation.
get_result() - Method in class BayesianInferences.Explanation
Get the results in the Explanation.
get_result() - Method in class BayesianInferences.Inference
Get the current result of the Inference.
get_type() - Method in class BayesianNetworks.DiscreteVariable
Get the type of the DiscreteVariable.
get_unnormalized_result() - Method in class BayesianInferences.BucketTree
Get the unnormalized_result for the BucketTree.
get_utility() - Method in class BayesianNetworks.BayesNet
Get the utility function.
get_value(int) - Method in class BayesianNetworks.DiscreteFunction
Get a value of the current DiscreteFunction given the position of the value in the array of values.
get_value(int) - Method in class BayesianNetworks.DiscreteVariable
Get a value of the current DiscreteVariable.
get_values() - Method in class BayesianNetworks.DiscreteVariable
Get the values of the current DiscreteVariable.
get_variable(int) - Method in class BayesianNetworks.DiscreteFunction
Get a variable in the current DiscreteFunction.
get_variables() - Method in class BayesianNetworks.BayesNet
Get the probability variables.
get_variables() - Method in class BayesianNetworks.DiscreteFunction
Get the variables in the current DiscreteFunction.

I

IGNORE_EXPLANATION - Static variable in class BayesianInferences.Inference
 
index - Variable in class BayesianNetworks.DiscreteVariable
 
index_of_value(String) - Method in class BayesianNetworks.DiscreteVariable
Determine the index of a value given its name; returns INVALID_INDEX if there is no index.
index_of_variable(String) - Method in class BayesianNetworks.BayesNet
Determine the position of a variable given its name.
inference - Variable in class BayesianInferences.Expectation
 
Inference - class BayesianInferences.Inference.
 
Inference(BayesNet, boolean) - Constructor for class BayesianInferences.Inference
 
inference(String) - Method in class BayesianInferences.Inference
Calculation of marginal posterior distribution for an arbitrary BayesNet.
inference(String[]) - Method in class BayesianInferences.Inference
Calculation of marginal posterior distribution using a given ordering, and an arbitrary BayesNet.
initialize_inference() - Method in class BayesianInferences.Expectation
 
INVALID_INDEX - Static variable in class BayesianNetworks.BayesNet
 
is_explanation() - Method in class BayesianNetworks.DiscreteVariable
Indicate whether the current DiscreteVariable is an explanatory variable or not.
is_observed() - Method in class BayesianNetworks.DiscreteVariable
Indicate whether the current DiscreteVariable has been observed or not.

M

main(String[]) - Static method in class EJavaBayes
Main method for JavaBayes.
memberOf(int) - Method in class BayesianNetworks.DiscreteFunction
Check whether an index is present in the function.
MINIMUM_WEIGHT - Static variable in class BayesianInferences.Ordering
 
multiply(DiscreteVariable[], DiscreteFunction) - Method in class BayesianNetworks.DiscreteFunction
Multiply two DiscreteFunction objects.

N

name - Variable in class BayesianNetworks.BayesNet
 
name - Variable in class BayesianNetworks.DiscreteVariable
 
normalize_first() - Method in class BayesianNetworks.DiscreteFunction
Normalize a probability function (in-place) assuming that it is a conditional distribution for the first variable
normalize() - Method in class BayesianNetworks.DiscreteFunction
Normalize a probability function (in-place).
number_probabilities() - Method in class BayesianNetworks.BayesNet
Get the number of distributions in the network.
number_values() - Method in class BayesianNetworks.DiscreteFunction
Return the number of values in the current DiscreteFunction.
number_values() - Method in class BayesianNetworks.DiscreteVariable
Return the number of values in the current DiscreteVariable.
number_variables() - Method in class BayesianNetworks.BayesNet
Get the number of variables in the network.
number_variables() - Method in class BayesianNetworks.DiscreteFunction
Return the number of DiscreteVariable objects in the current DiscreteFunction.

O

observed_index - Variable in class BayesianNetworks.DiscreteVariable
 
Ordering - class BayesianInferences.Ordering.
 
Ordering(BayesNet, String[], int) - Constructor for class BayesianInferences.Ordering
Basic constructor for Ordering.
Ordering(BayesNet, String, int, int) - Constructor for class BayesianInferences.Ordering
Basic constructor for Ordering.

P

posterior_expected_value(DiscreteFunction) - Method in class BayesianNetworks.DiscreteFunction
Obtain posterior expected value of a DiscreteFunction This assumes that the probability values are unnormalized, equal to p(x, e) where e is the evidence.
probabilities - Variable in class BayesianNetworks.BayesNet
 

R

reduce() - Method in class BayesianInferences.BucketTree
Variable elimination in the BucketTree.
result - Variable in class BayesianInferences.Expectation
 
result - Variable in class BayesianInferences.Inference
 

S

set_explanation_index(int) - Method in class BayesianNetworks.DiscreteVariable
Set the variable as explanatory with a given value.
set_index(int) - Method in class BayesianNetworks.DiscreteVariable
Set the index of the variable.
set_invalid_index() - Method in class BayesianNetworks.DiscreteVariable
Set the index of the current DiscreteVariable as invalid.
set_invalid_observed_index() - Method in class BayesianNetworks.DiscreteVariable
Set the DiscreteVariable as not observed..
set_name(String) - Method in class BayesianNetworks.BayesNet
Set the name of the network.
set_name(String) - Method in class BayesianNetworks.DiscreteVariable
Set the name of the current DiscreteVariable.
set_observed_value(String) - Method in class BayesianNetworks.DiscreteVariable
Set a value of the current DiscreteVariable as observed.
set_probability_function(int, DiscreteFunction) - Method in class BayesianNetworks.BayesNet
Set a probability variable given its index.
set_probability_variable(int, DiscreteVariable) - Method in class BayesianNetworks.BayesNet
Set a probability variable given its index.
set_probability(DiscreteFunction[]) - Method in class BayesianNetworks.BayesNet
Set the vector of probability functions.
set_type(int) - Method in class BayesianNetworks.DiscreteVariable
Set the type of the current DiscreteVariable.
set_value(int, double) - Method in class BayesianNetworks.DiscreteFunction
Set a value in the current DiscreteFunction given its position in the array of values.
set_value(String[][], double) - Method in class BayesianNetworks.DiscreteFunction
Set a single value of the probability function.
set_values(String[]) - Method in class BayesianNetworks.DiscreteVariable
Set the values of the current DiscreteVariable.
set_variable(int, DiscreteVariable) - Method in class BayesianNetworks.DiscreteFunction
Set a DiscreteVariable in the current DiscreteFunction given its position in the array of values.
set_variables(DiscreteVariable[]) - Method in class BayesianNetworks.BayesNet
Set the vector of probability variables.
sum_out(DiscreteVariable[], boolean[]) - Method in class BayesianNetworks.DiscreteFunction
Sum out some variables in the function.

T

TRANSPARENT - Static variable in class BayesianNetworks.DiscreteVariable
 
type - Variable in class BayesianNetworks.DiscreteVariable
 

U

USER_DEFINED - Static variable in class BayesianInferences.Ordering
 
USER_ORDER - Static variable in class BayesianInferences.Ordering
 
utility - Variable in class BayesianNetworks.BayesNet
 
UTILITY - Static variable in class BayesianNetworks.DiscreteVariable
 

V

values - Variable in class BayesianNetworks.DiscreteFunction
 
values - Variable in class BayesianNetworks.DiscreteVariable
 
variables - Variable in class BayesianNetworks.BayesNet
 
variables - Variable in class BayesianNetworks.DiscreteFunction
 
variance(DiscreteFunction) - Method in class BayesianNetworks.DiscreteFunction
Calculate the variance of a DiscreteFunction.

A B C D E F G I M N O P R S T U V