A B C D E F G H I J L M N O P Q R S T U V W X

A

AbstractBnetFormat - class com.cra.bnet.io.AbstractBnetFormat.
Skeletal implementation of the BnetFormat interface.
AbstractBnetFormat() - Constructor for class com.cra.bnet.io.AbstractBnetFormat
Empty constructor.
AbstractNode - class com.cra.bnet.engine.AbstractNode.
Skeletal implementation of the Node interface.
AbstractNode() - Constructor for class com.cra.bnet.engine.AbstractNode
 
AbstractQueueNode - class com.cra.bnet.engine.AbstractQueueNode.
Skeletal implementation of the QueueNode interface.
AbstractQueueNode() - Constructor for class com.cra.bnet.engine.AbstractQueueNode
 
accept(BeliefEvent) - Method in class com.cra.bnet.engine.ThresholdBeliefCondition
 
accept(BeliefEvent) - Method in interface com.cra.bnet.engine.BeliefCondition
Returns true if the specified belief event meets this condition.
ad - Variable in class com.cra.bnet.engine.GeneratedEngineBase
these five arrays store partial results of belief calculations
add(Potential) - Method in class com.cra.bnet.engine.Potential
Adds this potential to the specified potential and returns the result.
addBeliefListener(BeliefListener) - Method in class com.cra.bnet.engine.Node
Registers the specified belief listener to receive belief events when this node's beliefs change.
addBeliefListener(BeliefListener) - Method in class com.cra.bnet.engine.BeliefAlert
Registers the specified belief listener so it will receive notification when belief events pass this alert's condition.
addBeliefListener(BeliefListener) - Method in class com.cra.bnet.engine.BayesianNetwork
Registers the specified listener to receive belief events when beliefs of any node in this Bayesian network change.
addChangeListener(ChangeListener) - Method in class com.cra.bnet.engine.StructuralModificationSupport
Registers the specified change listener to receive events whenever structural modifications are made to the Bayesian network.
addChangeListener(ChangeListener) - Method in class com.cra.bnet.engine.BeliefUpdater
Registers the specified listener with this belief updater so it will receive change events whenever this belief updater is notified of any modifications to the Bayesian network.
addChild(AddNode) - Method in class com.cra.bnet.engine.MultiplyNode
Adds the specified addition node to this node's child list.
addChild(AmgNode) - Method in class com.cra.bnet.engine.AbstractNode
Adds the specified node to this node's child list.
addChild(CptEntryNode) - Method in class com.cra.bnet.engine.MultiplyNode
Adds the specified cpt entry node to this node's child list.
addChild(EvidenceNode) - Method in class com.cra.bnet.engine.MultiplyNode
Adds the specified evidence node to this node's child list.
addChild(MultiplyNode) - Method in class com.cra.bnet.engine.AddNode
Adds the specified multiply node to this node's child list.
addCptListener(CptListener) - Method in class com.cra.bnet.engine.Node
Registers the specified CPT listener to receive CPT events when this node's CPT changes.
addCptListener(CptListener) - Method in class com.cra.bnet.engine.BayesianNetwork
Registers the specified listener to receive cpt events when the cpt of any node in this Bayesian network changes.
addDiscreteNode(String) - Method in class com.cra.bnet.engine.BayesianNetwork
Adds a new discrete node to this Bayesian network that has the specified name and two states: true and false.
addDiscreteNode(String, List) - Method in class com.cra.bnet.engine.BayesianNetwork
Adds a new discrete node to this Bayesian network that has the specified name and states.
addEdge(Node, Node) - Method in class com.cra.bnet.engine.BayesianNetwork
Adds an edge from the specified parent to the specified child to this Bayesian network.
addEdit(UndoableEdit) - Method in class com.cra.bnet.engine.BayesianNetwork.RemoveNodeEdit
 
addEdit(UndoableEdit) - Method in class com.cra.bnet.engine.BayesianNetwork.CompoundPostEvidenceEdit
 
addEdit(UndoableEdit) - Method in class com.cra.bnet.engine.BayesianNetwork.CompoundChangeLocationEdit
 
addEdit(UndoableEdit) - Method in class com.cra.bnet.engine.BayesianNetwork.CompoundChangeCptEntryEdit
 
addEmEtaListener(EmEtaListener) - Method in class com.cra.bnet.learn.EmEtaLearningAlgorithm
Registers the specified listener so that it will receive events from this learning algorithm.
addErrorListener(ErrorListener) - Method in class com.cra.bnet.error.ErrorNotifier
Registers the specified error listener so it will receive errors.
addEvidenceListener(EvidenceListener) - Method in class com.cra.bnet.engine.Node
Registers the specified listener to receive evidence events when evidence is posted to or retracted from this node.
addEvidenceListener(EvidenceListener) - Method in class com.cra.bnet.engine.BayesianNetwork
Registers the specified listener to receive evidence events when evidence is posted to or retracted from any node in this Bayesian network.
AddMultiplyGraph - class com.cra.bnet.engine.AddMultiplyGraph.
An Add-Multiply Graph used to calculate beliefs in a Bayesian network.
AddMultiplyGraph() - Constructor for class com.cra.bnet.engine.AddMultiplyGraph
Creates a new empty AddMultiplyGraph.
AddMultiplyGraph(AddNode[]) - Constructor for class com.cra.bnet.engine.AddMultiplyGraph
Creates a new AddMultiplyGraph using the specified root node.
AddMultiplyGraphFactory - class com.cra.bnet.engine.AddMultiplyGraphFactory.
Factory for creating AddMultiplyGraph objects.
AddNode - class com.cra.bnet.engine.AddNode.
Represents an addition node in the AMG.
AddNode(Set[], int, int) - Constructor for class com.cra.bnet.engine.AddNode
Creates a new AddNode using the specified separator index and instantiation index.
addNodeLengths() - Method in class com.cra.bnet.engine.GeneratedEngineBase
 
addNodeListener(NodeListener) - Method in class com.cra.bnet.engine.Node
Registers the specified node listener to receive node events when aspects of this node change.
addNodeListener(NodeListener) - Method in class com.cra.bnet.engine.BayesianNetwork
Registers the specified listener to receive node events when aspects of any node in this Bayesian network change.
addNodePropertyChangeListener(PropertyChangeListener) - Method in class com.cra.bnet.engine.BayesianNetwork
Registers the specified property change listener to receive events when the user properties of any node in this Bayesian network change.
addParent(AddNode) - Method in class com.cra.bnet.engine.MultiplyNode
Adds the specified addition node to this node's parent list.
addParent(AmgNode) - Method in class com.cra.bnet.engine.AbstractNode
Adds the specified node to this node's parent list.
addParent(MultiplyNode) - Method in class com.cra.bnet.engine.EvidenceNode
Adds the specified multiply node to this node's parent list.
addParent(MultiplyNode) - Method in class com.cra.bnet.engine.CptEntryNode
Adds the specified multiply node to this node's parent list.
addParent(MultiplyNode) - Method in class com.cra.bnet.engine.AddNode
Adds the specified multiply node to this nodes parent list.
addPropertyChangeListener(PropertyChangeListener) - Method in class com.cra.bnet.engine.Node
Registers the specified property change listener to receive events when the user properties of this node change.
addPropertyChangeListener(PropertyChangeListener) - Method in class com.cra.bnet.engine.BeliefUpdater
Registers the specified listener so it will receive property change events.
addPropertyChangeListener(PropertyChangeListener) - Method in class com.cra.bnet.engine.BayesianNetwork
Registers the specified property change listener to receive events when the user properties of this Bayesian network change.
addPropertyChangeListener(PropertyChangeListener, String) - Method in class com.cra.bnet.engine.BeliefUpdater
Registers the specified listener so it will receive property change events for the specified property.
addStateListener(StateListener) - Method in class com.cra.bnet.engine.DiscreteNode
Registers the specified state listener to receive events when this discrete node's states change.
addStateListener(StateListener) - Method in class com.cra.bnet.engine.BayesianNetwork
Registers the specified listener to receive state events when states of any node in this Bayesian network change.
addTopologyListener(TopologyListener) - Method in class com.cra.bnet.engine.BayesianNetwork
Registers the specified topology listener to receive topology events from this Bayesian network.
addUndoableEditListener(UndoableEditListener) - Method in class com.cra.bnet.engine.BayesianNetwork
Registers the specified listener to receive undoable edit events from this Bayesian network.
ALGORITHM_FINISHED - Static variable in class com.cra.bnet.learn.EmEtaEvent
The algorithm finished event type.
ALGORITHM_PAUSED - Static variable in class com.cra.bnet.learn.EmEtaEvent
The algorithm paused event type.
ALGORITHM_RESUMED - Static variable in class com.cra.bnet.learn.EmEtaEvent
The algorithm resumed event type.
ALGORITHM_STARTED - Static variable in class com.cra.bnet.learn.EmEtaEvent
The algorithm started event type.
ALGORITHM_STOPPED - Static variable in class com.cra.bnet.learn.EmEtaEvent
The algorithm stopped event type.
algorithmFinished(EmEtaEvent) - Method in interface com.cra.bnet.learn.EmEtaListener
Invoked when the algorithm is finished.
algorithmFinished(EmEtaEvent) - Method in class com.cra.bnet.learn.EmEtaAdapter
Invoked when the algorithm is finished.
algorithmPaused(EmEtaEvent) - Method in interface com.cra.bnet.learn.EmEtaListener
Invoked when the algorithm has been paused.
algorithmPaused(EmEtaEvent) - Method in class com.cra.bnet.learn.EmEtaAdapter
Invoked when the algorithm has been paused.
algorithmResumed(EmEtaEvent) - Method in interface com.cra.bnet.learn.EmEtaListener
Invoked when the algorithm has been resumed.
algorithmResumed(EmEtaEvent) - Method in class com.cra.bnet.learn.EmEtaAdapter
Invoked when the algorithm has been resumed.
algorithmStarted(EmEtaEvent) - Method in interface com.cra.bnet.learn.EmEtaListener
Invoked when the algorithm has started.
algorithmStarted(EmEtaEvent) - Method in class com.cra.bnet.learn.EmEtaAdapter
Invoked when the algorithm has started.
algorithmStopped(EmEtaEvent) - Method in interface com.cra.bnet.learn.EmEtaListener
Invoked when the algorithm has been stopped.
algorithmStopped(EmEtaEvent) - Method in class com.cra.bnet.learn.EmEtaAdapter
Invoked when the algorithm has been stopped.
ALL_EVIDENCE_RETRACTED - Static variable in class com.cra.bnet.engine.EvidenceEvent
The all evidence retracted event type.
ALL_EVIDENCE_RETRACTED - Static variable in class com.cra.bnet.engine.BeliefUpdater
The integer mask for all evidence retracted.
allEntriesChanged(CptEvent) - Method in interface com.cra.bnet.engine.CptListener
Invoked when all entries of a cpt have changed.
allEntriesChanged(CptEvent) - Method in class com.cra.bnet.engine.CptAdapter
 
allEvidenceRetracted(EvidenceEvent) - Method in interface com.cra.bnet.engine.EvidenceListener
Invoked when all evidence was retracted from a Bayesian network.
allEvidenceRetracted(EvidenceEvent) - Method in class com.cra.bnet.engine.EvidenceAdapter
 
AmgInferenceEngine - class com.cra.bnet.engine.AmgInferenceEngine.
Inference engine based on an add-multiply graph.
AmgInferenceEngine(BayesianNetwork) - Constructor for class com.cra.bnet.engine.AmgInferenceEngine
Creates a new AMG inference engine using the specified Bayesian network.
AmgInferenceEngine(BayesianNetwork, boolean) - Constructor for class com.cra.bnet.engine.AmgInferenceEngine
Creates a new AMG inference engine using the specified Bayesian network.
AmgNode - interface com.cra.bnet.engine.AmgNode.
Represents a node in the AMG.
AmgUtilities - class com.cra.bnet.engine.AmgUtilities.
Add-multiply graph utilities.
AmgUtilities() - Constructor for class com.cra.bnet.engine.AmgUtilities
 
assertDebug(boolean, RuntimeException) - Static method in class com.cra.bnet.debug.DebugUtils
 
assertTrue(boolean, RuntimeException) - Static method in class com.cra.bnet.debug.DebugUtils
This method was changed from assert to assertTrue since assert is a keywork in Java 1.4.
av - Variable in class com.cra.bnet.engine.GeneratedEngineBase
these five arrays store partial results of belief calculations

B

b - Variable in class com.cra.bnet.engine.GeneratedEngineBase
b[i][j] = belief for state j of node i
BayesianNetwork - class com.cra.bnet.engine.BayesianNetwork.
A Bayesian network (also known as a belief network or Bayesian belief network).
BayesianNetwork.AddEdgeEdit - class com.cra.bnet.engine.BayesianNetwork.AddEdgeEdit.
Undoable edit for adding an edge.
BayesianNetwork.AddNodeEdit - class com.cra.bnet.engine.BayesianNetwork.AddNodeEdit.
Undoable edit for adding a node.
BayesianNetwork.AddStateEdit - class com.cra.bnet.engine.BayesianNetwork.AddStateEdit.
Undoable edit for adding a state.
BayesianNetwork.ChangeCptEntryEdit - class com.cra.bnet.engine.BayesianNetwork.ChangeCptEntryEdit.
Undoable edit for changing a cpt entry.
BayesianNetwork.ChangeLocationEdit - class com.cra.bnet.engine.BayesianNetwork.ChangeLocationEdit.
Undoable edit for changing a node's location.
BayesianNetwork.ChangeNodeDescriptionEdit - class com.cra.bnet.engine.BayesianNetwork.ChangeNodeDescriptionEdit.
Undoable edit for changing a node's description.
BayesianNetwork.ClearEvidenceEdit - class com.cra.bnet.engine.BayesianNetwork.ClearEvidenceEdit.
Undoable edit for removing all evidence.
BayesianNetwork.CompoundChangeCptEntryEdit - class com.cra.bnet.engine.BayesianNetwork.CompoundChangeCptEntryEdit.
Undoable edit for changing multiple cpt entries.
BayesianNetwork.CompoundChangeCptEntryEdit() - Constructor for class com.cra.bnet.engine.BayesianNetwork.CompoundChangeCptEntryEdit
 
BayesianNetwork.CompoundChangeCptEntryEdit(String) - Constructor for class com.cra.bnet.engine.BayesianNetwork.CompoundChangeCptEntryEdit
 
BayesianNetwork.CompoundChangeLocationEdit - class com.cra.bnet.engine.BayesianNetwork.CompoundChangeLocationEdit.
Undoable edit for grouping multiple moves together.
BayesianNetwork.CompoundChangeLocationEdit() - Constructor for class com.cra.bnet.engine.BayesianNetwork.CompoundChangeLocationEdit
 
BayesianNetwork.CompoundChangeLocationEdit(String) - Constructor for class com.cra.bnet.engine.BayesianNetwork.CompoundChangeLocationEdit
 
BayesianNetwork.CompoundPostEvidenceEdit - class com.cra.bnet.engine.BayesianNetwork.CompoundPostEvidenceEdit.
Undoable edit for posting multiple pieces of evidence.
BayesianNetwork.CompoundPostEvidenceEdit() - Constructor for class com.cra.bnet.engine.BayesianNetwork.CompoundPostEvidenceEdit
 
BayesianNetwork.CompoundPostEvidenceEdit(String) - Constructor for class com.cra.bnet.engine.BayesianNetwork.CompoundPostEvidenceEdit
 
BayesianNetwork.PostEvidenceEdit - class com.cra.bnet.engine.BayesianNetwork.PostEvidenceEdit.
Undoable edit for posting evidence.
BayesianNetwork.RemoveEdgeEdit - class com.cra.bnet.engine.BayesianNetwork.RemoveEdgeEdit.
Undoable edit for removing an edge.
BayesianNetwork.RemoveEvidenceEdit - class com.cra.bnet.engine.BayesianNetwork.RemoveEvidenceEdit.
Undoable edit for removing evidence.
BayesianNetwork.RemoveNodeEdit - class com.cra.bnet.engine.BayesianNetwork.RemoveNodeEdit.
Undoable edit for removing a node.
BayesianNetwork.RemoveStateEdit - class com.cra.bnet.engine.BayesianNetwork.RemoveStateEdit.
Undoable edit for removing a state.
BayesianNetwork.RenameNetworkEdit - class com.cra.bnet.engine.BayesianNetwork.RenameNetworkEdit.
Undoable edit for renaming the network.
BayesianNetwork.RenameNodeEdit - class com.cra.bnet.engine.BayesianNetwork.RenameNodeEdit.
Undoable edit for renaming a node.
BayesianNetwork.RenameStateEdit - class com.cra.bnet.engine.BayesianNetwork.RenameStateEdit.
Undoable edit for renaming a state.
BayesianNetwork.ReorderParentEdit - class com.cra.bnet.engine.BayesianNetwork.ReorderParentEdit.
Undoable edit for reordering a parent.
BayesianNetwork.ReorderStateEdit - class com.cra.bnet.engine.BayesianNetwork.ReorderStateEdit.
Undoable edit for reordering a state.
BayesianNetwork() - Constructor for class com.cra.bnet.engine.BayesianNetwork
Creates a new, empty BayesianNetwork.
BayesianNetwork(BayesianNetwork) - Constructor for class com.cra.bnet.engine.BayesianNetwork
Creates a new BayesianNetwork that is a copy of the specified Bayesian network.
BayesianNetworks - class com.cra.bnet.engine.BayesianNetworks.
Utility methods for Bayesian networks.
BeliefAdapter - class com.cra.bnet.engine.BeliefAdapter.
An abstract adapter class for receiving belief events.
BeliefAdapter() - Constructor for class com.cra.bnet.engine.BeliefAdapter
 
BeliefAlert - class com.cra.bnet.engine.BeliefAlert.
Alerts belief listeners when a belief event meets a certain condition.
BeliefAlert(BeliefCondition) - Constructor for class com.cra.bnet.engine.BeliefAlert
Creates a new BeliefAlert using the specified condition.
BeliefAlert(BeliefCondition, BeliefListener) - Constructor for class com.cra.bnet.engine.BeliefAlert
Creates a new BeliefAlert using the specified condition and belief listener.
BeliefCondition - interface com.cra.bnet.engine.BeliefCondition.
Tests a belief event using some condition.
BeliefEvent - class com.cra.bnet.engine.BeliefEvent.
An event representing a change in beliefs for a node in a Bayesian network.
BeliefEvent(Node, double[], boolean) - Constructor for class com.cra.bnet.engine.BeliefEvent
Creates a new BeliefEvent.
BeliefListener - interface com.cra.bnet.engine.BeliefListener.
A listener for receiving events when beliefs change.
beliefsChanged(BeliefEvent) - Method in interface com.cra.bnet.engine.BeliefListener
Invoked when beliefs have changed.
beliefsChanged(BeliefEvent) - Method in class com.cra.bnet.engine.BeliefAdapter
 
beliefsInvalid(BeliefEvent) - Method in interface com.cra.bnet.engine.BeliefListener
Invoked when a modification was made to the Bayesian network that caused beliefs to become invalid.
beliefsInvalid(BeliefEvent) - Method in class com.cra.bnet.engine.BeliefAdapter
 
BeliefUpdater - class com.cra.bnet.engine.BeliefUpdater.
Controls automatic updating of beliefs for a Bayesian network.
BnetError - exception com.cra.bnet.error.BnetError.
A BNet-related error.
BnetError(BayesianNetwork) - Constructor for class com.cra.bnet.error.BnetError
Creates a new BnetError.
BnetError(BayesianNetwork, String) - Constructor for class com.cra.bnet.error.BnetError
Creates a new BnetError using the specified message.
BnetFormat - interface com.cra.bnet.io.BnetFormat.
A utility for reading and writing Bayesian networks in some format.
BnetFormatFactory - class com.cra.bnet.io.BnetFormatFactory.
A factory that provides BnetFormat implementations for clients to use.
BufferedRegExpReader - class com.cra.bnet.io.BufferedRegExpReader.
Reader implementation that buffers characters read from a regular expression matcher.
BufferedRegExpReader(Reader) - Constructor for class com.cra.bnet.io.BufferedRegExpReader
Creates a new BufferedRegExpReader that wraps the specified reader.

C

c - Variable in class com.cra.bnet.engine.GeneratedEngineBase
c[i][j] = conditional probability for configuration j of node i
calculateBeliefs(DiscreteNode) - Method in class com.cra.bnet.engine.JunctionTreeInferenceEngine
Calculates the current beliefs for the specified variable given the current evidence.
calculateBeliefs(DiscreteNode) - Method in class com.cra.bnet.engine.HuginInferenceEngine
Calculates the current beliefs for the specified variable given the current evidence.
calculateBeliefs0() - Method in class com.cra.bnet.engine.GeneratedEngineBase
 
Case - interface com.cra.bnet.learn.Case.
A single case in a data set used for learning Bayesian networks.
charAt(int) - Method in class com.cra.bnet.io.BufferedRegExpReader
Returns the character at the specified index.
clear() - Method in class com.cra.bnet.engine.PotentialMappings
Removes all mappings from this potential mappings object.
clearAllEvidence() - Method in interface com.cra.bnet.engine.LightweightBayesianNetwork
 
clearAllEvidence() - Method in class com.cra.bnet.engine.GeneratedEngineBase
 
clearEvidence() - Method in class com.cra.bnet.engine.ScgInferenceEngine
 
clearEvidence() - Method in class com.cra.bnet.engine.JunctionTreeInferenceEngine
Removes (or equivalently, retracts) evidence from all nodes in the network.
clearEvidence() - Method in interface com.cra.bnet.engine.InferenceEngine
Removes (or equivalently, retracts) evidence from all nodes in the network.
clearEvidence() - Method in class com.cra.bnet.engine.BayesianNetwork
Retracts evidence from all nodes in this Bayesian network.
clearEvidence() - Method in class com.cra.bnet.engine.AmgInferenceEngine
 
clearEvidence(int) - Method in interface com.cra.bnet.engine.LightweightBayesianNetwork
 
clearEvidence(int) - Method in class com.cra.bnet.engine.GeneratedEngineBase
 
close() - Method in class com.cra.bnet.io.CraPushbackReader
Closes the stream.
close() - Method in class com.cra.bnet.io.BufferedRegExpReader
Closes this reader.
com.cra.bnet.debug - package com.cra.bnet.debug
Debugging utilities.
com.cra.bnet.engine - package com.cra.bnet.engine
Core Bayesian network data structures and algorithms.
com.cra.bnet.error - package com.cra.bnet.error
Error classes.
com.cra.bnet.io - package com.cra.bnet.io
Classes for reading Bayesian networks from files and writing Bayesian networks to files.
com.cra.bnet.learn - package com.cra.bnet.learn
Classes for learning Bayesian networks from data.
compare(double, double) - Method in class com.cra.bnet.engine.ThresholdBeliefCondition.ComparisonOperator
Compares the first specified number to the second specified number.
ComplexDataSet - class com.cra.bnet.learn.ComplexDataSet.
A more complex implementation of the DataSet interface.
ComplexDataSet(File, BayesianNetwork) - Constructor for class com.cra.bnet.learn.ComplexDataSet
Creates a new ComplexDataSet using the data in the specified file and the specified Bayesian network.
computDerivative() - Method in class com.cra.bnet.engine.ConstantNode
 
computeDerivative() - Method in class com.cra.bnet.engine.AddNode
 
computeDerivative() - Method in class com.cra.bnet.engine.AbstractNode
Computes the derivative for this node.
computeValue() - Method in class com.cra.bnet.engine.MultiplyNode
 
computeValue() - Method in class com.cra.bnet.engine.EvidenceNode
 
computeValue() - Method in class com.cra.bnet.engine.CptEntryNode
 
computeValue() - Method in class com.cra.bnet.engine.ConstantNode
 
computeValue() - Method in class com.cra.bnet.engine.AddNode
 
computeValue() - Method in class com.cra.bnet.engine.AbstractNode
Computes the value for this node.
condProbs() - Method in class com.cra.bnet.engine.GeneratedEngineBase
 
ConstantNode - class com.cra.bnet.engine.ConstantNode.
Represents a constant node in the AMG.
ConstantNode(double) - Constructor for class com.cra.bnet.engine.ConstantNode
 
convertToIndex(int, int[]) - Method in class com.cra.bnet.engine.Cpt
Converts the specific node index and parent indices into a single index that can be used with the get(int) and set(int, double) methods.
convertToNodeAndParentIndices(int, int[]) - Method in class com.cra.bnet.engine.Cpt
Converts the specified single CPT array index into the corresponding node index and parent indices.
copy(double[]) - Static method in class com.cra.bnet.engine.BayesianNetworks
Returns a new array that is a copy of the specified array.
Cpd - interface com.cra.bnet.engine.Cpd.
A conditional probability distribution for a node in a Bayesian network.
Cpt - class com.cra.bnet.engine.Cpt.
A conditional probability table (CPT) for a discrete node in a Bayesian network.
CPT_ENTRY_CHANGED - Static variable in class com.cra.bnet.engine.BeliefUpdater
The integer mask for cpt entry changed.
CptAdapter - class com.cra.bnet.engine.CptAdapter.
An abstract adapter class for receiving CPT events.
CptAdapter() - Constructor for class com.cra.bnet.engine.CptAdapter
 
CptEntryNode - class com.cra.bnet.engine.CptEntryNode.
Represents a cpt entry node in the AMG.
CptEntryNode(DiscreteNode, int, int, double) - Constructor for class com.cra.bnet.engine.CptEntryNode
Creates a new CptEntryNode using the specified variable index, instantiation index, and probability.
CptEvent - class com.cra.bnet.engine.CptEvent.
An event representing a change in a cpt entry.
CptEvent(DiscreteNode) - Constructor for class com.cra.bnet.engine.CptEvent
Creates a new CptEvent that represents a change to all entries in the specified node's conditional probability table.
CptEvent(DiscreteNode, int, int[], double, double) - Constructor for class com.cra.bnet.engine.CptEvent
Creates a new CptEvent.
CptListener - interface com.cra.bnet.engine.CptListener.
A listener for receiving events when cpt entries change.
CraPushbackReader - class com.cra.bnet.io.CraPushbackReader.
A reader that allows characters to be pushed back into the stream.
CraPushbackReader(Reader) - Constructor for class com.cra.bnet.io.CraPushbackReader
Creates a new CraPushbackReader that wraps the specified reader.
createAddMultiplyGraph(BayesianNetwork) - Static method in class com.cra.bnet.engine.AddMultiplyGraphFactory
Creates a new Add-Multiply Graph using the specified Bayesian network.
createFormat(BufferedRegExpReader) - Method in class com.cra.bnet.io.BnetFormatFactory
Returns a BnetFormat implementation that is capable of reading a Bayesian network from the specified reader.
createHardEvidence(int, int) - Static method in class com.cra.bnet.engine.AmgUtilities
Returns an array of the specified length that represents hard evidence for the specified state.
createName() - Method in class com.cra.bnet.engine.MultiplyNode
 
createName() - Method in class com.cra.bnet.engine.EvidenceNode
 
createName() - Method in class com.cra.bnet.engine.CptEntryNode
 
createName() - Method in class com.cra.bnet.engine.ConstantNode
 
createName() - Method in class com.cra.bnet.engine.AddNode
 
createName() - Method in class com.cra.bnet.engine.AbstractNode
 
CycleError - exception com.cra.bnet.error.CycleError.
An error that occurs when a cycle-creating edge was added to a Bayesian network.
CycleError(BayesianNetwork, Node, Node) - Constructor for class com.cra.bnet.error.CycleError
Creates a new CycleError using the specified network model, source node, and target node.

D

DataSet - interface com.cra.bnet.learn.DataSet.
A data set used for learning Bayesian networks.
DataSetUtil - class com.cra.bnet.learn.DataSetUtil.
Utility class for data files used for learning.
DEBUG - Static variable in class com.cra.bnet.debug.DebugUtils
Set the system property "com.cra.util.debug.DebugUtils.RELEASE" to the value "RELEASE" to set this field false.
DebugUtils - class com.cra.bnet.debug.DebugUtils.
Debugging utilities.
DecisionAnalysisTools - class com.cra.bnet.engine.DecisionAnalysisTools.
Decision analysis utility class.
DEFAULT_PARAMETERS - Static variable in class com.cra.bnet.learn.EmEtaParameters
Default parameters.
derivativeName - Variable in class com.cra.bnet.engine.AbstractNode
 
DESCRIPTION_CHANGED - Static variable in class com.cra.bnet.engine.NodeEvent
The description changed event type.
DESCRIPTION_PROPERTY - Static variable in class com.cra.bnet.engine.BayesianNetwork
The Bayesian network description property.
descriptionChanged(NodeEvent) - Method in interface com.cra.bnet.engine.NodeListener
Invoked when the node's description has been changed.
descriptionChanged(NodeEvent) - Method in class com.cra.bnet.engine.NodeAdapter
 
DisconnectedNetworkError - exception com.cra.bnet.error.DisconnectedNetworkError.
An error that occurs when inference is attempted on a disconnected Bayesian network.
DisconnectedNetworkError(BayesianNetwork) - Constructor for class com.cra.bnet.error.DisconnectedNetworkError
Creates a new DisconnectedNetworkError.
DiscreteNode - class com.cra.bnet.engine.DiscreteNode.
A discrete node in a Bayesian network.
discreteNodeSet() - Method in class com.cra.bnet.engine.BayesianNetwork
Returns a set view of the discrete nodes contained in this Bayesian network.
Discretizer - class com.cra.bnet.engine.Discretizer.
Discretizes a value of a continuous variable to a state of a discrete variable.
Discretizer(double[]) - Constructor for class com.cra.bnet.engine.Discretizer
Creates a new Discretizer using the specified boundaries.
divideBy(Potential) - Method in class com.cra.bnet.engine.Potential
Divides this potential by the specified potential and returns the result.
dump(PrintWriter) - Method in class com.cra.bnet.engine.Potential
Prints this potential to the specified print writer.
DuplicateEdgeError - exception com.cra.bnet.error.DuplicateEdgeError.
An error that occurs when a duplicate edge was added to a Bayesian network.
DuplicateEdgeError(BayesianNetwork, Node, Node) - Constructor for class com.cra.bnet.error.DuplicateEdgeError
Creates a new DuplicateEdgeError using the specified network model, source node, and target node.
DuplicateNodeError - exception com.cra.bnet.error.DuplicateNodeError.
An error that occurs when a duplicate node was added to a Bayesian network.
DuplicateNodeError(BayesianNetwork, String) - Constructor for class com.cra.bnet.error.DuplicateNodeError
Creates a new DuplicateNodeError using the specified name.

E

e - Variable in class com.cra.bnet.engine.GeneratedEngineBase
e[i][j] = evidence for state j of node i
ed - Variable in class com.cra.bnet.engine.GeneratedEngineBase
these five arrays store partial results of belief calculations
EDGE_ADDED - Static variable in class com.cra.bnet.engine.TopologyEvent
The edge added event type.
EDGE_ADDED - Static variable in class com.cra.bnet.engine.BeliefUpdater
The integer mask for edge added.
EDGE_REMOVED - Static variable in class com.cra.bnet.engine.TopologyEvent
The edge removed event type.
EDGE_REMOVED - Static variable in class com.cra.bnet.engine.BeliefUpdater
The integer mask for edge removed.
edgeAdded(TopologyEvent) - Method in interface com.cra.bnet.engine.TopologyListener
Invoked when an edge has been added to a Bayesian network.
edgeAdded(TopologyEvent) - Method in class com.cra.bnet.engine.TopologyAdapter
 
edgeRemoved(TopologyEvent) - Method in interface com.cra.bnet.engine.TopologyListener
Invoked when an edge has been removed from a Bayesian network.
edgeRemoved(TopologyEvent) - Method in class com.cra.bnet.engine.TopologyAdapter
 
EmEtaAdapter - class com.cra.bnet.learn.EmEtaAdapter.
Adapter class for the EmEtaListener interface.
EmEtaAdapter() - Constructor for class com.cra.bnet.learn.EmEtaAdapter
Empty constructor.
EmEtaEvent - class com.cra.bnet.learn.EmEtaEvent.
An event fired by the EmEta learning algorithm.
EmEtaEvent.EmEtaEventType - class com.cra.bnet.learn.EmEtaEvent.EmEtaEventType.
 
EmEtaEvent(EmEtaLearningAlgorithm, double, int, EmEtaEvent.EmEtaEventType) - Constructor for class com.cra.bnet.learn.EmEtaEvent
Creates a new EmEtaEvent using the specified parameters.
EmEtaLearningAlgorithm - class com.cra.bnet.learn.EmEtaLearningAlgorithm.
The parameterized EM algorithm for learning cpt entries in a Bayesian network.
EmEtaLearningAlgorithm() - Constructor for class com.cra.bnet.learn.EmEtaLearningAlgorithm
Creates a new EmEtaLearningAlgorithm object.
EmEtaLearningAlgorithm(EmEtaParameters) - Constructor for class com.cra.bnet.learn.EmEtaLearningAlgorithm
Creates a new EmEtaLearningAlgorithm that uses the specified parameters.
EmEtaListener - interface com.cra.bnet.learn.EmEtaListener.
A listener for receiving notifications about the status of the EmEta learning algorithm.
EmEtaParameters - class com.cra.bnet.learn.EmEtaParameters.
Parameters for the EmEta learning algorithm.
EmEtaParameters(double, int, double) - Constructor for class com.cra.bnet.learn.EmEtaParameters
Creates a new EmEtaParameters object using the specified values.
EMPTY_PARENT_INDICES - Static variable in class com.cra.bnet.engine.Cpt
A zero-length array for use when getting or setting the CPT entries of a root node.
end() - Method in class com.cra.bnet.engine.BayesianNetwork.RemoveNodeEdit
 
end() - Method in class com.cra.bnet.engine.BayesianNetwork.CompoundPostEvidenceEdit
 
end() - Method in class com.cra.bnet.engine.BayesianNetwork.CompoundChangeLocationEdit
 
end() - Method in class com.cra.bnet.engine.BayesianNetwork.CompoundChangeCptEntryEdit
 
EngineUtilities - class com.cra.bnet.engine.EngineUtilities.
BNet engine utility methods.
ensureSum(double[], int, BigDecimal) - Static method in class com.cra.bnet.engine.EngineUtilities
Returns a big decimal array containing the elements of the specified double array rounded off to the specified number of significant digits that add up exactly to the specified target.
entryChanged(CptEvent) - Method in interface com.cra.bnet.engine.CptListener
Invoked when a cpt entry has changed.
entryChanged(CptEvent) - Method in class com.cra.bnet.engine.CptAdapter
 
EQUAL_TO - Static variable in class com.cra.bnet.engine.ThresholdBeliefCondition
The equal-to operator.
equals(Object) - Method in class com.cra.bnet.engine.Potential
Compares the specified object with this potential for equality.
equals(Object) - Method in class com.cra.bnet.engine.Node
Returns true if the specified object is equal to this node.
error(BnetError) - Method in interface com.cra.bnet.error.ErrorListener
Invoked when an error occurs.
ErrorListener - interface com.cra.bnet.error.ErrorListener.
A listener for receiving error events.
ErrorNotifier - class com.cra.bnet.error.ErrorNotifier.
A class used to notify error listeners that an error occurred.
EVIDENCE_POSTED - Static variable in class com.cra.bnet.engine.EvidenceEvent
The evidence posted event type.
EVIDENCE_POSTED - Static variable in class com.cra.bnet.engine.BeliefUpdater
The integer mask for evidence posted.
EVIDENCE_RETRACTED - Static variable in class com.cra.bnet.engine.EvidenceEvent
The evidence retracted event type.
EVIDENCE_RETRACTED - Static variable in class com.cra.bnet.engine.BeliefUpdater
The integer mask for evidence retracted.
EvidenceAdapter - class com.cra.bnet.engine.EvidenceAdapter.
An abstract adapter class for receiving evidence events.
EvidenceAdapter() - Constructor for class com.cra.bnet.engine.EvidenceAdapter
 
EvidenceEvent - class com.cra.bnet.engine.EvidenceEvent.
An event representing either evidence posted to or retracted from a Bayesian network.
EvidenceEvent(BayesianNetwork) - Constructor for class com.cra.bnet.engine.EvidenceEvent
Creates a new EvidenceEvent representing a retraction of all evidence from a Bayesian network.
EvidenceEvent(Node, double[]) - Constructor for class com.cra.bnet.engine.EvidenceEvent
Creates a new EvidenceEvent representing a posting of new evidence.
EvidenceEvent(Node, double[], boolean) - Constructor for class com.cra.bnet.engine.EvidenceEvent
Creates a new EvidenceEvent representing a retraction of evidence.
EvidenceListener - interface com.cra.bnet.engine.EvidenceListener.
A listener for receiving events when evidence is posted to or retracted from a Bayesian network.
EvidenceNode - class com.cra.bnet.engine.EvidenceNode.
Represents an evidence node in the AMG.
EvidenceNode(DiscreteNode, int, int) - Constructor for class com.cra.bnet.engine.EvidenceNode
Creates a new EvidenceNode using the specified variable index and instantiation index.
evidencePosted(EvidenceEvent) - Method in interface com.cra.bnet.engine.EvidenceListener
Invoked when evidence was posted to a node in a Bayesian network.
evidencePosted(EvidenceEvent) - Method in class com.cra.bnet.engine.EvidenceAdapter
 
evidenceRetracted(EvidenceEvent) - Method in interface com.cra.bnet.engine.EvidenceListener
Invoked when evidence was retracted from a node in a Bayesian network.
evidenceRetracted(EvidenceEvent) - Method in class com.cra.bnet.engine.EvidenceAdapter
 

F

fireAlgorithmFinished(double, int) - Method in class com.cra.bnet.learn.EmEtaLearningAlgorithm
Fires an algorithmFinished event to all listeners.
fireAlgorithmPaused(double, int) - Method in class com.cra.bnet.learn.EmEtaLearningAlgorithm
Fires an algorithmPaused event to all listeners.
fireAlgorithmResumed(double, int) - Method in class com.cra.bnet.learn.EmEtaLearningAlgorithm
Fires an algorithmResumed event to all listeners.
fireAlgorithmStarted(double, int) - Method in class com.cra.bnet.learn.EmEtaLearningAlgorithm
Fires an algorithmStarted event to all listeners.
fireAlgorithmStopped(double, int) - Method in class com.cra.bnet.learn.EmEtaLearningAlgorithm
Fires an algorithmStopped event to all listeners.
fireAllEntriesChanged(CptEvent) - Method in class com.cra.bnet.engine.DiscreteNode
Notifies cpt listeners and the belief updater that this node's entire cpt changed.
fireAllEvidenceRetracted() - Method in class com.cra.bnet.engine.BayesianNetwork
Notifies evidence listeners and the belief updater that all evidence was retracted from this Bayesian network.
fireBeliefEvent(double[], boolean) - Method in class com.cra.bnet.engine.DiscreteNode
Notifies belief listeners that this node's beliefs changed.
fireBeliefsChanged(BeliefEvent) - Method in class com.cra.bnet.engine.BeliefAlert
Fires the specified belief event to all registered belief listeners.
fireChangeEvent() - Method in class com.cra.bnet.engine.StructuralModificationSupport
Fires a change event to all registered change listeners.
fireDescriptionChanged(String, String) - Method in class com.cra.bnet.engine.Node
Notifies node listeners that this node's description was changed.
fireEdgeAdded(Edge) - Method in class com.cra.bnet.engine.BayesianNetwork
Notifies topology listeners and the belief updater that an edge was added to this Bayesian network.
fireEdgeRemoved(Edge) - Method in class com.cra.bnet.engine.BayesianNetwork
Notifies topology listeners and the belief updater that an edge was removed from this Bayesian network.
fireEntryChanged(CptEvent) - Method in class com.cra.bnet.engine.DiscreteNode
Notifies cpt listeners that this node's cpt changed.
fireEvidencePosted(double[]) - Method in class com.cra.bnet.engine.DiscreteNode
Notifies evidence listeners and the belief updater that evidence was posted to this node.
fireEvidenceRetracted(double[]) - Method in class com.cra.bnet.engine.DiscreteNode
Notifies evidence listeners and the belief updater that evidence was retracted from this node.
fireInconsistentEvidenceRetracted(double[]) - Method in class com.cra.bnet.engine.DiscreteNode
Notifies evidence listeners that inconsistent evidence was retracted from this node.
fireInvalidBeliefs() - Method in class com.cra.bnet.engine.BayesianNetwork
Notifies belief listeners that all nodes have invalid beliefs.
fireIterationFinished(double, int) - Method in class com.cra.bnet.learn.EmEtaLearningAlgorithm
Fires an algorithmFinished event to all listeners.
fireLocationChanged(Point, Point) - Method in class com.cra.bnet.engine.Node
Notifies node listeners that this node's location was changed.
fireNameChanged(String, String) - Method in class com.cra.bnet.engine.Node
Notifies node listeners that this node's name was changed.
fireNodeAdded(Node) - Method in class com.cra.bnet.engine.BayesianNetwork
Notifies topology listeners and the belief updater that a node was added to this Bayesian network.
fireNodeRemoved(Node) - Method in class com.cra.bnet.engine.BayesianNetwork
Notifies topology listeners and the belief updater that a node was removed from this Bayesian network.
fireParentReordered(Node, int) - Method in class com.cra.bnet.engine.Node
Notifies node listeners and the belief updater that one of this node's parents was reordered.
fireStateAdded(String, int) - Method in class com.cra.bnet.engine.DiscreteNode
Notifies node listeners and the belief updater that a new state was added to this node.
fireStateChanged() - Method in class com.cra.bnet.engine.BeliefUpdater
Fires a change event to all registered change listeners.
fireStateNameChanged(String, String, int) - Method in class com.cra.bnet.engine.DiscreteNode
Notifies node listeners and the belief updater that the name of one of this node's states was changed.
fireStateRemoved(String, int) - Method in class com.cra.bnet.engine.DiscreteNode
Notifies node listeners and the belief updater that a state was removed from this node.
fireStateReordered(String, int) - Method in class com.cra.bnet.engine.DiscreteNode
Notifies node listeners that one of this node's states was reordered.
fromDecimal(int) - Method in class com.cra.bnet.engine.VbnConverter
 
FullyObservableLearningAlgorithm - class com.cra.bnet.learn.FullyObservableLearningAlgorithm.
A learning algorithm for networks whose nodes are fully observed.
FullyObservableLearningAlgorithm() - Constructor for class com.cra.bnet.learn.FullyObservableLearningAlgorithm
 
Fuzzifier - class com.cra.bnet.engine.Fuzzifier.
Fuzzifies a value of a continuous variable to soft evidence for a discrete variable.
Fuzzifier(double[]) - Constructor for class com.cra.bnet.engine.Fuzzifier
Creates a new Fuzzifier using the specified centers.

G

generateCases(BayesianNetwork, Collection, int, Writer) - Static method in class com.cra.bnet.engine.BayesianNetworks
Generates data from the specified Bayesian network for the specified nodes and writes it to the specified writer.
GeneratedEngineBase - class com.cra.bnet.engine.GeneratedEngineBase.
Base class for generated inference engines.
GeneratedEngineBase() - Constructor for class com.cra.bnet.engine.GeneratedEngineBase
 
get(int) - Method in class com.cra.bnet.engine.Potential
Returns the value of this potential indexed by the specified DECIMAL index.
get(int[]) - Method in class com.cra.bnet.engine.Potential
Returns the value of this potential indexed by the specified index.
get(int, int[]) - Method in class com.cra.bnet.engine.Cpt
Returns the conditional probability that this cpt's node being is the specified state, given that its parents are in the specified states.
getAlgorithm() - Method in class com.cra.bnet.learn.EmEtaEvent
Returns the algorithm that fired this event.
getAllFormats() - Method in class com.cra.bnet.io.BnetFormatFactory
Returns an unmodifiable list of all registered formats.
getBases() - Method in class com.cra.bnet.engine.VbnConverter
 
getBayesianNetwork() - Method in class com.cra.bnet.engine.Node
Returns the Bayesian network that this node belongs to.
getBayesianNetwork() - Method in class com.cra.bnet.engine.JunctionTreeInferenceEngine
Returns this inference engine's Bayesian network.
getBayesianNetwork() - Method in class com.cra.bnet.engine.EvidenceEvent
Returns the Bayesian network that evidence was posted to or retracted from.
getBayesianNetwork() - Method in class com.cra.bnet.engine.BeliefUpdater
Returns the Bayesian network that this belief updater controls.
getBelief(String) - Method in class com.cra.bnet.engine.DiscreteNode
Returns the belief that this discrete node is in the specified state.
getBelief(String) - Method in class com.cra.bnet.engine.BeliefEvent
Returns the new belief for the specified state.
getBeliefCondition() - Method in class com.cra.bnet.engine.BeliefAlert
Returns this alert's condition.
getBeliefs() - Method in class com.cra.bnet.engine.DiscreteNode
Returns all of this discrete node's updated beliefs.
getBeliefs() - Method in class com.cra.bnet.engine.BeliefEvent
Returns the new beliefs.
getBeliefs(DiscreteNode) - Method in class com.cra.bnet.engine.ScgInferenceEngine
 
getBeliefs(DiscreteNode) - Method in class com.cra.bnet.engine.JunctionTreeInferenceEngine
Returns the current beliefs for the specified variable.
getBeliefs(DiscreteNode) - Method in interface com.cra.bnet.engine.InferenceEngine
Returns the current beliefs for the specified variable.
getBeliefs(DiscreteNode) - Method in class com.cra.bnet.engine.AmgInferenceEngine
 
getBeliefs(DiscreteNode) - Method in class com.cra.bnet.engine.AddMultiplyGraph
Returns the beliefs for the specified variable in the Bayesian network.
getBeliefs(int) - Method in interface com.cra.bnet.engine.LightweightBayesianNetwork
 
getBeliefs(int) - Method in class com.cra.bnet.engine.GeneratedEngineBase
 
getBeliefUpdater() - Method in class com.cra.bnet.engine.BayesianNetwork
Returns this Bayesian network's belief updater.
getBeliefUpdateSettings() - Method in class com.cra.bnet.engine.BeliefUpdater
Returns this belief updater's belief update settings.
getBfsIterator() - Method in class com.cra.bnet.engine.AddMultiplyGraph
Returns an iterator over the nodes in this AMG in breadth-first order, starting at the root node.
getBoundaries() - Method in class com.cra.bnet.engine.Discretizer
Returns the boundaries that this discretizer uses.
getBuffer() - Method in class com.cra.bnet.io.BufferedRegExpReader
Returns the buffer used to store characters read from the underlying reader.
getCaseCount() - Method in class com.cra.bnet.learn.SimpleDataSet
Returns the number of cases in this data set.
getCaseCount() - Method in interface com.cra.bnet.learn.DataSet
Returns the number of cases in this data set.
getCaseCount() - Method in class com.cra.bnet.learn.ComplexDataSet
Returns the number of cases in this data set.
getCases() - Method in class com.cra.bnet.learn.SimpleDataSet
Returns an iterator over the cases in this data set.
getCases() - Method in interface com.cra.bnet.learn.DataSet
Returns an iterator over the cases in this data set.
getCases() - Method in class com.cra.bnet.learn.ComplexDataSet
Returns an iterator over the cases in this data set.
getCenters() - Method in class com.cra.bnet.engine.Fuzzifier
Returns the centers that this fuzzifier uses.
getChildren() - Method in interface com.cra.bnet.engine.AmgNode
Returns a list of this node's children.
getChildren() - Method in class com.cra.bnet.engine.AbstractNode
 
getCliquePotential(Set) - Method in class com.cra.bnet.engine.HuginInferenceEngine
 
getCluster() - Method in class com.cra.bnet.engine.MultiplyNode
Returns this node's cluster.
getClusterIndex() - Method in class com.cra.bnet.engine.MultiplyNode
Returns this node's cluster index.
getComparisonOperator() - Method in class com.cra.bnet.engine.ThresholdBeliefCondition
Returns this condition's comparison operator.
getConditionalProbability(int, int) - Method in interface com.cra.bnet.engine.LightweightBayesianNetwork
 
getConditionalProbability(int, int) - Method in class com.cra.bnet.engine.GeneratedEngineBase
 
getCpd() - Method in class com.cra.bnet.engine.Node
Returns this node's conditional probability distribution.
getCpt() - Method in class com.cra.bnet.engine.DiscreteNode
Returns this node's conditional probability table.
getCptEntryNode(DiscreteNode, int) - Method in class com.cra.bnet.engine.AddMultiplyGraph
 
getCurrentVersion() - Method in class com.cra.bnet.io.XbnFormat
Returns the current version number.
getDebugOutput() - Static method in class com.cra.bnet.debug.DebugUtils
 
getDelta() - Method in class com.cra.bnet.learn.EmEtaEvent
Returns the current value of delta.
getDerivative() - Method in interface com.cra.bnet.engine.AmgNode
Returns this node's derivative.
getDerivative() - Method in class com.cra.bnet.engine.AbstractNode
 
getDerivativeName() - Method in class com.cra.bnet.engine.MultiplyNode
 
getDerivativeName() - Method in class com.cra.bnet.engine.EvidenceNode
 
getDerivativeName() - Method in interface com.cra.bnet.engine.AmgNode
Returns this node's derivative name.
getDerivativeName() - Method in class com.cra.bnet.engine.AddNode
 
getDerivativeName() - Method in class com.cra.bnet.engine.AbstractNode
 
getDescription() - Method in class com.cra.bnet.engine.Node
Returns this node's description.
getDescription() - Method in class com.cra.bnet.engine.BayesianNetwork
Returns this Bayesian network's description.
getDescription() - Method in class com.cra.bnet.io.XbnFormat
Returns a short description of the XBN format.
getDescription() - Method in class com.cra.bnet.io.NeticaFormat
Returns a short description of the Netica format.
getDescription() - Method in class com.cra.bnet.io.HuginFormat
Returns a short description of the Hugin format.
getDescription() - Method in interface com.cra.bnet.io.BnetFormat
Returns a short description of the format that this BnetFormat supports.
getDiscreteNode(String) - Method in class com.cra.bnet.engine.BayesianNetwork
Returns the discrete node in this Bayesian network that has the specified name.
getDocument(BayesianNetwork) - Method in class com.cra.bnet.io.XbnFormat
Returns a DOM document that contains the specified Bayesian network in XBN format.
getEdge() - Method in class com.cra.bnet.engine.TopologyEvent
Returns the edge that was added to or removed from the Bayesian network.
getError() - Method in interface com.cra.bnet.io.BnetFormat
Returns a description of the last error that occurred while reading or writing a Bayesian network.
getError() - Method in class com.cra.bnet.io.AbstractBnetFormat
Returns a description of the last error that occurred while reading or writing a Bayesian network.
getEvidence() - Method in class com.cra.bnet.engine.EvidenceNode
Returns this node's evidence.
getEvidence() - Method in class com.cra.bnet.engine.EvidenceEvent
Returns the evidence posted to or retracted from the node.
getEvidence() - Method in class com.cra.bnet.engine.DiscreteNode
Returns the evidence posted to this discrete node.
getEvidence() - Method in interface com.cra.bnet.learn.Observation
Returns the evidence which represents this observation.
getEvidence(DiscreteNode) - Method in class com.cra.bnet.engine.ScgInferenceEngine
 
getEvidence(DiscreteNode) - Method in class com.cra.bnet.engine.JunctionTreeInferenceEngine
Returns the current evidence associated with the specified variable.
getEvidence(DiscreteNode) - Method in interface com.cra.bnet.engine.InferenceEngine
Returns the current evidence associated with the specified variable.
getEvidence(DiscreteNode) - Method in class com.cra.bnet.engine.AmgInferenceEngine
 
getEvidence(DiscreteNode) - Method in class com.cra.bnet.engine.AddMultiplyGraph
Returns the evidence for the specified variable in the Bayesian network.
getEvidence(DiscreteNode, String) - Static method in class com.cra.bnet.engine.BayesianNetworks
Returns the current evidence for the specified state of the specified node.
getEvidence(double) - Method in class com.cra.bnet.engine.Fuzzifier
Fuzzifies the specified value and creates soft evidence that can be posted to a discrete node.
getEvidence(double) - Method in class com.cra.bnet.engine.Discretizer
Discretizes the specified value and creates evidence that can be posted to a discrete node.
getEvidence(int) - Method in interface com.cra.bnet.engine.LightweightBayesianNetwork
 
getEvidence(int) - Method in class com.cra.bnet.engine.GeneratedEngineBase
 
getEvidence(String) - Method in class com.cra.bnet.engine.DiscreteNode
Returns the evidence posted to the specified state of this discrete node.
getEvidenceNode(DiscreteNode, int) - Method in class com.cra.bnet.engine.AddMultiplyGraph
 
getExtension() - Method in class com.cra.bnet.io.XbnFormat
Returns the XBN file extension, ie the string "xbn".
getExtension() - Method in class com.cra.bnet.io.NeticaFormat
Returns the Netica file extension, ie the string "dne".
getExtension() - Method in class com.cra.bnet.io.HuginFormat
Returns the Hugin file extension, ie the string "net".
getExtension() - Method in interface com.cra.bnet.io.BnetFormat
Returns the file extension that this BnetFormat supports.
getHardEvidence(DiscreteNode, String) - Static method in class com.cra.bnet.engine.BayesianNetworks
Returns an array representing hard evidence for the specified state of the specified node.
getIndex() - Method in class com.cra.bnet.engine.StateEvent
Returns the index of the state.
getIndex() - Method in class com.cra.bnet.engine.NodeEvent
Returns the index of parent.
getIndex(DiscreteNode) - Method in class com.cra.bnet.engine.AddMultiplyGraph
 
getIndex(double) - Method in class com.cra.bnet.engine.Discretizer
Returns the index of the discrete state that the specified value is discretized to.
getIndices() - Method in class com.cra.bnet.engine.ParentIndices
Returns the array of parent indices.
getInferenceEngine() - Method in class com.cra.bnet.engine.BayesianNetwork
Returns the inference engine being used by this Bayesian network.
getInstance() - Static method in class com.cra.bnet.error.ErrorNotifier
Returns the single instance of this class.
getInstance() - Static method in class com.cra.bnet.io.BnetFormatFactory
Returns the single instance of this factory.
getInstantiationIndex() - Method in class com.cra.bnet.engine.MultiplyNode
Returns this node's instantiation index.
getInstantiationIndex() - Method in class com.cra.bnet.engine.EvidenceNode
Returns this node's instantiation index.
getInstantiationIndex() - Method in class com.cra.bnet.engine.CptEntryNode
Returns this node's instantiation index.
getInstantiationIndex() - Method in class com.cra.bnet.engine.AddNode
Returns this node's instantiation index.
getIterationNumber() - Method in class com.cra.bnet.learn.EmEtaEvent
Returns the current iteration number.
getJunctionTree() - Method in class com.cra.bnet.engine.JunctionTreeInferenceEngine
Returns this inference engine's current junction tree.
getLastBelief(String) - Method in class com.cra.bnet.engine.DiscreteNode
Returns this discrete node's last belief for the specified state - the one most recently sent to all belief listeners registered with this node.
getLastBeliefs() - Method in class com.cra.bnet.engine.DiscreteNode
Returns this discrete node's last beliefs, those that were most recently sent to all belief listeners registered with this node.
getLearningRate() - Method in class com.cra.bnet.learn.EmEtaParameters
Returns the learning rate (also known as eta).
getLocation() - Method in class com.cra.bnet.engine.Node
Returns this node's location.
getMapping(List, List) - Method in class com.cra.bnet.engine.PotentialMappings
Returns the mapping from a potential over the first list of nodes to a potential over the second list of nodes.
getMappings() - Method in class com.cra.bnet.engine.Potential
Returns the mappings for this potential.
getMaxDecimal() - Method in class com.cra.bnet.engine.VbnConverter
This returns the largest decimal number expressible in this format, NOT the total number of expressible values (which of course includes 0).
getMaximumIterations() - Method in class com.cra.bnet.learn.EmEtaParameters
Returns the maximum number of iterations.
getMinimumDelta() - Method in class com.cra.bnet.learn.EmEtaParameters
Returns the minimum value for delta.
getMissingDataString() - Method in class com.cra.bnet.learn.SimpleDataSet
Retuns the string that represents a missing value in the data file.
getMutualInformation(BayesianNetwork, DiscreteNode) - Static method in class com.cra.bnet.engine.DecisionAnalysisTools
Returns an unmodifiable map containing the mutual information between the specified query variable and every variable in the specified Bayesian network (including the query variable itself).
getMutualInformation(BayesianNetwork, DiscreteNode, double) - Static method in class com.cra.bnet.engine.DecisionAnalysisTools
Returns an unmodifiable map containing the mutual information between the specified query variable and every variable in the specified Bayesian network (including the query variable itself).
getName() - Method in class com.cra.bnet.engine.Node
Returns this node's name.
getName() - Method in class com.cra.bnet.engine.BayesianNetwork
Returns this Bayesian network's name.
getName() - Method in interface com.cra.bnet.engine.AmgNode
Returns this node's name.
getName() - Method in class com.cra.bnet.engine.AbstractNode
 
getName() - Method in class com.cra.bnet.error.DuplicateNodeError
Returns the name of the node that could not be added to the Bayesian network.
getNetwork() - Method in class com.cra.bnet.engine.TopologyEvent
Returns the Bayesian network that this event occured upon.
getNetwork() - Method in class com.cra.bnet.engine.StructuralModificationSupport
Returns the Bayesian network this listener is observing for structural modifications.
getNetwork() - Method in class com.cra.bnet.error.BnetError
 
getNewEvidence() - Method in class com.cra.bnet.engine.JunctionTreeInferenceEngine
Returns the evidence that has not been multiplied into the junction tree potentials yet.
getNewLocation() - Method in class com.cra.bnet.engine.NodeEvent
Returns the new location.
getNewName() - Method in class com.cra.bnet.engine.StateEvent
Returns the new state name.
getNewName() - Method in class com.cra.bnet.engine.NodeEvent
Returns the new node name.
getNewQuotients() - Method in class com.cra.bnet.engine.JunctionTreeInferenceEngine
Returns the evidence quotients that have not been multiplied into the junction tree potentials yet.
getNewValue() - Method in class com.cra.bnet.engine.CptEvent
Returns the new cpt entry.
getNode() - Method in class com.cra.bnet.engine.TopologyEvent
Returns the node that added to or removed from the Bayesian network.
getNode() - Method in class com.cra.bnet.engine.ThresholdBeliefCondition
 
getNode() - Method in class com.cra.bnet.engine.StateEvent
Returns the node this event occurred on.
getNode() - Method in class com.cra.bnet.engine.NodeEvent
Returns the node this event occurred on.
getNode() - Method in class com.cra.bnet.engine.EvidenceNode
 
getNode() - Method in class com.cra.bnet.engine.EvidenceEvent
Returns the node that evidence was posted to or retracted from.
getNode() - Method in class com.cra.bnet.engine.CptEvent
Returns the node whose cpt changed.
getNode() - Method in class com.cra.bnet.engine.CptEntryNode
 
getNode() - Method in class com.cra.bnet.engine.Cpt
Returns this cpt's node.
getNode() - Method in class com.cra.bnet.engine.BeliefEvent
Returns the node whose beliefs changed.