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

A

ActionNode - Class in opendial.bn.nodes
Representation of an action node (sometimes also called decision node).
ActionNode(String) - Constructor for class opendial.bn.nodes.ActionNode
Creates a new action node with a unique identifier, and no values
ActionNode(String, Set<Value>) - Constructor for class opendial.bn.nodes.ActionNode
Creates a new action node with a unique identifier and a set of values
ACTIONVAR - Static variable in class opendial.modules.learning.SocialLearner
 
activateVAD(boolean) - Method in class opendial.modules.AudioModule
Activates or deactivates voice activity detection (VAD).
add(Collection<RuleGrounding>) - Method in class opendial.domains.rules.RuleGrounding
Adds a collection of alternative groundings.
add(RuleGrounding) - Method in class opendial.domains.rules.RuleGrounding
Adds a list of alternative groundings to the existing set
add(Assignment) - Method in class opendial.domains.rules.RuleGrounding
Adds a single assignment to the list of alternative groundings
addAnchoredRule(AnchoredRule) - Method in class opendial.domains.rules.distribs.OutputDistribution
Adds an incoming anchored rule to the output distribution.
addAssign(Assignment) - Method in class opendial.datastructs.ValueRange
Adds the values defined in the assignment to the range
addAssignment(Assignment) - Method in class opendial.datastructs.Assignment
Add a new set of pairs defined in the assignment given as argument (i.e. merge the given assignment into the present one).
addAttribute(String, V) - Method in class opendial.datastructs.Graph.Node
Adds a new attribute to the node
addCase(Condition, RuleOutput) - Method in class opendial.domains.rules.Rule
Adds a new case to the abstract rule
addChild(R, Graph<V, R>.Node) - Method in class opendial.datastructs.Graph.Node
Adds a new outgoing relation to the node.
addComment(String) - Method in class opendial.gui.GUIFrame
Adds a comment to the chat window
addComment(String) - Method in class opendial.gui.InteractionTab
Adds a comment in the chat window
addComment(String) - Method in class opendial.modules.DialogueRecorder
Adds a comment in the XML recordings.
addContent(String, String) - Method in class opendial.DialogueSystem
Adds the content (expressed as a pair of variable=value) to the current dialogue state, and subsequently updates the dialogue state.
addContent(String, boolean) - Method in class opendial.DialogueSystem
Adds the content (expressed as a pair of variable=value) to the current dialogue state, and subsequently updates the dialogue state.
addContent(String, Value) - Method in class opendial.DialogueSystem
Adds the content (expressed as a pair of variable=value) to the current dialogue state, and subsequently updates the dialogue state.
addContent(String, double) - Method in class opendial.DialogueSystem
Adds the content (expressed as a pair of variable=value) to the current dialogue state, and subsequently updates the dialogue state.
addContent(IndependentDistribution) - Method in class opendial.DialogueSystem
Adds the content (expressed as a categorical table over variables) to the current dialogue state, and subsequently updates the dialogue state.
addContent(ProbDistribution) - Method in class opendial.DialogueSystem
Adds the content (expressed as a categorical table over variables) to the current dialogue state, and subsequently updates the dialogue state.
addContent(Assignment) - Method in class opendial.DialogueSystem
Adds the content (expressed as a certain assignment over variables) to the current dialogue state, and subsequently updates the dialogue state.
addContent(MultivariateDistribution) - Method in class opendial.DialogueSystem
Adds the content (expressed as a multivariate distribution over variables) to the current dialogue state, and subsequently updates the dialogue state.
addContent(BNetwork) - Method in class opendial.DialogueSystem
Merges the Bayesian network included as argument into the current one, and updates the dialogue state.
addContent(DialogueState) - Method in class opendial.DialogueSystem
Merges the dialogue state included as argument into the current one, and updates the dialogue state.
addDistrib(Assignment, IndependentDistribution) - Method in class opendial.bn.distribs.ConditionalTable
Adds a new continuous probability distribution associated with the given conditional assignment
addEffect(Effect, double) - Method in class opendial.domains.rules.RuleOutput
Adds an new effect and its associated probability/utility to the output'
addEffect(Effect, Parameter) - Method in class opendial.domains.rules.RuleOutput
Adds a new effect and its associated parameter to the output
addEntry(Assignment, double, double) - Method in class opendial.inference.exact.DoubleFactor
 
addEvidence(Assignment) - Method in class opendial.DialogueState
Adds a new assignment of values to the evidence
addFunction(String, Function<List<String>, Value>) - Static method in class opendial.Settings
 
addImportedFiles(File) - Method in class opendial.domains.Domain
Adds the given XML files to the list of imported source files
addIncrementalContent(IndependentDistribution, boolean) - Method in class opendial.DialogueSystem
Adds the incremental content (expressed as a distribution over variables) to the current dialogue state, and subsequently updates it.
addIncrementalUserInput(Map<String, Double>, boolean) - Method in class opendial.DialogueSystem
Adds the incremental user input (expressed as an N-best list) to the current dialogue state, and subsequently updates it.
addInputNode(BNode) - Method in class opendial.bn.nodes.ActionNode
 
addInputNode(BNode) - Method in class opendial.bn.nodes.BNode
Adds a new relation from the node given as argument to the current node.
addInputNode(BNode) - Method in class opendial.bn.nodes.ChanceNode
Adds a new (input) relation for the node
addInputNode_internal(BNode) - Method in class opendial.bn.nodes.BNode
Adds a new incoming relation to the node.
addInputNodes(Collection<? extends BNode>) - Method in class opendial.bn.nodes.BNode
Adds new relations from the nodes given as arguments to the current node
addLogWeight(double) - Method in class opendial.inference.approximate.Sample
Adds a logarithmic weight to the current one
addModel(Model) - Method in class opendial.domains.Domain
Adds a model to the domain
addNetwork(BNetwork) - Method in class opendial.bn.BNetwork
Adds all the nodes in the network provided as argument to the current network
addNode(BNode) - Method in class opendial.bn.BNetwork
Adds a new node to the network.
addNodes(Collection<BNode>) - Method in class opendial.bn.BNetwork
Add a collection of new nodes to the network
addOutput(RuleOutput) - Method in class opendial.domains.rules.RuleOutput
Adds a rule output to the current one.
addOutputNode_internal(BNode) - Method in class opendial.bn.nodes.BNode
Adds a new outgoing relation to the node.
addPair(String, Value) - Method in class opendial.datastructs.Assignment
Adds a new (var,value) pair to the assignment
addPair(String, String) - Method in class opendial.datastructs.Assignment
Adds a new (var, value) pair to the assignment
addPair(String, double) - Method in class opendial.datastructs.Assignment
Adds a new (var, value) pair to the assignment
addPair(String, boolean) - Method in class opendial.datastructs.Assignment
Adds a new (var, value) pair to the assignment
addPair(String, double[]) - Method in class opendial.datastructs.Assignment
Adds a new (var, value) pair to the assignment
addPair(String) - Method in class opendial.datastructs.Assignment
Adds a new (var,value) pair as determined by the form of the argument.
addPairs(Map<String, Value>) - Method in class opendial.datastructs.Assignment
Adds a set of (var,value) pairs to the assignment
addPrimes() - Method in class opendial.datastructs.Assignment
 
addRange(ValueRange) - Method in class opendial.datastructs.ValueRange
Adds the range of values to the existing one.
addRow(Value, double) - Method in class opendial.bn.distribs.CategoricalTable.Builder
Adds a new row to the probability table.
addRow(String, double) - Method in class opendial.bn.distribs.CategoricalTable.Builder
Adds a new row to the probability table.
addRow(double, double) - Method in class opendial.bn.distribs.CategoricalTable.Builder
Adds a new row to the probability table.
addRow(boolean, double) - Method in class opendial.bn.distribs.CategoricalTable.Builder
Adds a new row to the probability table.
addRow(double[], double) - Method in class opendial.bn.distribs.CategoricalTable.Builder
Adds a new row to the probability table.
addRow(Assignment, Value, double) - Method in class opendial.bn.distribs.ConditionalTable.Builder
Adds a new row to the probability table, given the conditional assignment, the head assignment and the probability value.
addRow(Assignment, String, double) - Method in class opendial.bn.distribs.ConditionalTable.Builder
Adds a new row to the probability table, given the conditional assignment, the head assignment and the probability value.
addRow(Assignment, double, double) - Method in class opendial.bn.distribs.ConditionalTable.Builder
Adds a new row to the probability table, given the conditional assignment, the head assignment and the probability value.
addRow(Assignment, boolean, double) - Method in class opendial.bn.distribs.ConditionalTable.Builder
Adds a new row to the probability table, given the conditional assignment, the head assignment and the probability value.
addRow(Assignment, double) - Method in class opendial.bn.distribs.MultivariateTable.Builder
Adds a new row to the probability table, assuming no conditional assignment.
addRows(Map<Value, Double>) - Method in class opendial.bn.distribs.CategoricalTable.Builder
Add a new set of rows to the probability table.
addRows(Assignment, Map<Value, Double>) - Method in class opendial.bn.distribs.ConditionalTable.Builder
Add rows to the conditional table
addRows(Map<Assignment, Double>) - Method in class opendial.bn.distribs.MultivariateTable.Builder
Add a new set of rows to the probability table.
addRule(Rule) - Method in class opendial.domains.Model
Adds a new rule to the model
addSample(Assignment) - Method in class opendial.bn.distribs.EmpiricalDistribution
Adds a new sample to the distribution
addToState(Assignment) - Method in class opendial.DialogueState
Adds the content provided as argument to the dialogue state.
addToState(MultivariateDistribution) - Method in class opendial.DialogueState
Adds the content provided as argument to the dialogue state.
addToState(ProbDistribution) - Method in class opendial.DialogueState
Adds a new node to the dialogue state with the distribution provided as argument.
addToState(DialogueState) - Method in class opendial.DialogueState
Merges the dialogue state included as argument into the current one.
addToState(BNetwork) - Method in class opendial.DialogueState
Merges the dialogue state included as argument into the current one.
addToState_incremental(CategoricalTable, boolean) - Method in class opendial.DialogueState
Concatenates the current value for the new content onto the current content, if followPrevious is true.
addTrigger(String) - Method in class opendial.domains.Model
Adds a new trigger to the model, defined by the variable label
addTriggers(List<String>) - Method in class opendial.domains.Model
Adds a list of triggers to the model, defined by the variable label
addUserInput(String) - Method in class opendial.DialogueSystem
Adds the user input (assuming a perfect confidence score) to the dialogue state and subsequently updates it.
addUserInput(Map<String, Double>) - Method in class opendial.DialogueSystem
Adds the user input (as a N-best list, where each hypothesis is associated with a probability) to the dialogue state and subsequently updates it.
addUserInput(SpeechData) - Method in class opendial.DialogueSystem
Adds the user input as a raw speech data to the dialogue state and subsequently updates it.
addUtility(Assignment, double) - Method in class opendial.bn.nodes.UtilityNode
Adds a new utility to the node, valid for the given assignment on the input nodes
addUtility(double) - Method in class opendial.inference.approximate.Sample
Adds a utility to the sample
addValue(Value) - Method in class opendial.bn.nodes.ActionNode
Adds a new action values to the node
addValue(String, Value) - Method in class opendial.datastructs.ValueRange
Adds a value for the variable in the range.
addValues(Set<Value>) - Method in class opendial.bn.nodes.ActionNode
Adds a set of action values to the node
addValues(String, Collection<? extends Value>) - Method in class opendial.datastructs.ValueRange
Adds a set of values for the variable
AnchoredRule - Class in opendial.domains.rules.distribs
Representation of a probabilistic rule anchored in a particular dialogue state.
AnchoredRule(Rule, DialogueState, Assignment) - Constructor for class opendial.domains.rules.distribs.AnchoredRule
Anchors the rule in the dialogue state.
apply(List<String>) - Method in class opendial.Settings.CustomFunction
 
apply(List<String>) - Method in class opendial.utils.MathUtils.DotProduct
 
apply(List<String>) - Method in class opendial.utils.MathUtils.LogisticFunction
 
applyRule(Rule) - Method in class opendial.DialogueState
Applies a (probability or utility) rule to the dialogue state: For a probability rule, the method creates a chance node containing the rule effects depending on the input variables of the rule, and connected via outgoing edges to the output variables.
ArrayVal - Class in opendial.bn.values
Representation of an array of doubles.
ArrayVal(double[]) - Constructor for class opendial.bn.values.ArrayVal
Creates a new array of doubles
ArrayVal(Collection<Double>) - Constructor for class opendial.bn.values.ArrayVal
Creates a new array of doubles
Assignment - Class in opendial.datastructs
Representation of an assignment of variables (expressed via their unique identifiers) to specific values.
Assignment() - Constructor for class opendial.datastructs.Assignment
Creates a new, empty assignment
Assignment(Assignment) - Constructor for class opendial.datastructs.Assignment
Creates a copy of the assignment
Assignment(String, Value) - Constructor for class opendial.datastructs.Assignment
Creates an assignment with a single (var,value) pair
Assignment(String, String) - Constructor for class opendial.datastructs.Assignment
Creates a new assignment, with a single (var,value) pair
Assignment(String, double) - Constructor for class opendial.datastructs.Assignment
Creates a new assignment, with a single (var,value) pair
Assignment(String, boolean) - Constructor for class opendial.datastructs.Assignment
Creates a new assignment, with a single (var,value) pair
Assignment(String, double[]) - Constructor for class opendial.datastructs.Assignment
Creates a new assignment, with a single (var,value) pair
Assignment(Assignment...) - Constructor for class opendial.datastructs.Assignment
Creates an assignment with a list of sub assignments
Assignment(String) - Constructor for class opendial.datastructs.Assignment
Creates an assignment with a single pair, given a boolean assignment such as "Variable" or "!
Assignment(List<String>) - Constructor for class opendial.datastructs.Assignment
Creates an assignment with a list of boolean assignments (cf. method above).
Assignment(Map<String, Value>) - Constructor for class opendial.datastructs.Assignment
Creates an assignment with a map of (var,value) pairs
Assignment(Assignment, String, Value) - Constructor for class opendial.datastructs.Assignment
Creates an assignment from an existing one (which is copied), plus a single (var,value) pair
Assignment(Assignment, String, String) - Constructor for class opendial.datastructs.Assignment
Creates an assignment from an existing one (which is copied), plus a single (var,value) pair
Assignment(Assignment, String, double) - Constructor for class opendial.datastructs.Assignment
Creates an assignment from an existing one (which is copied), plus a single (var,val) pair
Assignment(Assignment, String, boolean) - Constructor for class opendial.datastructs.Assignment
Creates an assignment from an existing one (which is copied), plus a single (var, val) pair
Assignment(Set<Map.Entry<String, Value>>) - Constructor for class opendial.datastructs.Assignment
Creates an assignment by adding a set of map entries
Assignment(String, Value, String, Value) - Constructor for class opendial.datastructs.Assignment
Creates a new assignment with two pairs of (variable,value)
attachModule(Module) - Method in class opendial.DialogueSystem
Attaches the module to the dialogue system.
attachModule(Class<T>) - Method in class opendial.DialogueSystem
Attaches the module to the dialogue system.
attachPanel(SpeechInputPanel) - Method in class opendial.modules.AudioModule
Attaches the speech panel to the module
AudioModule - Class in opendial.modules
Module used to take care of all audio processing functionalities in OpenDial.
AudioModule(DialogueSystem) - Constructor for class opendial.modules.AudioModule
Creates a new audio recorder connected to the dialogue system.
AudioUtils - Class in opendial.utils
Utility methods for processing audio data.
AudioUtils() - Constructor for class opendial.utils.AudioUtils
 

B

BasicCondition - Class in opendial.domains.rules.conditions
Basic condition between a variable and a value
BasicCondition(String, String, BasicCondition.Relation) - Constructor for class opendial.domains.rules.conditions.BasicCondition
Creates a new basic condition, given a variable label, an expected value, and a relation to hold between the variable and its value
BasicCondition(String, Value, BasicCondition.Relation) - Constructor for class opendial.domains.rules.conditions.BasicCondition
Creates a new basic condition, given a variable label, an expected value, and a relation to hold between the variable and its value
BasicCondition.Relation - Enum in opendial.domains.rules.conditions
 
BasicEffect - Class in opendial.domains.rules.effects
Representation of a basic effect of a rule.
BasicEffect(String, String) - Constructor for class opendial.domains.rules.effects.BasicEffect
Constructs a new basic effect, with a variable label and value.
BasicEffect(String, Value, int, boolean, boolean) - Constructor for class opendial.domains.rules.effects.BasicEffect
Constructs a new basic effect, with a variable label, value and other arguments.
BNetwork - Class in opendial.bn
Representation of a Bayesian Network augmented with value and action nodes.
BNetwork() - Constructor for class opendial.bn.BNetwork
Constructs an empty network
BNetwork(BNode...) - Constructor for class opendial.bn.BNetwork
Creates a network with the provided list of nodes
BNetwork(Collection<BNode>) - Constructor for class opendial.bn.BNetwork
Creates a network with the provided list of nodes
BNode - Class in opendial.bn.nodes
Basic representation of a node integrated in a Bayesian Network.
BNode(String) - Constructor for class opendial.bn.nodes.BNode
Creates a node with a unique identifier, and a empty set of incoming nodes
BooleanVal - Class in opendial.bn.values
Representation of a boolean value.
BooleanVal(boolean) - Constructor for class opendial.bn.values.BooleanVal
Creates the boolean value (protected, use the ValueFactory to create it)
build() - Method in class opendial.bn.distribs.CategoricalTable.Builder
Builds the categorical table based on the provided rows.
build() - Method in class opendial.bn.distribs.ConditionalTable.Builder
Builds the corresponding probability table.
build() - Method in class opendial.bn.distribs.MultivariateTable.Builder
Builds the multivariate table
Builder(String) - Constructor for class opendial.bn.distribs.CategoricalTable.Builder
Constructs a new probability table, with no values
Builder(String) - Constructor for class opendial.bn.distribs.ConditionalTable.Builder
Constructs a new conditional categorical table with the given variable name.
Builder() - Constructor for class opendial.bn.distribs.MultivariateTable.Builder
 

C

cachedValues - Variable in class opendial.bn.nodes.ChanceNode
 
CategoricalTable - Class in opendial.bn.distribs
Representation of a categorical probability table P(X), where X is a random variable.
CategoricalTable(String, Map<Value, Double>) - Constructor for class opendial.bn.distribs.CategoricalTable
Constructs a new probability table with a mapping between head variable assignments and probability values.
CategoricalTable.Builder - Class in opendial.bn.distribs
Builder class used to construct a categorical table row-by-row.
ChanceNode - Class in opendial.bn.nodes
Representation of a chance node (sometimes also called belief node), which is a random variable associated with a specific probability distribution.
ChanceNode(String, ProbDistribution) - Constructor for class opendial.bn.nodes.ChanceNode
Creates a new chance node, with the given identifier and probability distribution
ChanceNode(String, Value) - Constructor for class opendial.bn.nodes.ChanceNode
Creates a change node with a unique value (associated with a probability 1.0)
changeDomain(Domain) - Method in class opendial.DialogueSystem
Changes the dialogue domain for the dialogue domain
changePriority(int) - Method in class opendial.domains.rules.effects.BasicEffect
Changes the priority of the basic effects
changeSettings(Settings) - Method in class opendial.DialogueSystem
Changes the settings of the system
checkForm(String) - Static method in class opendial.utils.StringUtils
Checks the form of the string to ensure that all parentheses, braces and brackets are balanced.
clear() - Method in class opendial.bn.distribs.CategoricalTable.Builder
Clears the builder.
clear() - Method in class opendial.datastructs.Assignment
 
clearEvidence(Collection<String>) - Method in class opendial.DialogueState
Clear the assignment of values for the variables provided as argument
clearVolume() - Method in class opendial.gui.SpeechInputPanel
Clears the volume in the meter
closeWindow() - Method in class opendial.gui.GUIFrame
Closes the window (and OpenDial).
combine(char, MathExpression...) - Method in class opendial.datastructs.MathExpression
Combines the current expression with one or more other expressions and a binary operator (such as +,* or -).
compare(String, String) - Static method in class opendial.utils.StringUtils
Performs a lexicographic comparison of the two identifiers.
compareTo(BNode) - Method in class opendial.bn.nodes.BNode
Compares the node to other nodes, in order to derive the topological order of the network.
compareTo(Value) - Method in class opendial.bn.values.ArrayVal
Compares to another value.
compareTo(Value) - Method in class opendial.bn.values.BooleanVal
Compares the boolean to another value
compareTo(Value) - Method in class opendial.bn.values.DoubleVal
Compares the double value to another value
compareTo(Value) - Method in class opendial.bn.values.NoneVal
Compares the none value to another value
compareTo(Value) - Method in class opendial.bn.values.RelationalVal
Compares the value with another one (based on their string).
compareTo(Value) - Method in class opendial.bn.values.SetVal
Compares the list value to another value
compareTo(Value) - Method in class opendial.bn.values.StringVal
Compares the string value to another value
compareTo(Value) - Method in class opendial.datastructs.SpeechData
Returns the hashcode difference.
compareTo(Value) - Method in class opendial.domains.rules.effects.Effect
Compares the effect with another value (based on their hashcode).
compareTo(Sample) - Method in class opendial.inference.approximate.Sample
 
compareTo(Template) - Method in interface opendial.templates.Template
Compares the templates (based on their string value)
ComplexCondition - Class in opendial.domains.rules.conditions
Complex condition made up of a collection of sub-conditions connected with a logical operator (AND, OR).
ComplexCondition(List<Condition>, ComplexCondition.BinaryOperator) - Constructor for class opendial.domains.rules.conditions.ComplexCondition
Creates a new complex condition with a list of subconditions
ComplexCondition.BinaryOperator - Enum in opendial.domains.rules.conditions
 
ComplexParameter - Class in opendial.domains.rules.parameters
Representation of a complex parameter expression.
ComplexParameter(MathExpression) - Constructor for class opendial.domains.rules.parameters.ComplexParameter
Constructs a new complex parameter with the given expression, assuming the list of parameters is provided as labels within the expression.
concatenate(CategoricalTable) - Method in class opendial.bn.distribs.CategoricalTable
Concatenate the values for the two tables (assuming the two tables share the same variable).
concatenate(Value) - Method in class opendial.bn.values.ArrayVal
If v is an ArrayVal, returns the combined array value.
concatenate(Value) - Method in class opendial.bn.values.BooleanVal
If v is a BooleanVal, returns the conjunction of the two values.
concatenate(Value) - Method in class opendial.bn.values.DoubleVal
If v is a DoubleVal, returns the addition of the two values.
concatenate(Value) - Method in class opendial.bn.values.NoneVal
Returns the value v provided as argument.
concatenate(Value) - Method in class opendial.bn.values.RelationalVal
Concatenates two relational structures (by juxtaposing their roots).
concatenate(Value) - Method in class opendial.bn.values.SetVal
Concatenates the two sets.
concatenate(Value) - Method in class opendial.bn.values.StringVal
Returns the concatenation of the two values.
concatenate(Value) - Method in interface opendial.bn.values.Value
Returns a value that is the concatenation of the two values
concatenate(Value, Value) - Static method in class opendial.bn.values.ValueFactory
 
concatenate(Value) - Method in class opendial.datastructs.SpeechData
Returns the concatenation of the two audio data.
concatenate(Value) - Method in class opendial.domains.rules.effects.Effect
 
Condition - Interface in opendial.domains.rules.conditions
Generic interface for a condition used in a probability or utility rule.
ConditionalTable - Class in opendial.bn.distribs
Conditional probability distribution represented as a probability table.
ConditionalTable(String) - Constructor for class opendial.bn.distribs.ConditionalTable
Constructs a new probability table, with no values
ConditionalTable(String, Map<Assignment, IndependentDistribution>) - Constructor for class opendial.bn.distribs.ConditionalTable
Constructs a new probability table, with the values in distribs
ConditionalTable.Builder - Class in opendial.bn.distribs
Builder class for the conditional table.
conditionalVars - Variable in class opendial.bn.distribs.ConditionalTable
 
connectTo(String, int) - Method in class opendial.DialogueSystem
Connects to a remote client with the given IP address and port
connectTo(String, int) - Method in class opendial.modules.RemoteConnector
Connects to a new IP address and port (after startup).
consistentWith(Assignment) - Method in class opendial.datastructs.Assignment
Returns true if the two assignments are mutually consistent, i.e. if there is a label l which appears in both assignment, then their value must be equal.
consistentWith(Assignment, Set<String>) - Method in class opendial.datastructs.Assignment
Returns true if the two assignments are mutually consistent, i.e. if there is a label l which appears in both assignment, then their value must be equal.
containContinuousValues() - Method in class opendial.datastructs.Assignment
 
contains(Value) - Method in class opendial.bn.values.ArrayVal
Returns false.
contains(Value) - Method in class opendial.bn.values.BooleanVal
Returns false
contains(Value) - Method in class opendial.bn.values.DoubleVal
Returns false
contains(Value) - Method in class opendial.bn.values.NoneVal
True if subvalue is contained in the current instance, and false otherwise
contains(Value) - Method in class opendial.bn.values.RelationalVal
Returns true if the value is contained in the relation structure.
contains(Value) - Method in class opendial.bn.values.SetVal
Returns true if subvalue is contained, and false otherwise
contains(Value) - Method in class opendial.bn.values.StringVal
Returns true if subvalue is a substring of the current StringVal, and false otherwise
contains(Value) - Method in interface opendial.bn.values.Value
Return true if the value contains the value given as argument
contains(Assignment) - Method in class opendial.datastructs.Assignment
Returns true if the assignment contains all pairs specified in the assignment given as parameter (both the label and its value must match for all pairs).
contains(Value) - Method in class opendial.datastructs.SpeechData
Returns false
contains(Value) - Method in class opendial.domains.rules.effects.Effect
Returns false.
containsDistrib(Set<String>, Class<T>) - Method in class opendial.bn.BNetwork
Returns true if at least one of the nodes in nodeIds has a distribution of type cls.
containsOneVar(Set<String>) - Method in class opendial.datastructs.Assignment
Returns true if the assignment contains at least one of the given variables, and false otherwise
containsPair(String, Value) - Method in class opendial.datastructs.Assignment
Returns true if the assignment contains the given entry
containsSlots() - Method in class opendial.domains.rules.effects.BasicEffect
Returns false.
containsSlots() - Method in class opendial.domains.rules.effects.TemplateEffect
Returns true if the effect contains slots to fill, and false otherwise
containsVar(String) - Method in class opendial.datastructs.Assignment
Returns true if the assignment contains the given variable, and false otherwise
containsVars(Collection<String>) - Method in class opendial.datastructs.Assignment
Returns true if the assignment contains all of the given variables, and false otherwise
ContinuousDistribution - Class in opendial.bn.distribs
Representation of a continuous probability distribution, defined by an arbitrary density function over a single (univariate or multivariate) variable.
ContinuousDistribution(String, DensityFunction) - Constructor for class opendial.bn.distribs.ContinuousDistribution
Constructs a new distribution with a variable and a density function
convertToCondition() - Method in class opendial.domains.rules.effects.BasicEffect
Converts the effect into an equivalent condition
convertToCondition() - Method in class opendial.domains.rules.effects.Effect
Converts the effect into a condition.
convertToCondition() - Method in class opendial.domains.rules.effects.TemplateEffect
Converts the effect into an equivalent condition
copy() - Method in class opendial.bn.BNetwork
Returns a copy of the Bayesian network
copy() - Method in class opendial.bn.distribs.CategoricalTable
Returns a copy of the probability table
copy() - Method in class opendial.bn.distribs.ConditionalTable
Returns a copy of the probability table
copy() - Method in class opendial.bn.distribs.ContinuousDistribution
Returns a copy of the probability distribution
copy() - Method in interface opendial.bn.distribs.densityfunctions.DensityFunction
Returns a copy of the density function
copy() - Method in class opendial.bn.distribs.densityfunctions.DirichletDensityFunction
Copies the density function (keeping the same alpha-values).
copy() - Method in class opendial.bn.distribs.densityfunctions.DiscreteDensityFunction
Returns a copy of the density function
copy() - Method in class opendial.bn.distribs.densityfunctions.GaussianDensityFunction
Returns a copy of the density function
copy() - Method in class opendial.bn.distribs.densityfunctions.KernelDensityFunction
Returns a copy of the density function
copy() - Method in class opendial.bn.distribs.densityfunctions.UniformDensityFunction
Returns a copy of the density function
copy() - Method in class opendial.bn.distribs.EmpiricalDistribution
Returns a copy of the distribution
copy() - Method in interface opendial.bn.distribs.IndependentDistribution
Returns a copy of the distribution.
copy() - Method in class opendial.bn.distribs.MarginalDistribution
Copies the marginal distribution.
copy() - Method in interface opendial.bn.distribs.MultivariateDistribution
Returns a copy of the distribution.
copy() - Method in class opendial.bn.distribs.MultivariateTable
Returns a copy of the probability table
copy() - Method in interface opendial.bn.distribs.ProbDistribution
Creates a copy of the probability distribution
copy() - Method in class opendial.bn.distribs.SingleValueDistribution
Copies the distribution
copy() - Method in interface opendial.bn.distribs.UtilityFunction
Creates a copy of the utility distribution
copy() - Method in class opendial.bn.distribs.UtilityTable
Returns a copy of the utility table
copy() - Method in class opendial.bn.nodes.ActionNode
Copies the action node.
copy() - Method in class opendial.bn.nodes.BNode
Creates a copy of the current node.
copy() - Method in class opendial.bn.nodes.ChanceNode
Returns a copy of the node.
copy() - Method in class opendial.bn.nodes.UtilityNode
Returns a copy of the utility node.
copy() - Method in class opendial.bn.values.ArrayVal
Copies the array
copy() - Method in class opendial.bn.values.BooleanVal
Copies the boolean value
copy() - Method in class opendial.bn.values.DoubleVal
Returns a copy of the double value
copy() - Method in class opendial.bn.values.NoneVal
Returns its own instance
copy() - Method in class opendial.bn.values.RelationalVal
Copies the relational structure
copy() - Method in class opendial.bn.values.SetVal
Returns a copy of the list
copy() - Method in class opendial.bn.values.StringVal
Returns a copy of the string value
copy() - Method in interface opendial.bn.values.Value
Copies the value
copy() - Method in class opendial.datastructs.Assignment
Returns a copy of the assignment
copy() - Method in class opendial.datastructs.Graph.Node
Copies the node.
copy() - Method in class opendial.datastructs.SpeechData
Returns itself
copy() - Method in class opendial.DialogueState
Returns a copy of the dialogue state
copy() - Method in class opendial.domains.rules.distribs.AnchoredRule
Returns a copy of the distribution
copy() - Method in class opendial.domains.rules.distribs.EquivalenceDistribution
Copies the distribution
copy() - Method in class opendial.domains.rules.distribs.OutputDistribution
Returns a copy of the distribution
copy() - Method in class opendial.domains.rules.effects.BasicEffect
Returns a copy of the effect.
copy() - Method in class opendial.domains.rules.effects.Effect
Returns a copy of the effect
copy() - Method in class opendial.domains.rules.effects.TemplateEffect
Returns a copy of the effect.
copy() - Method in class opendial.domains.rules.RuleGrounding
Copies the groundings
copy() - Method in class opendial.inference.exact.DoubleFactor
Returns a copy of the double factor
copy() - Method in class opendial.Settings
Copies the settings
copy() - Method in class opendial.templates.Template.MatchResult
 
copyValue(Value) - Method in class opendial.bn.values.RelationalVal
Copies a value
copyValue(V) - Method in class opendial.datastructs.Graph
Copies the value V.
copyValue(Template) - Method in class opendial.templates.RelationalTemplate
Copies a template
countNbOccurrences(String, char) - Static method in class opendial.utils.StringUtils
Returns the total number of occurrences of the character in the string.
countOccurrences(String, String) - Static method in class opendial.utils.StringUtils
Counts the occurrences of a particular pattern in the string.
create(String) - Static method in class opendial.bn.values.ValueFactory
Creates a new value based on the provided string representation.
create(double) - Static method in class opendial.bn.values.ValueFactory
Returns a double value given the double
create(double[]) - Static method in class opendial.bn.values.ValueFactory
 
create(boolean) - Static method in class opendial.bn.values.ValueFactory
Returns the boolean value given the boolean
create(Value...) - Static method in class opendial.bn.values.ValueFactory
Returns the set value given the values
create(Collection<Value>) - Static method in class opendial.bn.values.ValueFactory
Returns the set value given the values
create(String) - Static method in interface opendial.templates.Template
Creates a new template based on the string value.
createChanceNode(Node) - Static method in class opendial.readers.XMLStateReader
Creates a new chance node corresponding to the XML specification
createContinuous(String) - Method in class opendial.bn.distribs.EmpiricalDistribution
Creates a continuous with the defined head variable given the samples
createDefault(Collection<String>) - Static method in class opendial.datastructs.Assignment
Creates an assignment with only none values for the variable labels given as argument.
createDefault(String...) - Static method in class opendial.datastructs.Assignment
Creates an assignment with only none values for the variable labels given as argument.
createDiscrete(String) - Method in class opendial.bn.distribs.EmpiricalDistribution
Creates a categorical table with the defined head variable given the samples
createFromString(String) - Static method in class opendial.datastructs.Assignment
 
createOneValue(Collection<String>, String) - Static method in class opendial.datastructs.Assignment
Creates an assignment where all variable share a single common value.
createProbDistribution(String, DoubleFactor) - Static method in class opendial.inference.exact.VariableElimination
Creates the probability distribution for the given variable, as described by the factor.
createRelation(String) - Method in class opendial.bn.values.RelationalVal
Creates a relation from a string representation within the graph.
createRelation(String) - Method in class opendial.datastructs.Graph
Creates a value of type R from a string
createRelation(String) - Method in class opendial.templates.RelationalTemplate
Creates a template from its string representation
createValue(String) - Method in class opendial.bn.values.RelationalVal
Creates a value from a string representation within the graph.
createValue(String) - Method in class opendial.datastructs.Graph
Creates a value of type V from a string
createValue(String) - Method in class opendial.templates.RelationalTemplate
Creates a template from its string representation
CURRENT - Static variable in class opendial.gui.StateMonitorTab
 
curState - Variable in class opendial.DialogueSystem
 
CustomFunction(String, Function<List<String>, Value>) - Constructor for class opendial.Settings.CustomFunction
 

D

DECISION_MEMORY - Static variable in class opendial.modules.learning.SocialLearner
 
deinstall(JEditorPane) - Method in class opendial.gui.utils.DomainEditorKit
Deinstalls the editor for the kit.
DensityFunction - Interface in opendial.bn.distribs.densityfunctions
Density function for a continuous probability distribution.
detachModule(Class<? extends Module>) - Method in class opendial.DialogueSystem
Detaches the module of the dialogue system.
DialogueImporter - Class in opendial.modules
Functionality to import a previously recorded dialogue in the dialogue system.
DialogueImporter(DialogueSystem, List<DialogueState>) - Constructor for class opendial.modules.DialogueImporter
Creates a new dialogue importer attached to a particular dialogue system, and with an ordered list of turns (encoded by their dialogue state).
DialogueRecorder - Class in opendial.modules
Module used to systematically record all user inputs and outputs during the interaction.
DialogueRecorder(DialogueSystem) - Constructor for class opendial.modules.DialogueRecorder
Creates a new dialogue recorder for the dialogue system
DialogueState - Class in opendial
Representation of a dialogue state.
DialogueState() - Constructor for class opendial.DialogueState
Creates a new, empty dialogue state.
DialogueState(BNetwork) - Constructor for class opendial.DialogueState
Creates a new dialogue state that contains the Bayesian network provided as argument.
DialogueState(Collection<BNode>, Assignment) - Constructor for class opendial.DialogueState
Creates a new dialogue state that contains the set of nodes provided as argument.
DialogueState(BNetwork, Assignment) - Constructor for class opendial.DialogueState
Creates a new dialogue state that contains the Bayesian network provided as argument.
DialogueSystem - Class in opendial
Dialogue system based on probabilistic rules.
DialogueSystem() - Constructor for class opendial.DialogueSystem
Creates a new dialogue system with an empty dialogue system
DialogueSystem(Domain) - Constructor for class opendial.DialogueSystem
Creates a new dialogue system with the provided dialogue domain
DialogueSystem(String) - Constructor for class opendial.DialogueSystem
Creates a new dialogue system with the provided dialogue domain
DirichletDensityFunction - Class in opendial.bn.distribs.densityfunctions
Density function for a Dirichlet distribution.
DirichletDensityFunction(double[]) - Constructor for class opendial.bn.distribs.densityfunctions.DirichletDensityFunction
Create a new Dirichlet density function with the provided alpha parameters
discountFactor - Variable in class opendial.Settings
Discount factor for forward planning
DiscreteDensityFunction - Class in opendial.bn.distribs.densityfunctions
Density function defined via a set of discrete points.
DiscreteDensityFunction(Map<double[], Double>) - Constructor for class opendial.bn.distribs.densityfunctions.DiscreteDensityFunction
Creates a new discrete density function, given the set of points
discretisationBuckets - Static variable in class opendial.Settings
Number of discretisation buckets to convert continuous distributions
discretise(int) - Method in interface opendial.bn.distribs.densityfunctions.DensityFunction
Returns a discretised version of the density function.
discretise(int) - Method in class opendial.bn.distribs.densityfunctions.DirichletDensityFunction
Returns a discretised version of the Dirichlet.
discretise(int) - Method in class opendial.bn.distribs.densityfunctions.DiscreteDensityFunction
Returns the points for this distribution.
discretise(int) - Method in class opendial.bn.distribs.densityfunctions.GaussianDensityFunction
Returns a set of discrete values (of a size of nbBuckets) extracted from the Gaussian.
discretise(int) - Method in class opendial.bn.distribs.densityfunctions.KernelDensityFunction
Returns a set of discrete values for the density function.
discretise(int) - Method in class opendial.bn.distribs.densityfunctions.UniformDensityFunction
Returns a set of discrete values for the distribution
displayComment(String) - Method in class opendial.DialogueSystem
Adds a comment on the GUI and the dialogue recorder.
displayComment(String) - Method in class opendial.gui.EditorTab
Displays a comment as a balloon tip.
displayDistrib(String) - Method in class opendial.gui.utils.StateViewer
Displays the probability distribution(s) for the selected variables.
distrib - Variable in class opendial.bn.nodes.ChanceNode
 
distrib - Variable in class opendial.bn.nodes.UtilityNode
 
DistributionViewer - Class in opendial.gui.utils
GUI window displaying a (discrete or continuous) distribution as a chart.
DistributionViewer(DialogueState, String, StateViewer) - Constructor for class opendial.gui.utils.DistributionViewer
Constructs a new viewer for the given distribution, connected to the state viewer component.
domain - Variable in class opendial.DialogueSystem
 
Domain - Class in opendial.domains
Representation of a dialogue domain, composed of (1) an initial dialogue state and (2) a list of probability and utility models employed to update the dialogue state upon relevant changes.
Domain() - Constructor for class opendial.domains.Domain
Creates a new domain with an empty dialogue state and list of models.
DomainEditorKit - Class in opendial.gui.utils
Editor kit for the XML domain specification.
DomainEditorKit() - Constructor for class opendial.gui.utils.DomainEditorKit
Creates a new editor kit with an associated factory
DotProduct() - Constructor for class opendial.utils.MathUtils.DotProduct
 
DoubleFactor - Class in opendial.inference.exact
Double factor, combining probability and utility distributions
DoubleFactor() - Constructor for class opendial.inference.exact.DoubleFactor
Creates a new, empty factor, and a set of head variables
DoubleFactor(DoubleFactor) - Constructor for class opendial.inference.exact.DoubleFactor
Creates a new factor out of an existing one
doublePattern - Static variable in class opendial.bn.values.ValueFactory
 
DoubleVal - Class in opendial.bn.values
Representation of a double value
DoubleVal(double) - Constructor for class opendial.bn.values.DoubleVal
Creates the double value (protected, use the ValueFactory instead)
drawUnselectedText(Graphics, int, int, int, int) - Method in class opendial.gui.utils.XMLView
 

E

editor - Variable in class opendial.gui.EditorTab
 
EditorTab - Class in opendial.gui
 
EditorTab(GUIFrame) - Constructor for class opendial.gui.EditorTab
Creates the editor tab inside the given frame.
Effect - Class in opendial.domains.rules.effects
A complex effect, represented as a combination of elementary sub-effects connected via an implicit AND relation.
Effect() - Constructor for class opendial.domains.rules.effects.Effect
Creates a new complex effect with no effect
Effect(BasicEffect) - Constructor for class opendial.domains.rules.effects.Effect
Creates a new complex effect with a single effect
Effect(Collection<BasicEffect>) - Constructor for class opendial.domains.rules.effects.Effect
Creates a new complex effect with a collection of existing effects
Effect(Effect...) - Constructor for class opendial.domains.rules.effects.Effect
Creates a new complex effect with a collection of existing effects
effects - Variable in class opendial.domains.rules.RuleOutput
 
EmpiricalDistribution - Class in opendial.bn.distribs
Distribution defined "empirically" in terms of a set of samples on a collection of random variables.
EmpiricalDistribution() - Constructor for class opendial.bn.distribs.EmpiricalDistribution
Constructs an empirical distribution with an empty set of samples
EmpiricalDistribution(Collection<? extends Assignment>) - Constructor for class opendial.bn.distribs.EmpiricalDistribution
Constructs a new empirical distribution with a set of samples samples
ENABLE_REDUCTION - Static variable in class opendial.modules.StatePruner
 
enableSpeech(boolean) - Method in class opendial.DialogueSystem
Enables or disables speech input for the system.
enableSpeech(boolean) - Method in class opendial.gui.GUIFrame
Enables or disables the speech recording functionality in the GUI
enableSpeech(boolean) - Method in class opendial.gui.GUIMenuBar
Enables or disables the speech option menu
enableSpeech(boolean) - Method in class opendial.gui.InteractionTab
Enables or disables the speech input panel in the tab
equals(Object) - Method in class opendial.bn.BNetwork
Returns true if the object is also a Bayesian network with exactly the same node identifiers.
equals(Object) - Method in class opendial.bn.distribs.CategoricalTable
Returns true if the object o is a categorical table with the same content
equals(Object) - Method in class opendial.bn.distribs.ConditionalTable
Returns true if the object o is a conditional distribution with the same content
equals(Object) - Method in class opendial.bn.distribs.SingleValueDistribution
Returns true if the assignment is identical to the one in this distribution, otherwise false
equals(Object) - Method in class opendial.bn.nodes.BNode
Returns true if the given argument is a node with identical identifier
equals(Object) - Method in class opendial.bn.values.ArrayVal
Checks for equality
equals(Object) - Method in class opendial.bn.values.BooleanVal
Returns true if the boolean value is similar, false otherwise
equals(Object) - Method in class opendial.bn.values.DoubleVal
Returns true if the objects are similar, false otherwise
equals(Object) - Method in class opendial.bn.values.NoneVal
Returns true if both values are none
equals(Object) - Method in class opendial.bn.values.SetVal
Returns true if the lists are equals (contain the same elements), false otherwise
equals(Object) - Method in class opendial.bn.values.StringVal
Returns true if the strings are equals, false otherwise
equals(Object) - Method in interface opendial.bn.values.Value
Returns true if o and the current object are equal, and false otherwise
equals(Object) - Method in class opendial.datastructs.Assignment
Returns true if the object given as argument is an assignment identical to the present one
equals(Object) - Method in class opendial.datastructs.Graph
Returns true if the object is a graph with the same content.
equals(Object) - Method in class opendial.datastructs.Graph.Node
Returns true if the
equals(Object) - Method in class opendial.datastructs.MathExpression
Returns true if the expressions are identical, false otherwise
equals(Object) - Method in class opendial.domains.Domain
Returns true if o is a domain with the same source file, and false otherwise.
equals(Object) - Method in class opendial.domains.rules.conditions.BasicCondition
Returns true if the given object is a condition identical to the current instance, and false otherwise
equals(Object) - Method in class opendial.domains.rules.conditions.ComplexCondition
Returns true if the complex conditions are equal, false otherwise
equals(Object) - Method in class opendial.domains.rules.conditions.NegatedCondition
Returns true if the current instance and the object are identical, and false otherwise
equals(Object) - Method in class opendial.domains.rules.conditions.VoidCondition
Returns true if o is also a void condition
equals(Object) - Method in class opendial.domains.rules.effects.BasicEffect
Returns true if the object o is a basic effect that is identical to the current instance, and false otherwise.
equals(Object) - Method in class opendial.domains.rules.effects.Effect
Returns true if the object is a complex effect with an identical content
equals(Object) - Method in class opendial.domains.rules.effects.TemplateEffect
Returns true if the object o is a basic effect that is identical to the current instance, and false otherwise.
equals(Object) - Method in class opendial.domains.rules.Rule
Returns true if o is a rule that has the same identifier, rule type and list of cases than the current rule.
equals(Object) - Method in class opendial.domains.rules.RuleGrounding
Returns true if o is a rule grounding with the same assignments, false otherwise
equals(Object) - Method in class opendial.domains.rules.RuleOutput
Returns true if the object is a identical rule case, and false otherwise.
equals(Object) - Method in class opendial.templates.FunctionalTemplate
 
equals(Object) - Method in class opendial.templates.StringTemplate
Returns true if the object is an identical string template.
equals(Object) - Method in class opendial.templates.Template.MatchResult
 
EquivalenceDistribution - Class in opendial.domains.rules.distribs
Representation of an equivalence distribution (see dissertation p. 78 for details) with two possible values: true or false.
EquivalenceDistribution(String) - Constructor for class opendial.domains.rules.distribs.EquivalenceDistribution
Create a new equivalence node for the given variable.
escape(String) - Static method in class opendial.utils.StringUtils
 
evaluate() - Method in class opendial.datastructs.MathExpression
Evaluates the result of the expression
evaluate(Assignment) - Method in class opendial.datastructs.MathExpression
Evaluates the result of the expression, given an assignment of values to the unknown variables
exportContent(String) - Method in class opendial.gui.GUIFrame
Exports a dialogue state or prior parameter distributions.
exportContent(DialogueSystem, String, String) - Static method in class opendial.utils.XMLUtils
Exports a dialogue state or prior parameter distributions.
extend(Assignment) - Method in class opendial.domains.rules.RuleGrounding
Extends the existing groundings with the provided assignment
extend(RuleGrounding) - Method in class opendial.domains.rules.RuleGrounding
Extends the existing groundings with the alternative groundings
extend(Collection<Assignment>) - Method in class opendial.domains.rules.RuleGrounding
Extends the existing groundings with the alternative groundings
extend(String, Collection<Value>) - Method in class opendial.domains.rules.RuleGrounding
Extend a set of groundings with the alternative values for the variable
extendRows(Assignment) - Method in class opendial.bn.distribs.MultivariateTable
Extend all rows in the table with the given value assignment
extractBayesianNetwork(String, String) - Static method in class opendial.readers.XMLStateReader
Returns the initial state or parameters from the XML document, for the given domain (where the variable types are already declared)
extractBayesianNetworkFromString(String) - Static method in class opendial.readers.XMLStateReader
Extracts the bayesian network from a XML string.
extractDialogue(String) - Static method in class opendial.readers.XMLDialogueReader
Extracts the dialogue specified in the data file.
extractDomain(String) - Static method in class opendial.readers.XMLDomainReader
Extract a dialogue domain from the XML specification
extractEmptyDomain(String) - Static method in class opendial.readers.XMLDomainReader
Extract a empty domain from the XML domain specification, only setting the source file and its possible imports.
extractMapping(String) - Static method in class opendial.utils.XMLUtils
Extract the settings from the XML file.
extractMapping(Node) - Static method in class opendial.utils.XMLUtils
Extract the settings from the XML node.
extractSample(BNetwork, Collection<String>) - Static method in class opendial.inference.approximate.SamplingAlgorithm
Extracts a unique (non reweighted) sample for the query.

F

fillConditionalHoles() - Method in class opendial.bn.distribs.ConditionalTable.Builder
Fill the "conditional holes" of the distribution -- that is, the possible conditional assignments Y1,..., Yn that are not associated with any distribution P(X1,...
fillSettings(Properties) - Method in class opendial.Settings
Fills the current settings with the values provided as argument.
fillSlots(Assignment) - Method in class opendial.templates.FunctionalTemplate
 
fillSlots(Assignment) - Method in class opendial.templates.RelationalTemplate
Fills the slots in the template and returns the result.
fillSlots(Assignment) - Method in class opendial.templates.StringTemplate
Returns the string itself.
fillSlots(Assignment) - Method in interface opendial.templates.Template
Fills the template with the given content, and returns the filled string.
filterValues(Predicate<Value>) - Method in class opendial.datastructs.Assignment
Filter the assignment by removing all pairs that do not satisfy the given predicate
find(String, int) - Method in class opendial.templates.FunctionalTemplate
 
find(String, int) - Method in class opendial.templates.RelationalTemplate
Searches for the occurrences of the relational template in the string (if the string is itself a relational structure).
find(String, int) - Method in class opendial.templates.StringTemplate
Searches for all possible occurrences of the template in the provided string.
find(String, int) - Method in interface opendial.templates.Template
Searches for all occurrences of the template in the str.
fixedFunctions - Static variable in class opendial.datastructs.MathExpression
 
FixedParameter - Class in opendial.domains.rules.parameters
Representation of a parameter fixed to one single specific value.
FixedParameter(double) - Constructor for class opendial.domains.rules.parameters.FixedParameter
Constructs a fixed parameter with the given value.
FlightBookingExample - Class in opendial.modules.examples
Example of simple external module used for the flight-booking dialogue domain.
FlightBookingExample(DialogueSystem) - Constructor for class opendial.modules.examples.FlightBookingExample
Creates a new instance of the flight-booking module
floor - Variable in class opendial.Settings
Variable label for the conversational floor
ForwardPlanner - Class in opendial.modules
Online forward planner for OpenDial.
ForwardPlanner(DialogueSystem) - Constructor for class opendial.modules.ForwardPlanner
Constructs a forward planner for the dialogue system.
ForwardPlanner.PlannerProcess - Class in opendial.modules
Planner process, which can be terminated before the end of the horizon
FunctionalTemplate - Class in opendial.templates
 
FunctionalTemplate(String) - Constructor for class opendial.templates.FunctionalTemplate
Creates a new string template.
functions - Static variable in class opendial.Settings
List of custom functions that can be used in the rules

G

gamma(double) - Static method in class opendial.utils.MathUtils
Returns the value of the gamma function: Gamma(x) = integral( t^(x-1) e^(-t), t = 0 .. infinity)
GaussianDensityFunction - Class in opendial.bn.distribs.densityfunctions
Gaussian density function.
GaussianDensityFunction(double[], double[]) - Constructor for class opendial.bn.distribs.densityfunctions.GaussianDensityFunction
Creates a new density function with the given mean and variance vector.
GaussianDensityFunction(Double, Double) - Constructor for class opendial.bn.distribs.densityfunctions.GaussianDensityFunction
Creates a new, univariate density function with a given mean and variance
GaussianDensityFunction(double[][]) - Constructor for class opendial.bn.distribs.densityfunctions.GaussianDensityFunction
 
generateFile(byte[], File) - Static method in class opendial.utils.AudioUtils
Generates an audio file from the stream.
generateXML(Document) - Method in class opendial.bn.distribs.CategoricalTable
Generates the XML representation for the table, for the document doc.
generateXML(Document) - Method in class opendial.bn.distribs.ContinuousDistribution
Returns the XML representation of the distribution
generateXML(Document) - Method in interface opendial.bn.distribs.densityfunctions.DensityFunction
Returns the XML representation (as a list of XML elements) of the density function
generateXML(Document) - Method in class opendial.bn.distribs.densityfunctions.DirichletDensityFunction
 
generateXML(Document) - Method in class opendial.bn.distribs.densityfunctions.DiscreteDensityFunction
 
generateXML(Document) - Method in class opendial.bn.distribs.densityfunctions.GaussianDensityFunction
 
generateXML(Document) - Method in class opendial.bn.distribs.densityfunctions.KernelDensityFunction
Converts the distribution to a Gaussian distribution and returns its XML representation.
generateXML(Document) - Method in class opendial.bn.distribs.densityfunctions.UniformDensityFunction
 
generateXML(Document) - Method in interface opendial.bn.distribs.IndependentDistribution
Generates a XML node that represents the distribution.
generateXML(Document) - Method in class opendial.bn.distribs.SingleValueDistribution
Returns the XML representation (as a categorical table)
generateXML(Document) - Method in class opendial.datastructs.Assignment
 
generateXML(Document, Collection<String>) - Method in class opendial.DialogueState
Generates an XML element that encodes the dialogue state content.
generateXML(Document) - Method in class opendial.Settings
Generates an XML element that encodes the settings
GEO_FACTOR - Static variable in class opendial.modules.learning.SocialLearner
 
GEOMETRIC_FACTOR - Static variable in class opendial.modules.learning.WizardLearner
geometric factor used in supervised learning from Wizard-of-Oz data
getActionNode(String) - Method in class opendial.bn.BNetwork
Returns the action node associated with the identifier, if one exists.
getActionNodeIds() - Method in class opendial.bn.BNetwork
Returns the collection of action node identifiers currently in the network
getActionNodes() - Method in class opendial.bn.BNetwork
Returns the collection of action nodes currently in the network
getAllCombinations(Map<String, Set<Value>>) - Static method in class opendial.utils.InferenceUtils
Generates all possible assignment combinations from the set of values provided as parameters -- each variable being associated with a set of alternative values.
getAllSlots() - Method in class opendial.domains.rules.effects.TemplateEffect
Returns all slots in the template effects
getAlternatives() - Method in class opendial.domains.rules.RuleGrounding
Returns the set of possible assignments
getAncestorIds() - Method in class opendial.bn.nodes.BNode
Returns an order list of node identifiers which are the ancestors (via the relations) of the current node.
getAncestors() - Method in class opendial.bn.nodes.BNode
Returns an ordered list of nodes which are the ancestors (via the relations) of the current node.
getAncestorsIds(Collection<String>) - Method in class opendial.bn.nodes.BNode
Returns the list of closest ancestors for the node among a set of possible variables.
getArray() - Method in class opendial.bn.values.ArrayVal
Returns the array
getAssignment() - Method in class opendial.domains.rules.effects.Effect
Returns the effect as an assignment of values.
getAssignments() - Method in class opendial.inference.exact.DoubleFactor
Returns the matrix included in the factor
getAttributes() - Method in class opendial.datastructs.Graph.Node
Returns the set of attribute keys.
getAttrValue(String) - Method in class opendial.datastructs.Graph.Node
Returns the attribute value for the given key, if it exists.
getAudioStream(byte[]) - Static method in class opendial.utils.AudioUtils
Returns the audio stream corresponding to the array of bytes
getBandwidth() - Method in class opendial.bn.distribs.densityfunctions.KernelDensityFunction
Returns the bandwidth defined for the KDE
getBayesianNetwork(Node) - Static method in class opendial.readers.XMLStateReader
Returns the initial state or parameters from the XML document, for the given domain (where the variable types are already declared)
getBest() - Method in class opendial.bn.distribs.CategoricalTable
Returns the most likely assignment of values in the table.
getBest() - Method in class opendial.bn.distribs.ContinuousDistribution
Returns the mean value of the distribution
getBest() - Method in class opendial.bn.distribs.EmpiricalDistribution
Returns the value that occurs most often in the set of samples
getBest() - Method in interface opendial.bn.distribs.IndependentDistribution
Returns the value with maximum probability (discrete case) or the mean value of the distribution (continuous case)
getBest() - Method in interface opendial.bn.distribs.MultivariateDistribution
Returns the value with maximum probability.
getBest() - Method in class opendial.bn.distribs.MultivariateTable
Returns the most likely assignment of values in the table.
getBest() - Method in class opendial.bn.distribs.SingleValueDistribution
Returns the value
getBest() - Method in class opendial.bn.distribs.UtilityTable
Returns the entry with the highest utility in the table
getBNode(String) - Method in class opendial.gui.utils.StateViewer
Returns the node associated with the graph identifier (inverse operation of getGraphId)
getBNodeId(String) - Method in class opendial.gui.utils.StateViewer
Returns the node associated with the graph identifier (inverse operation of getGraphId)
getBoolean() - Method in class opendial.bn.values.BooleanVal
Returns the boolean value
getCDF(double...) - Method in interface opendial.bn.distribs.densityfunctions.DensityFunction
Returns the cumulative probability up to the given point x.
getCDF(double...) - Method in class opendial.bn.distribs.densityfunctions.DirichletDensityFunction
Throws an exception (calculating the CDF of a Dirichlet is quite hard and not currently implemented).
getCDF(double...) - Method in class opendial.bn.distribs.densityfunctions.DiscreteDensityFunction
Returns the cumulative distribution for the distribution (by counting all the points with a value that is lower than x).
getCDF(double...) - Method in class opendial.bn.distribs.densityfunctions.GaussianDensityFunction
Returns the cumulative probability up to the point x
getCDF(double...) - Method in class opendial.bn.distribs.densityfunctions.KernelDensityFunction
Returns the cumulative probability distribution for the KDE.
getCDF(double...) - Method in class opendial.bn.distribs.densityfunctions.UniformDensityFunction
Returns the cumulative probability up to the given point
getChanceNode(String) - Method in class opendial.bn.BNetwork
Returns the chance node associated with the identifier, if one exists.
getChanceNodeIds() - Method in class opendial.bn.BNetwork
Returns the collection of chance node identifiers currently in the network
getChanceNodes() - Method in class opendial.bn.BNetwork
Returns the collection of chance nodes currently in the network
getChat() - Method in class opendial.gui.InteractionTab
Returns the current text of the chat.
getChatTab() - Method in class opendial.gui.GUIFrame
Returns the chat tab
getChild(R) - Method in class opendial.datastructs.Graph.Node
Returns the node that is a child of the current node through the given relation.
getChildren() - Method in class opendial.datastructs.Graph.Node
Returns the set of children nodes
getClique() - Method in class opendial.bn.nodes.BNode
Returns the (maximal) clique in the network that contains this node.
getCliques() - Method in class opendial.bn.BNetwork
Returns the set of maximal cliques that compose this network.
getCliques(Set<String>) - Method in class opendial.bn.BNetwork
Returns the set of maximal cliques that compose this network, if one only looks at the clique containing the given subset of node identifiers.
getConditionalDistrib() - Method in class opendial.bn.distribs.MarginalDistribution
Returns the conditional distribution P(X|Y1,...Yn,Z1,...Zm)
getConditions() - Method in class opendial.bn.distribs.ConditionalTable
Returns the set of possible conditional assignments in the table.
getConditions() - Method in class opendial.domains.rules.conditions.ComplexCondition
Returns the subconditions in the complex condition.
getContent() - Method in class opendial.datastructs.Graph.Node
Returns the node content
getContent(String) - Method in class opendial.DialogueSystem
Returns the probability distribution associated with the variables in the current dialogue state.
getContent(Collection<String>) - Method in class opendial.DialogueSystem
Returns the probability distribution associated with the variables in the current dialogue state.
getContentType() - Method in class opendial.gui.utils.DomainEditorKit
Returns 'text/xml'.
getCumulativeProb(Value) - Method in class opendial.bn.distribs.ContinuousDistribution
Returns the cumulative probability from 0 up to a given point provided in the argument.
getCumulativeProb(double) - Method in class opendial.bn.distribs.ContinuousDistribution
Returns the cumulative probability from 0 up to a given point provided in the argument.
getCumulativeProb(double[]) - Method in class opendial.bn.distribs.ContinuousDistribution
Returns the cumulative probability from 0 up to a given point provided in the argument.
getDensity(double...) - Method in interface opendial.bn.distribs.densityfunctions.DensityFunction
Returns the density value of the function at a given point
getDensity(double...) - Method in class opendial.bn.distribs.densityfunctions.DirichletDensityFunction
Returns the density for a given point x.
getDensity(double...) - Method in class opendial.bn.distribs.densityfunctions.DiscreteDensityFunction
Returns the density for a given point.
getDensity(double...) - Method in class opendial.bn.distribs.densityfunctions.GaussianDensityFunction
Returns the density at the given point
getDensity(double...) - Method in class opendial.bn.distribs.densityfunctions.KernelDensityFunction
Returns the density for the given point
getDensity(double...) - Method in class opendial.bn.distribs.densityfunctions.UniformDensityFunction
Returns the density at the given point
getDescendantIds() - Method in class opendial.bn.nodes.BNode
Returns an order list of node identifiers which are the descendants (via the relations) of the current node.
getDescendants() - Method in class opendial.bn.nodes.BNode
Returns an ordered list of nodes which are the descendants (via the relations) of the current node.
getDescendants() - Method in class opendial.datastructs.Graph.Node
Returns the set of all descendant nodes.
getDescendantsIds(Collection<String>) - Method in class opendial.bn.nodes.BNode
Returns the list of closest descendants for the node among a set of possible variables.
getDimensions() - Method in interface opendial.bn.distribs.densityfunctions.DensityFunction
Returns the dimensionality of the density function.
getDimensions() - Method in class opendial.bn.distribs.densityfunctions.DirichletDensityFunction
Returns the dimensionality of the density function
getDimensions() - Method in class opendial.bn.distribs.densityfunctions.DiscreteDensityFunction
Returns the dimensionality of the distribution.
getDimensions() - Method in class opendial.bn.distribs.densityfunctions.GaussianDensityFunction
Returns the dimensionality of the Gaussian.
getDimensions() - Method in class opendial.bn.distribs.densityfunctions.KernelDensityFunction
Returns the dimensionality of the KDE.
getDimensions() - Method in class opendial.bn.distribs.densityfunctions.UniformDensityFunction
Returns the dimensionality (constrained here to 1).
getDistance(double[], double[]) - Static method in class opendial.utils.MathUtils
Returns the Euclidian distance between two double arrays.
getDistrib() - Method in class opendial.bn.nodes.ChanceNode
Returns the probability distribution attached to the node
getDomain() - Method in class opendial.DialogueSystem
Returns the domain for the dialogue system.
getDouble() - Method in class opendial.bn.values.DoubleVal
Returns the double value
getEditorTab() - Method in class opendial.gui.GUIFrame
Returns the editor tab.
getEffects() - Method in class opendial.domains.rules.distribs.AnchoredRule
Returns the set of possible effects associated with the anchored rule
getEffects() - Method in class opendial.domains.rules.Rule
Returns the set of all possible effects in the rule.
getEffects() - Method in class opendial.domains.rules.RuleOutput
Returns all the effects specified in the case.
getEntry(Assignment) - Method in class opendial.inference.exact.DoubleFactor
 
getEntrySet() - Method in class opendial.datastructs.Assignment
Returns the entry set for the assignment
getEvidence() - Method in class opendial.DialogueState
Returns the evidence associated with the dialogue state.
getEvidence() - Method in class opendial.inference.Query
Returns the evidence for the query.
getExpression() - Method in class opendial.domains.rules.parameters.ComplexParameter
Returns the mathematical expression representing the parameter
getExpression() - Method in class opendial.domains.rules.parameters.FixedParameter
Returns the mathematical expression representing the parameter
getExpression() - Method in interface opendial.domains.rules.parameters.Parameter
Returns the mathematical expression representing the parameter
getExpression() - Method in class opendial.domains.rules.parameters.SingleParameter
Returns the mathematical expression representing the parameter
getFactor() - Method in class opendial.bn.nodes.ActionNode
Returns the factor matrix for the action node.
getFactor() - Method in class opendial.bn.nodes.BNode
Return the factor matrix associated with the node.
getFactor() - Method in class opendial.bn.nodes.ChanceNode
Returns the "factor matrix" mapping assignments of conditional variables + the node variable to a probability value.
getFactor() - Method in class opendial.bn.nodes.UtilityNode
Returns the factor matrix associated with the utility node, which maps an assignment of input variable to a given utility.
getFiles() - Method in class opendial.gui.EditorTab
Returns the files in the left column of the editor tab.
getFilteredSortedNodes() - Method in class opendial.inference.Query
Returns a list of nodes sorted according to the ordering in BNetwork.getSortedNodes() and pruned from the irrelevant nodes
getFloor() - Method in class opendial.DialogueSystem
Returns who holds the current conversational floor (user, system, or free)
getFormat() - Method in class opendial.datastructs.SpeechData
Returns the format of the speech data
getFrame() - Method in class opendial.gui.GUIFrame
Returns the GUI frame itself.
getFullJoint(BNetwork, boolean) - Static method in class opendial.inference.exact.NaiveInference
Computes the full joint probability distribution for the Bayesian Network
getFullMapping() - Method in class opendial.Settings
Returns a representation of the settings in terms of a mapping between property labels and values
getFunction() - Method in class opendial.bn.distribs.ContinuousDistribution
Returns the density function
getFunction() - Method in class opendial.bn.nodes.UtilityNode
Returns the utility distribution
getFunction(String) - Static method in class opendial.Settings
 
getFunction() - Method in class opendial.templates.FunctionalTemplate
 
getGroundings(Assignment) - Method in class opendial.domains.rules.conditions.BasicCondition
Returns the set of possible groundings for the given input assignment
getGroundings(Assignment) - Method in class opendial.domains.rules.conditions.ComplexCondition
Returns the groundings for the complex condition (which is the union of the groundings for all basic conditions).
getGroundings(Assignment) - Method in interface opendial.domains.rules.conditions.Condition
Returns the set of possible groundings derived from the condition, based on the given assignment.
getGroundings(Assignment) - Method in class opendial.domains.rules.conditions.NegatedCondition
 
getGroundings(Assignment) - Method in class opendial.domains.rules.conditions.VoidCondition
Returns an empty set of groundings
getHtmlRendering(String) - Static method in class opendial.utils.StringUtils
Returns a HTML-compatible rendering of the raw string provided as argument
getId() - Method in class opendial.bn.nodes.BNode
Returns the identifier for the node
getId() - Method in class opendial.domains.Model
Returns the model identifier
getImportedFiles() - Method in class opendial.domains.Domain
Returns the (possibly empty) list of imported files
getIncrementalVars() - Method in class opendial.DialogueState
Returns the set of state variables that are in incremental mode
getInitCondition() - Method in class opendial.domains.rules.conditions.NegatedCondition
Returns the condition to negate
getInitialState() - Method in class opendial.domains.Domain
Returns the initial dialogue state
getInputMixers() - Static method in class opendial.utils.AudioUtils
Returns a list with all audio mixers whose input are compatible with the two audio format IN_HIGH or IN_LOW.
getInputNodeIds() - Method in class opendial.bn.nodes.BNode
Returns the identifiers for the set of input nodes
getInputNodes() - Method in class opendial.bn.nodes.BNode
Returns the set of input nodes
getInputNodes(Class<T>) - Method in class opendial.bn.nodes.BNode
Returns the set of input nodes of a certain class
getInputRange() - Method in class opendial.domains.rules.distribs.AnchoredRule
Returns the value range for the input variables
getInputVariables() - Method in class opendial.bn.distribs.ConditionalTable
Returns the conditional variables of the table
getInputVariables() - Method in interface opendial.bn.distribs.IndependentDistribution
Returns an empty set
getInputVariables() - Method in class opendial.bn.distribs.MarginalDistribution
Returns the conditional variables Y1,...Yn for the distribution.
getInputVariables() - Method in interface opendial.bn.distribs.ProbDistribution
Returns the conditional variables Y1,...Ym of the distribution
getInputVariables() - Method in class opendial.domains.rules.conditions.BasicCondition
Returns the input variables for the condition (the main variable itself, plus optional slots in the value to fill)
getInputVariables() - Method in class opendial.domains.rules.conditions.ComplexCondition
Returns the set of input variables for the complex condition
getInputVariables() - Method in interface opendial.domains.rules.conditions.Condition
Returns the input variables of the condition (as templates).
getInputVariables() - Method in class opendial.domains.rules.conditions.NegatedCondition
Returns the input variables for the condition (which are the same as the ones for the condition to negate)
getInputVariables() - Method in class opendial.domains.rules.conditions.VoidCondition
Return an empty set
getInputVariables() - Method in class opendial.domains.rules.distribs.AnchoredRule
 
getInputVariables() - Method in class opendial.domains.rules.distribs.EquivalenceDistribution
Returns the conditional variables of the equivalence distribution.
getInputVariables() - Method in class opendial.domains.rules.distribs.OutputDistribution
Returns the set of identifiers for all incoming rule nodes.
getInputVariables() - Method in class opendial.domains.rules.Rule
Returns the input variables (possibly underspecified, with slots to fill) for the rule
getLocalAddress() - Method in class opendial.DialogueSystem
Returns the local address (IP and port) used by the dialogue system
getLocalAddress() - Method in class opendial.modules.RemoteConnector
Returns the local address of the system, in the form Ip_address:port
getMainFrame() - Method in class opendial.gui.StateMonitorTab
Returns the reference to the main GUI.
getMainNode(Document) - Static method in class opendial.utils.XMLUtils
Returns the main node of the XML document
getMarginal(String) - Method in class opendial.bn.distribs.EmpiricalDistribution
Returns an independent probability distribution on a single random variable based on the samples.
getMarginal(String, Set<String>) - Method in class opendial.bn.distribs.EmpiricalDistribution
Returns a distribution P(var|condvars) based on the samples.
getMarginal(String) - Method in interface opendial.bn.distribs.MultivariateDistribution
Returns the marginal probability distribution P(Xi) for a random variable Xi in X1,...Xn.
getMarginal(String) - Method in class opendial.bn.distribs.MultivariateTable
Returns the marginal distribution P(Xi) for a random variable Xi in X1,...Xn.
getMatches(RelationalVal) - Method in class opendial.templates.RelationalTemplate
Returns the list of occurrences of the template in the relational structure.
getMatchingSlots(Collection<Template>) - Method in class opendial.DialogueState
Returns the possible filled values for the underspecified slots in the templates, on the basis of the variables in the dialogue sate.
getMean() - Method in interface opendial.bn.distribs.densityfunctions.DensityFunction
Returns the mean of the density function.
getMean() - Method in class opendial.bn.distribs.densityfunctions.DirichletDensityFunction
Returns the mean of the Dirichlet.
getMean() - Method in class opendial.bn.distribs.densityfunctions.DiscreteDensityFunction
Returns the means of the distribution (calculated like for a categorical distribution).
getMean() - Method in class opendial.bn.distribs.densityfunctions.GaussianDensityFunction
Returns the mean of the Gaussian.
getMean() - Method in class opendial.bn.distribs.densityfunctions.KernelDensityFunction
Returns the mean of the KDE.
getMean() - Method in class opendial.bn.distribs.densityfunctions.UniformDensityFunction
Returns the mean of the distribution
getMenu() - Method in class opendial.gui.GUIFrame
Returns the menu bar for the frame
getMinEuclidianDistance(Collection<double[]>) - Static method in class opendial.utils.MathUtils
Returns the minimal Euclidian distance between any two pairs of points in the collection of points provided as argument.
getMixers() - Static method in class opendial.utils.AudioUtils
Returns the list of all audio mixers
getModels() - Method in class opendial.domains.Domain
Returns the models for the domain
getModule(Class<T>) - Method in class opendial.DialogueSystem
Returns the module attached to the dialogue system and belonging to a particular class, if one exists.
getModules() - Method in class opendial.DialogueSystem
Returns the collection of modules attached to the system
getName() - Method in class opendial.Settings.CustomFunction
 
getNbCombinations() - Method in class opendial.datastructs.ValueRange
Returns the estimated number (higher bound) of combinations for the value range.
getNBest(int) - Method in class opendial.bn.distribs.CategoricalTable
Returns a subset of the N values in the table with the highest probability.
getNBest(int) - Method in class opendial.bn.distribs.MultivariateTable
Returns a subset of the N values in the table with the highest probability.
getNBest(int) - Method in class opendial.bn.distribs.UtilityTable
Creates a table with a subset of the utility values, namely the N-best highest ones.
getNBest() - Method in class opendial.gui.InteractionTab
Returns the current number of displayed N-best elements
getNBest(Map<T, Double>, int) - Static method in class opendial.utils.InferenceUtils
Returns a smaller version of the initial table that only retains the N elements with a highest value
getNbValues() - Method in class opendial.bn.nodes.ChanceNode
Returns the number of values for the node
getNetwork() - Method in class opendial.inference.Query
Returns the Bayesian network for the query.
getNewActionVariables() - Method in class opendial.DialogueState
Returns the set of new action variables in the dialogue state (that is, the ones that have a prime ' in their label).
getNewVariables() - Method in class opendial.DialogueState
Returns the set of updated variables in the dialogue state (that is, the ones that have a prime ' in their label).
getNode(String) - Method in class opendial.bn.BNetwork
Returns the node associated with the given identifier in the network.
getNodeIds(Class<T>) - Method in class opendial.bn.BNetwork
Returns the collection of node identifiers currently in the network and that have a distribution or utility function of a certain class
getNodeIds() - Method in class opendial.bn.BNetwork
Returns the set of node identifiers currently in the network
getNodes() - Method in class opendial.bn.BNetwork
Returns the collection of nodes currently in the network
getNodes(Collection<String>) - Method in class opendial.bn.BNetwork
 
getNodes(Class<T>) - Method in class opendial.bn.BNetwork
Returns the set of nodes belonging to a certain class (extending BNode)
getNodes(Set<String>) - Method in class opendial.bn.BNetwork
Returns the subset of nodes that are referred to by the list of identifiers
getNodes() - Method in class opendial.datastructs.Graph
Returns the nodes of the graph
getNodesIds(Class<T>) - Method in class opendial.bn.BNetwork
Returns the set of nodes belonging to a certain class (extending BNode)
getNodesToKeep(DialogueState) - Static method in class opendial.modules.StatePruner
Selects the set of variables to retain in the dialogue state.
getOperator() - Method in class opendial.domains.rules.conditions.ComplexCondition
Returns the logical operator for the complex condition
getOutput(Assignment) - Method in class opendial.domains.rules.Rule
Returns the first rule output whose condition matches the input assignment provided as argument.
getOutputMixers() - Static method in class opendial.utils.AudioUtils
Returns the list of all audio mixers whose output is compatible with the audio format OUT.
getOutputNodes() - Method in class opendial.bn.nodes.BNode
Returns the set of output nodes
getOutputNodes(Class<T>) - Method in class opendial.bn.nodes.BNode
Returns the set of output nodes of a certain class
getOutputNodesIds() - Method in class opendial.bn.nodes.BNode
Returns the identifiers for the set of output nodes
getOutputRange() - Method in class opendial.domains.rules.distribs.AnchoredRule
Returns the value range for the output variables
getOutputs() - Method in class opendial.domains.rules.distribs.AnchoredRule
Returns the output variables for the rule
getOutputVariables() - Method in class opendial.domains.rules.effects.Effect
Returns the output variables for the complex effect (including all the output variables for the sub-effects)
getOutputVariables() - Method in class opendial.domains.rules.RuleOutput
Returns the set of output variables for the case, as defined in the effects associated with the case condition.
getPairs() - Method in class opendial.datastructs.Assignment
Returns the pairs of the assignment
getPairs() - Method in class opendial.domains.rules.RuleOutput
Returns the set of (effect,parameters) pairs in the rule case
getParameter(Effect) - Method in class opendial.domains.rules.RuleOutput
Returns the parameter associated with the effect.
getParameterIds() - Method in class opendial.DialogueState
Returns the set of parameter variables in the dialogue state
getParameterIds() - Method in class opendial.domains.rules.Rule
Returns the set of all parameter identifiers employed in the rule
getParameters() - Method in class opendial.domains.Domain
Returns the prior distribution for the domain parameters
getParameters() - Method in class opendial.domains.rules.distribs.AnchoredRule
Returns the set of parameter nodes for the anchored rule
getParameters() - Method in class opendial.domains.rules.RuleOutput
Returns the collection of parameters used in the output
getPossibleConditions() - Method in class opendial.bn.nodes.BNode
Returns the list of possible assignment of input values for the node.
getPosterior(Assignment) - Method in class opendial.bn.distribs.ConditionalTable
Returns the posterior distribution obtained by integrating the (possibly partial) conditional assignment.
getPosterior(Assignment) - Method in interface opendial.bn.distribs.IndependentDistribution
Returns itself.
getPosterior(Assignment) - Method in class opendial.bn.distribs.MarginalDistribution
Returns the posterior distribution given the conditional assignment.
getPosterior(Assignment) - Method in interface opendial.bn.distribs.ProbDistribution
Returns a new probability distribution that is the posterior of the current distribution, given the conditional assignment as argument.
getPosterior(Assignment) - Method in class opendial.domains.rules.distribs.AnchoredRule
Returns the probability table associated with the given input assignment
getPosterior(Assignment) - Method in class opendial.domains.rules.distribs.EquivalenceDistribution
Returns a new equivalence distribution with the conditional assignment as fixed input.
getPosterior(Assignment) - Method in class opendial.domains.rules.distribs.OutputDistribution
Returns the probability table associated with the condition
getPriority() - Method in class opendial.domains.rules.effects.BasicEffect
Returns the rule priority
getProb(Value) - Method in class opendial.bn.distribs.CategoricalTable
Returns the probability P(val).
getProb(Assignment, Value) - Method in class opendial.bn.distribs.ConditionalTable
Returns the probability of the head assignment given the conditional assignment.
getProb(Value) - Method in class opendial.bn.distribs.ContinuousDistribution
Returns the probability of the particular value, based on a discretised representation of the continuous distribution.
getProb(Assignment) - Method in class opendial.bn.distribs.EmpiricalDistribution
Returns the probability of a particular assignment
getProb(Value) - Method in interface opendial.bn.distribs.IndependentDistribution
Returns the probability P(value), if any is specified.
getProb(String) - Method in interface opendial.bn.distribs.IndependentDistribution
Returns the probability P(value), if any is specified.
getProb(boolean) - Method in interface opendial.bn.distribs.IndependentDistribution
Returns the probability P(value), if any is specified.
getProb(double) - Method in interface opendial.bn.distribs.IndependentDistribution
Returns the probability P(value), if any is specified.
getProb(double[]) - Method in interface opendial.bn.distribs.IndependentDistribution
Returns the probability P(value), if any is specified.
getProb(Assignment, Value) - Method in interface opendial.bn.distribs.IndependentDistribution
Returns the probability for the head assignment, if the value can be found in the distribution.
getProb(Assignment, Value) - Method in class opendial.bn.distribs.MarginalDistribution
Returns the probability P(X=head|condition)
getProb(Assignment) - Method in interface opendial.bn.distribs.MultivariateDistribution
Returns the probability of a particular assignment of values.
getProb(Assignment) - Method in class opendial.bn.distribs.MultivariateTable
Returns the probability P(head).
getProb(Assignment, Value) - Method in interface opendial.bn.distribs.ProbDistribution
Returns the probability P(head|condition), if any is specified.
getProb(Value) - Method in class opendial.bn.distribs.SingleValueDistribution
Returns 1.0 if the value is equal to the one in the distribution, and 0.0 otherwise.
getProb(Value) - Method in class opendial.bn.nodes.ActionNode
Returns a probability uniformly distributed on the alternative values.
getProb(Value) - Method in class opendial.bn.nodes.ChanceNode
Returns the probability associated with a specific value, according to the current distribution.
getProb(Assignment, Value) - Method in class opendial.bn.nodes.ChanceNode
Returns the probability associated with the conditional assignment and the node value, if one is defined.
getProb(Assignment, Value) - Method in class opendial.domains.rules.distribs.AnchoredRule
Returns the probability for P(head|condition), where head is an assignment of an output value for the rule node.
getProb(Assignment, Value) - Method in class opendial.domains.rules.distribs.EquivalenceDistribution
Returns the probability of P(head | condition).
getProb(Assignment, Value) - Method in class opendial.domains.rules.distribs.OutputDistribution
Returns the probability associated with the given conditional and head assignments.
getProbDensity(Value) - Method in class opendial.bn.distribs.ContinuousDistribution
Returns the probability density for the given value
getProbDensity(double) - Method in class opendial.bn.distribs.ContinuousDistribution
Returns the probability density for the given value
getProbDensity(double[]) - Method in class opendial.bn.distribs.ContinuousDistribution
Returns the probability density for the given value
getProbDistrib(Assignment) - Method in class opendial.bn.distribs.ConditionalTable
Returns the (unconditional) probability distribution P(X) given the conditional assignment.
getProbDistrib(Assignment) - Method in interface opendial.bn.distribs.IndependentDistribution
Returns itself.
getProbDistrib(Assignment) - Method in class opendial.bn.distribs.MarginalDistribution
Returns the categorical table P(X) given the conditional assignment for the variables Y1,...Yn.
getProbDistrib(Assignment) - Method in interface opendial.bn.distribs.ProbDistribution
Returns the (unconditional) probability distribution associated with the conditional assignment provided as argument.
getProbDistrib(Assignment) - Method in class opendial.domains.rules.distribs.AnchoredRule
 
getProbDistrib(Assignment) - Method in class opendial.domains.rules.distribs.EquivalenceDistribution
Returns the categorical table associated with the conditional assignment.
getProbDistrib(Assignment) - Method in class opendial.domains.rules.distribs.OutputDistribution
Fills the cache with the resulting table for the given condition
getProbEntry(Assignment) - Method in class opendial.inference.exact.DoubleFactor
Returns the probability for the assignment, if it is encoded in the matrix.
getProbTable() - Method in class opendial.inference.exact.DoubleFactor
Returns the probability matrix for the factor
getPruned(Collection<String>) - Method in class opendial.datastructs.Assignment
Returns a prunes version of the assignment, where the the variables given as parameters are pruned out of the assignment
getQueryVars() - Method in class opendial.inference.Query
Returns the query variables.
getRandomsToGenerate() - Method in class opendial.domains.rules.effects.Effect
Returns the slots of the form {randomX}, which are to be replaced by random integers.
getRanking(Assignment, double) - Method in class opendial.bn.distribs.UtilityTable
Returns the ranking of the given input sorted by utility
getRanking(Map<T, Double>, T, double) - Static method in class opendial.utils.InferenceUtils
Returns the ranking of the given assignment in the table, assuming an ordering of the table in descending order.
getRecord() - Method in class opendial.modules.DialogueRecorder
Serialises the XML recordings and returns the output.
getRelation() - Method in class opendial.domains.rules.conditions.BasicCondition
Returns the relation in place for the condition
getRelations() - Method in class opendial.datastructs.Graph.Node
returns the relation labels going out of the node.
getRMS(byte[], AudioFormat) - Static method in class opendial.utils.AudioUtils
Calculate the Root-Mean Square of the audio data
getRoots() - Method in class opendial.datastructs.Graph
Returns the roots of the graph.
getRows() - Method in class opendial.bn.distribs.UtilityTable
Returns the rows of the table
getRule() - Method in class opendial.domains.rules.distribs.AnchoredRule
Returns the rule
getRule(Node) - Static method in class opendial.readers.XMLRuleReader
Extracts the rule corresponding to the XML specification.
getRuleId() - Method in class opendial.domains.rules.Rule
Returns the rule identifier
getRules() - Method in class opendial.domains.Model
Returns the list of rules contained in the model
getRuleType() - Method in class opendial.domains.rules.Rule
Returns the rule type
getSample() - Method in class opendial.DialogueState
Returns a sample of all the variables in the dialogue state
getSamples() - Method in class opendial.bn.distribs.EmpiricalDistribution
Returns the collection of samples.
getSamples() - Method in class opendial.inference.approximate.LikelihoodWeighting
Returns the collected samples
getSettings() - Method in class opendial.DialogueSystem
Returns the settings for the dialogue system.
getSettings() - Method in class opendial.domains.Domain
Returns the domain-specific settings
getShortForm(double) - Static method in class opendial.utils.StringUtils
Returns the string version of the double up to a certain decimal point.
getShownFile() - Method in class opendial.gui.EditorTab
Returns the file currently shown in the editor pane.
getSlots() - Method in class opendial.domains.rules.conditions.BasicCondition
Returns the slots in the variable and value template
getSlots() - Method in class opendial.domains.rules.conditions.ComplexCondition
Returns the list of all slots used in the conditions
getSlots() - Method in interface opendial.domains.rules.conditions.Condition
Returns the labels for the underspecified values in the condition
getSlots() - Method in class opendial.domains.rules.conditions.NegatedCondition
Returns the list of slots in the condition
getSlots() - Method in class opendial.domains.rules.conditions.VoidCondition
Returns an empty list
getSlots() - Method in class opendial.templates.FunctionalTemplate
 
getSlots() - Method in class opendial.templates.RelationalTemplate
Returns the slots in the template
getSlots() - Method in class opendial.templates.StringTemplate
Returns an empty set.
getSlots() - Method in interface opendial.templates.Template
Returns the (possibly empty) set of slots for the template
getSortedNodes() - Method in class opendial.bn.BNetwork
Returns an ordered list of nodes, where the ordering is defined in the compareTo method implemented in BNode.
getSortedNodesIds() - Method in class opendial.bn.BNetwork
Returns the ordered list of node identifiers (see method above).
getSortedQueryVars() - Method in class opendial.inference.Query
Returns the query variables in sorted order (from the base to the leaves)
getSourceFile() - Method in class opendial.domains.Domain
Returns the source file containing the domain specification
getSpecifiedMapping() - Method in class opendial.Settings
 
getState() - Method in class opendial.DialogueSystem
Returns the current dialogue state for the dialogue system.
getState() - Method in class opendial.gui.utils.StateViewer
Returns the Bayesian network currently displayed in the viewer
getStateMonitorTab() - Method in class opendial.gui.utils.StateViewer
Returns the state viewer tab which contains the viewer
getStateViewerTab() - Method in class opendial.gui.GUIFrame
Returns the state viewer tab
getString() - Method in class opendial.bn.values.StringVal
Returns the string itself
getSubEffects() - Method in class opendial.domains.rules.effects.Effect
Returns all the sub-effect included in the complex effect
getSubRange(Set<String>) - Method in class opendial.datastructs.ValueRange
 
getSubValues() - Method in class opendial.bn.values.ArrayVal
Returns the list of double values.
getSubValues() - Method in class opendial.bn.values.BooleanVal
Returns an empty list
getSubValues() - Method in class opendial.bn.values.DoubleVal
Returns an empty list
getSubValues() - Method in class opendial.bn.values.NoneVal
Returns an empty list
getSubValues() - Method in class opendial.bn.values.RelationalVal
Returns the collection of values in the relational structure
getSubValues() - Method in class opendial.bn.values.SetVal
Returns the set of values
getSubValues() - Method in class opendial.bn.values.StringVal
Returns a list of words
getSubValues() - Method in interface opendial.bn.values.Value
If the value is a container for other values, returns the collection of contained values.
getSubValues() - Method in class opendial.datastructs.SpeechData
Returns an empty list
getSubValues() - Method in class opendial.domains.rules.effects.Effect
Returns an empty list
getSystem() - Method in class opendial.gui.GUIFrame
Returns the dialogue system connected to the GUI
getSystem() - Method in class opendial.gui.utils.StateViewer
Returns a pointer to the dialogue system.
getTable() - Method in class opendial.bn.distribs.CategoricalTable
Returns the table of values with their probability.
getTable() - Method in class opendial.bn.distribs.UtilityTable
Returns the table reflecting the estimated utility values for each assignment
getTableFromInput(String) - Static method in class opendial.utils.StringUtils
Returns a table with probabilities from the provided GUI input
getText() - Method in class opendial.gui.EditorTab
Returns the text currently in the editor pane.
getTotalProb() - Method in class opendial.bn.distribs.CategoricalTable.Builder
Returns the total probability in the table
getTriggers() - Method in class opendial.domains.Model
Returns the model triggers
getTrimmed(Collection<String>) - Method in class opendial.datastructs.Assignment
Returns a trimmed version of the assignment, where only the variables given as parameters are considered
getTrimmed(String...) - Method in class opendial.datastructs.Assignment
Returns a trimmed version of the assignment, where only the variables given as parameters are considered
getUtil(Assignment) - Method in interface opendial.bn.distribs.UtilityFunction
Returns the utility associated with the specific assignment of values for the input nodes.
getUtil(Assignment) - Method in class opendial.bn.distribs.UtilityTable
Returns the estimated utility for the given assignment
getUtil(Assignment) - Method in class opendial.domains.rules.distribs.AnchoredRule
Returns the utility for Q(input), where input is the assignment of values for both the chance nodes and the action nodes
getUtility(Assignment) - Method in class opendial.bn.nodes.UtilityNode
Returns the utility associated with the specific assignment on the input variables of the node
getUtility() - Method in class opendial.inference.approximate.Sample
Returns the utility of the sample
getUtilityEntry(Assignment) - Method in class opendial.inference.exact.DoubleFactor
Returns the utility for the assignment, if it is encoded in the matrix.
getUtilityNode(String) - Method in class opendial.bn.BNetwork
Returns the utility node associated with the identifier, if one exists.
getUtilityNodeIds() - Method in class opendial.bn.BNetwork
Returns the collection of utility node identifiers currently in the network
getUtilityNodes() - Method in class opendial.bn.BNetwork
Returns the collection of utility nodes currently in the network
getUtilTable() - Method in class opendial.inference.exact.DoubleFactor
Returns the utility matrix for the factor
getValue(String) - Method in class opendial.datastructs.Assignment
Returns the value associated with the variable in the assignment, if one is specified.
getValue() - Method in class opendial.domains.rules.effects.BasicEffect
Returns the variable value for the basic effect.
getValue(Assignment) - Method in class opendial.domains.rules.parameters.ComplexParameter
Returns the parameter value corresponding to the expression and the assignment of values to the unknown parameters.
getValue() - Method in class opendial.domains.rules.parameters.FixedParameter
Returns the parameter value
getValue(Assignment) - Method in class opendial.domains.rules.parameters.FixedParameter
Returns the parameter value, ignoring the input
getValue(Assignment) - Method in interface opendial.domains.rules.parameters.Parameter
Returns the actual parameter value given the inputs provided as arguments.
getValue(Assignment) - Method in class opendial.domains.rules.parameters.SingleParameter
Returns the actual value for the parameter, as given in the input assignment (as a DoubleVal or ArrayVal).
getValue(Assignment) - Method in class opendial.templates.FunctionalTemplate
 
getValues() - Method in class opendial.bn.distribs.CategoricalTable.Builder
Returns the values included so far in the builder.
getValues() - Method in class opendial.bn.distribs.CategoricalTable
Returns the rows of the table.
getValues() - Method in class opendial.bn.distribs.ConditionalTable
Returns all possible values specified in the table.
getValues() - Method in class opendial.bn.distribs.ContinuousDistribution
Discretises the distribution and returns a set of possible values for it.
getValues() - Method in class opendial.bn.distribs.EmpiricalDistribution
Returns the possible values for the variables of the distribution.
getValues() - Method in interface opendial.bn.distribs.IndependentDistribution
Returns a set of possible values for the distribution.
getValues() - Method in class opendial.bn.distribs.MarginalDistribution
Returns the possible values for X.
getValues() - Method in interface opendial.bn.distribs.MultivariateDistribution
Returns the set of possible assignments for the random variables.
getValues() - Method in class opendial.bn.distribs.MultivariateTable
Returns the rows of the table
getValues() - Method in interface opendial.bn.distribs.ProbDistribution
Returns the set of possible values for the distribution.
getValues() - Method in class opendial.bn.distribs.SingleValueDistribution
Returns a singleton set with the value.
getValues() - Method in class opendial.bn.nodes.ActionNode
Returns the list of values currently listed in the node
getValues() - Method in class opendial.bn.nodes.BNode
Returns the set of distinct values that the node can take.
getValues() - Method in class opendial.bn.nodes.ChanceNode
Returns a discrete set of values for the node.
getValues() - Method in class opendial.bn.nodes.UtilityNode
Returns an empty set (a utility node has no "value", only utilities).
getValues() - Method in class opendial.datastructs.Assignment
Returns all the values contained in the assignment
getValues(List<String>) - Method in class opendial.datastructs.Assignment
Returns the list of values corresponding to a subset of variables in the assignment (in the same order)
getValues(String) - Method in class opendial.datastructs.ValueRange
Returns the set of values for the variable in the range (if defined).
getValues() - Method in class opendial.domains.rules.distribs.AnchoredRule
Returns the possible values for the rule.
getValues() - Method in class opendial.domains.rules.distribs.EquivalenceDistribution
Returns a set of two assignments: one with the value true, and one with the value false.
getValues() - Method in class opendial.domains.rules.distribs.OutputDistribution
Returns the possible outputs values given the input range in the parent nodes (probability rule nodes)
getValues(String) - Method in class opendial.domains.rules.effects.Effect
Returns the set of values specified in the effect for the given variable.
getValues() - Method in class opendial.inference.exact.DoubleFactor
Returns the set of assignments in the factor
getValues(String) - Method in class opendial.inference.exact.DoubleFactor
Returns the set of possible values for the given variable
getValueSlots() - Method in class opendial.domains.rules.effects.Effect
Returns the additional input variables for the complex effect
getValueTemplate() - Method in class opendial.domains.rules.effects.TemplateEffect
Returns the template representation of the variable value
getVariable() - Method in class opendial.bn.distribs.CategoricalTable
Returns the set of variable labels used in the table
getVariable() - Method in class opendial.bn.distribs.ConditionalTable
Returns the name of the random variable
getVariable() - Method in class opendial.bn.distribs.ContinuousDistribution
Returns the variable label
getVariable() - Method in class opendial.bn.distribs.MarginalDistribution
Returns the variable X.
getVariable() - Method in interface opendial.bn.distribs.ProbDistribution
Returns the name of the random variable
getVariable() - Method in class opendial.bn.distribs.SingleValueDistribution
Returns the variable label
getVariable() - Method in class opendial.domains.rules.conditions.BasicCondition
Returns the variable label for the basic condition
getVariable() - Method in class opendial.domains.rules.distribs.AnchoredRule
Returns the label of the anchored rule
getVariable() - Method in class opendial.domains.rules.distribs.EquivalenceDistribution
Returns the identifier for the equivalence distribution
getVariable() - Method in class opendial.domains.rules.distribs.OutputDistribution
Returns a singleton set with the label of the output
getVariable() - Method in class opendial.domains.rules.effects.BasicEffect
Returns the variable label for the basic effect
getVariables() - Method in class opendial.bn.distribs.EmpiricalDistribution
Returns the head variables for the distribution.
getVariables() - Method in interface opendial.bn.distribs.MultivariateDistribution
Returns the names of the random variables in the distribution
getVariables() - Method in class opendial.bn.distribs.MultivariateTable
Returns the set of variable labels used in the table
getVariables() - Method in class opendial.datastructs.Assignment
Returns the list of variables used
getVariables() - Method in class opendial.datastructs.MathExpression
Returns the unknown variable labels in the expression
getVariables() - Method in class opendial.datastructs.ValueRange
Returns the set of variables with a non-empty range of values
getVariables() - Method in class opendial.domains.rules.parameters.ComplexParameter
Returns the list of unknown parameter variables
getVariables() - Method in class opendial.domains.rules.parameters.FixedParameter
Returns an empty set
getVariables() - Method in interface opendial.domains.rules.parameters.Parameter
Returns the (possibly empty) set of parameter identifiers used in the parameter object.
getVariables() - Method in class opendial.domains.rules.parameters.SingleParameter
Returns a singleton with the parameter label
getVariables() - Method in class opendial.inference.exact.DoubleFactor
Returns the set of variables used in the assignment.
getVariableTemplate() - Method in class opendial.domains.rules.effects.TemplateEffect
Returns the template representation of the variable label
getVariance() - Method in interface opendial.bn.distribs.densityfunctions.DensityFunction
Returns the variance of the density function.
getVariance() - Method in class opendial.bn.distribs.densityfunctions.DirichletDensityFunction
Returns the variance of the Dirichlet.
getVariance() - Method in class opendial.bn.distribs.densityfunctions.DiscreteDensityFunction
Returns the variance of the distribution (calculated like for a categorical distribution)
getVariance() - Method in class opendial.bn.distribs.densityfunctions.GaussianDensityFunction
Returns the variance of the Gaussian.
getVariance() - Method in class opendial.bn.distribs.densityfunctions.KernelDensityFunction
Returns the variance of the KDE.
getVariance() - Method in class opendial.bn.distribs.densityfunctions.UniformDensityFunction
Returns the variance of the distribution
getVector() - Method in class opendial.bn.values.ArrayVal
Returns a vector with the elements of the array
getViewFactory() - Method in class opendial.gui.utils.DomainEditorKit
Returns the view factory
getVolume() - Method in class opendial.modules.AudioModule
Returns the current volume for the recording.
getVolume(double, int) - Static method in class opendial.utils.MathUtils
Returns the volume of an N-ball of a certain radius.
getWeight() - Method in class opendial.domains.rules.effects.BasicEffect
Returns the effect weight
getWeight() - Method in class opendial.inference.approximate.Sample
Returns the sample weight (exponentiated value, not the logarithmic one!)
getXMLDocument(String) - Static method in class opendial.utils.XMLUtils
Opens the XML document referenced by the filename, and returns it
getXMLDocument(InputSource) - Static method in class opendial.utils.XMLUtils
Opens the XML document referenced by the input source, and returns it
Graph<V,R> - Class in opendial.datastructs
Representation of a relational structure as a directed acyclic graph.
Graph() - Constructor for class opendial.datastructs.Graph
Constructs an empty graph
Graph(String) - Constructor for class opendial.datastructs.Graph
Constructs a graph from a string
Graph.Node - Class in opendial.datastructs
Representation of an individual node, with a content, optional attributes and outgoing relations.
GRID_SIZE - Static variable in class opendial.modules.examples.ModuleExample1
 
ground(Assignment) - Method in class opendial.domains.rules.effects.BasicEffect
Returns itself.
ground(Assignment) - Method in class opendial.domains.rules.effects.Effect
Grounds the effect with the given assignment.
ground(Assignment) - Method in class opendial.domains.rules.effects.TemplateEffect
Ground the slots in the effect variable and value (given the assignment) and returns the resulting effect.
ground(Assignment) - Method in class opendial.domains.rules.parameters.ComplexParameter
Grounds the parameter by assigning the values in the assignment to the unknown variables
ground(Assignment) - Method in class opendial.domains.rules.RuleOutput
Returns a grounded version of the rule output, based on the grounding assignment.
GUIFrame - Class in opendial.gui
Main GUI frame for the OpenDial toolkit, encompassing various tabs and menus to control the application
GUIFrame(DialogueSystem) - Constructor for class opendial.gui.GUIFrame
Constructs (but does not yet display) a new GUI frame for OpenDial.
GUIMenuBar - Class in opendial.gui
Menu bar for the GUI.
GUIMenuBar(GUIFrame) - Constructor for class opendial.gui.GUIMenuBar
Creates the menu bar for the frame.

H

handlePopup(MouseEvent) - Method in class opendial.gui.utils.PopupHandler
Creates the popup with relevant action items
hasActionNode(String) - Method in class opendial.bn.BNetwork
Returns true if the network contains an action node with the given identifier, and false otherwise
hasAncestor(Set<String>) - Method in class opendial.bn.nodes.BNode
Returns true if at least one of the variables given as argument is an ancestor of this node, and false otherwise
hasAssignment(Assignment) - Method in class opendial.inference.exact.DoubleFactor
Returns true if the factor contains the assignment, and false otherwise
hasChanceNode(String) - Method in class opendial.bn.BNetwork
Returns true if the network contains a chance node with the given identifier, and false otherwise
hasChanceNodes(Collection<String>) - Method in class opendial.bn.BNetwork
Returns true if the network contains chance nodes for all the given identifiers, and false otherwise
hasContent(Node) - Static method in class opendial.utils.XMLUtils
Returns true if the node has some actual content (other than a comment or an empty text).
hasDescendant(Set<String>) - Method in class opendial.bn.nodes.BNode
Returns true if at least one of the variables given as argument is a descendant of this node, and false otherwise
hasDescendant(Pattern) - Method in class opendial.bn.nodes.BNode
Returns true if at there exists at least one descendant whose identifier matches the regular expression pattern, and false otherwise
hashCode() - Method in class opendial.bn.BNetwork
Returns the hashcode for the network, defined as the hashcode for the node identifiers in the network.
hashCode() - Method in class opendial.bn.distribs.CategoricalTable
Returns the hashcode for the table.
hashCode() - Method in class opendial.bn.distribs.ConditionalTable
Returns the hashcode for the table.
hashCode() - Method in class opendial.bn.distribs.densityfunctions.DirichletDensityFunction
Returns the hashcode for the distribution.
hashCode() - Method in class opendial.bn.distribs.densityfunctions.DiscreteDensityFunction
Returns the hashcode for the function
hashCode() - Method in class opendial.bn.distribs.densityfunctions.GaussianDensityFunction
Returns the hashcode for the density function
hashCode() - Method in class opendial.bn.distribs.densityfunctions.KernelDensityFunction
Returns the hashcode for the function
hashCode() - Method in class opendial.bn.distribs.densityfunctions.UniformDensityFunction
Returns the hashcode for the function
hashCode() - Method in class opendial.bn.distribs.MultivariateTable
Returns the hashcode for the table.
hashCode() - Method in class opendial.bn.distribs.SingleValueDistribution
Returns the distribution's hashcode
hashCode() - Method in class opendial.bn.distribs.UtilityTable
Returns the hashcode for the utility table
hashCode() - Method in class opendial.bn.nodes.ActionNode
Returns the hashcode corresponding to the action node
hashCode() - Method in class opendial.bn.nodes.BNode
Returns the hashcode, simply defined as the hashcode of the identifier
hashCode() - Method in class opendial.bn.nodes.ChanceNode
Returns the hashcode for the node (based on the hashcode of the identifier and the distribution).
hashCode() - Method in class opendial.bn.nodes.UtilityNode
Returns the hashcode for the value, computed from the node identifier and the distribution
hashCode() - Method in class opendial.bn.values.ArrayVal
Returns the hashcode for the array
hashCode() - Method in class opendial.bn.values.BooleanVal
Returns the hashcode of the boolean
hashCode() - Method in class opendial.bn.values.DoubleVal
Returns the hashcode for the double
hashCode() - Method in class opendial.bn.values.NoneVal
Returns a hashcode for the value
hashCode() - Method in class opendial.bn.values.SetVal
Returns the hashcode for the list
hashCode() - Method in class opendial.bn.values.StringVal
Returns the hashcode for the string
hashCode() - Method in interface opendial.bn.values.Value
Returns the hash code for the value
hashCode() - Method in class opendial.datastructs.Assignment
Returns the hashcode associated with the assignment.
hashCode() - Method in class opendial.datastructs.Graph
Returns the hashcode for the graph
hashCode() - Method in class opendial.datastructs.Graph.Node
Returns the hashcode for the node
hashCode() - Method in class opendial.datastructs.MathExpression
Returns the hashcode for the expression
hashCode() - Method in class opendial.datastructs.SpeechData
Returns a fixed number (32).
hashCode() - Method in class opendial.datastructs.ValueRange
Returns the hashcode for the range of values
hashCode() - Method in class opendial.DialogueState
Returns the hashcode for the dialogue state
hashCode() - Method in class opendial.domains.Model
Returns the hashcode for the model
hashCode() - Method in class opendial.domains.rules.conditions.BasicCondition
Returns the hashcode for the condition
hashCode() - Method in class opendial.domains.rules.conditions.ComplexCondition
Returns the hashcode for the condition
hashCode() - Method in class opendial.domains.rules.conditions.NegatedCondition
Returns the hashcode for the condition
hashCode() - Method in class opendial.domains.rules.conditions.VoidCondition
Returns a constant representing the hashcode for the void condition
hashCode() - Method in class opendial.domains.rules.effects.BasicEffect
Returns the hashcode for the basic effect
hashCode() - Method in class opendial.domains.rules.effects.Effect
Returns the hashcode for the complex effect
hashCode() - Method in class opendial.domains.rules.effects.TemplateEffect
Returns the hashcode for the basic effect
hashCode() - Method in class opendial.domains.rules.parameters.ComplexParameter
Returns the hashcode for the parameter
hashCode() - Method in class opendial.domains.rules.parameters.FixedParameter
Returns the hashcode for the fixed parameter
hashCode() - Method in class opendial.domains.rules.parameters.SingleParameter
Returns the hashcode for the parameter
hashCode() - Method in class opendial.domains.rules.Rule
Returns the hashcode for the rule
hashCode() - Method in class opendial.domains.rules.RuleGrounding
Returns the hashcode of the set of alternative assignments
hashCode() - Method in class opendial.domains.rules.RuleOutput
Returns the hashcode for the case
hashcode() - Method in class opendial.inference.approximate.Sample
 
hashCode() - Method in class opendial.inference.Query
Returns the hashcode for the query
hashCode() - Method in class opendial.templates.FunctionalTemplate
 
hashCode() - Method in class opendial.templates.StringTemplate
Returns the hashcode for the string.
hashCode() - Method in class opendial.templates.Template.MatchResult
 
hasInputNode(String) - Method in class opendial.bn.nodes.BNode
Returns true if the node contains an input node identified by the given id, and false otherwise.
hasNode(String) - Method in class opendial.bn.BNetwork
Returns true if the network contains a node with the given identifier
hasOutputNode(String) - Method in class opendial.bn.nodes.BNode
Returns true if the node contains an output node identified by the given id, and false otherwise.
hasOutputNode(Set<String>) - Method in class opendial.bn.nodes.BNode
Returns true if the node has at least one output node in the set of identifiers provided as argument
hasProb(Value) - Method in class opendial.bn.distribs.CategoricalTable
returns true if the table contains a probability for the given assignment
hasProb(Assignment) - Method in class opendial.bn.distribs.MultivariateTable
returns true if the table contains a probability for the given assignment
hasUtilityNode(String) - Method in class opendial.bn.BNetwork
Returns true if the network contains a utility node with the given identifier, and false otherwise
horizon - Variable in class opendial.Settings
Planning horizon

I

ICON_PATH - Static variable in class opendial.gui.GUIFrame
 
idCounter - Static variable in class opendial.domains.Model
 
importContent(String) - Method in class opendial.gui.GUIFrame
Imports a dialogue state or prior parameter distributions.
importContent(DialogueSystem, String, String) - Static method in class opendial.utils.XMLUtils
Imports a dialogue state or prior parameter distributions.
importDialogue(String) - Method in class opendial.DialogueSystem
Imports the dialogue specified in the provided file.
importInteraction(boolean) - Method in class opendial.gui.GUIFrame
Imports a previous interaction.
incrementEntry(Assignment, double, double) - Method in class opendial.inference.exact.DoubleFactor
Increment the entry with new probability and utility values
incrementRow(Value, double) - Method in class opendial.bn.distribs.CategoricalTable.Builder
Increments the probability specified in the table for the given head assignment.
incrementRow(Assignment, Value, double) - Method in class opendial.bn.distribs.ConditionalTable.Builder
Increments the probability specified in the table for the given condition and head assignments.
incrementRow(Assignment, double) - Method in class opendial.bn.distribs.MultivariateTable.Builder
Increments the probability specified in the table for the given head assignment.
incrementUtil(Assignment, double) - Method in class opendial.bn.distribs.UtilityTable
Adds a new utility value to the estimated table
IndependentDistribution - Interface in opendial.bn.distribs
Representation of an unconditional probability distribution P(X), where X is a random variable.
InferenceAlgorithm - Interface in opendial.inference
Generic interface for probabilistic inference algorithms.
InferenceUtils - Class in opendial.utils
Utility functions for inference operations.
InferenceUtils() - Constructor for class opendial.utils.InferenceUtils
 
inputMixer - Variable in class opendial.Settings
(When relevant) Which audio mixer to use for speech recognition
inputNodes - Variable in class opendial.bn.nodes.BNode
 
install(JEditorPane) - Method in class opendial.gui.utils.DomainEditorKit
Installs the editor for the kit.
InteractionTab - Class in opendial.gui
GUI tab for the interaction tab.
InteractionTab(DialogueSystem) - Constructor for class opendial.gui.InteractionTab
Start up the window
intersect(Assignment) - Method in class opendial.datastructs.Assignment
Returns the intersection of the two assignments
intersectRange(ValueRange) - Method in class opendial.datastructs.ValueRange
Intersects the range with the existing one (only retains the values defined in both ranges).
Intervals<T> - Class in opendial.inference.approximate
Representation of a collection of intervals, each of which is associated with a content object, and start and end values.
Intervals(Map<T, Double>) - Constructor for class opendial.inference.approximate.Intervals
Creates a new interval collection with a set of (content,probability) pairs
Intervals(Collection<T>, Function<T, Double>) - Constructor for class opendial.inference.approximate.Intervals
Creates a new interval collection with a collection of values and a function specifying the probability of each value
invertedRole - Variable in class opendial.Settings
whether the role of user and system are inverted
isBlocking() - Method in class opendial.domains.Model
Returns true if the model is set in "blocking" mode and false otherwise.
isClique(Set<String>) - Method in class opendial.bn.BNetwork
Returns true if the subset of node identifiers correspond to a maximal clique in the network, and false otherwise
isDefault() - Method in class opendial.datastructs.Assignment
Returns true if the assignment only contains none values for all variables, and false if at least one has a different value.
isDelimited(String, int, int) - Static method in class opendial.utils.StringUtils
 
isDelimiter(char) - Static method in class opendial.utils.StringUtils
 
isDomainSaved() - Method in class opendial.gui.GUIFrame
Returns true if the domain in the domain specification in the editor pane has been saved (or has not been modified), and false otherwise
isEmpty() - Method in class opendial.bn.distribs.CategoricalTable.Builder
Returns whether the current table is empty or not
isEmpty() - Method in class opendial.bn.distribs.CategoricalTable
Returns true if the table is empty (or contains only a default assignment), false otherwise
isEmpty() - Method in class opendial.bn.distribs.MultivariateTable
Returns true if the table is empty (or contains only a default assignment), false otherwise
isEmpty() - Method in class opendial.bn.values.RelationalVal
Returns true if the structure does not contain any nodes, else false.
isEmpty() - Method in class opendial.bn.values.SetVal
 
isEmpty() - Method in class opendial.datastructs.Assignment
Returns whether the assignment is empty.
isEmpty() - Method in class opendial.datastructs.ValueRange
Returns true if the range is empty (contains no variables).
isEmpty() - Method in class opendial.domains.Domain
Returns true if the domain is empty
isEmpty() - Method in class opendial.domains.rules.RuleGrounding
Returns true if the groundings are empty, false otherwise
isEmpty() - Method in class opendial.inference.approximate.Intervals
Returns true is the interval is empty (no elements), false otherwise
isEmpty() - Method in class opendial.inference.exact.DoubleFactor
Returns true if the factor is empty, e.g. either really empty, or containing only empty assignments.
isExclusive() - Method in class opendial.domains.rules.effects.BasicEffect
Returns true if the effect allows only one distinct value for the variable (default case) and false otherwise
isFailed() - Method in class opendial.domains.rules.RuleGrounding
 
isFilledBy(Assignment) - Method in class opendial.templates.FunctionalTemplate
 
isFilledBy(Assignment) - Method in class opendial.templates.RelationalTemplate
Returns true if all slots are filled by the assignment, else returns false.
isFilledBy(Assignment) - Method in class opendial.templates.StringTemplate
Returns true.
isFilledBy(Assignment) - Method in interface opendial.templates.Template
Returns true if the provided variables cover all of the slots in the template.
isFinal() - Method in class opendial.datastructs.SpeechData
Returns true if the speech data is final, false otherwise
isFunction(String) - Static method in class opendial.Settings
 
isIncremental(String) - Method in class opendial.DialogueState
Returns true if the given variable is in incremental mode, false otherwise
isLower(double[], double[]) - Static method in class opendial.utils.MathUtils
Returns true is all elements in the array a have a lower value than the corresponding elements in the array b
isMatching() - Method in class opendial.templates.Template.MatchResult
 
isNegated() - Method in class opendial.domains.rules.effects.BasicEffect
Returns true is the effect is negated and false otherwise.
isNonExclusive(String) - Method in class opendial.domains.rules.effects.Effect
Returns true if all of the included effects for the variable are not mutually exclusive (allowing multiple values).
isPaused() - Method in class opendial.DialogueSystem
Returns true is the system is paused, and false otherwise
isRelational(String) - Static method in class opendial.datastructs.Graph
Returns true if the string represents a relational structure, else false.
isRelevant() - Method in class opendial.domains.rules.distribs.AnchoredRule
Returns true if the anchored rule is relevant (that is, it at least one matching rule case is non-empty), and false otherwise.
isRunning() - Method in class opendial.gui.GUIFrame
Returns true if the GUI is started and not paused, and false otherwise.
isRunning() - Method in class opendial.gui.TextOnlyInterface
Returns true if the interface is running, and false otherwise.
isRunning() - Method in class opendial.modules.AudioModule
Returns true if the recorder is currently running, and false otherwise
isRunning() - Method in class opendial.modules.DialogueRecorder
Returns true if the module is running, and false otherwise.
isRunning() - Method in class opendial.modules.examples.FlightBookingExample
Returns whether the module is currently running or not.
isRunning() - Method in class opendial.modules.examples.ModuleExample1
Returns true is the module is not paused, and false otherwise.
isRunning() - Method in class opendial.modules.examples.ModuleExample2
Returns true is the module is not paused, and false otherwise.
isRunning() - Method in class opendial.modules.examples.WizardControl
Returns true.
isRunning() - Method in class opendial.modules.ForwardPlanner
Returns true if the planner is not paused.
isRunning() - Method in class opendial.modules.learning.RewardLearner
Returns true.
isRunning() - Method in class opendial.modules.learning.Simulator
Returns true if the system is not paused, and false otherwise
isRunning() - Method in class opendial.modules.learning.SocialLearner
 
isRunning() - Method in class opendial.modules.learning.WizardLearner
 
isRunning() - Method in interface opendial.modules.Module
Returns true if the module is running (i.e. started and not paused), and false otherwise
isRunning() - Method in class opendial.modules.RemoteConnector
Returns true if the system is running, and false otherwise
isRunning() - Method in class opendial.plugins.MaltParser
Returns true if the module is running, and false otherwise.
isRunning() - Method in class opendial.plugins.MaryTTS
Returns true if the engine is currently active (not paused), and false otherwise.
isRunning() - Method in class opendial.plugins.NuanceSpeech
Returns true if the plugin has been started and is not paused.
isRunning() - Method in class opendial.plugins.SphinxASR
Returns true if the module is currently running (= if it has been started and is not paused).
isSatisfiedBy(Assignment) - Method in class opendial.domains.rules.conditions.BasicCondition
Returns true if the condition is satisfied by the value assignment provided as argument, and false otherwise This method uses an external ConditionCheck object to ease the process.
isSatisfiedBy(Assignment) - Method in class opendial.domains.rules.conditions.ComplexCondition
Returns true if the complex condition is satisfied by the input assignment, and false otherwise.
isSatisfiedBy(Assignment) - Method in interface opendial.domains.rules.conditions.Condition
Returns true if the condition is satisfied for the given assignment, and false otherwise
isSatisfiedBy(Assignment) - Method in class opendial.domains.rules.conditions.NegatedCondition
Returns true if the condition to negate is *not* satisfied, and false if it is satisfied
isSatisfiedBy(Assignment) - Method in class opendial.domains.rules.conditions.VoidCondition
Returns true (condition is always trivially satisfied)
isSpeechEnabled() - Method in class opendial.gui.GUIFrame
Returns whether the speech recording functionality if enabled in the GUI
isTriggered(DialogueState, Collection<String>) - Method in class opendial.domains.Model
Returns true if the model is triggered by the updated variables.
isTriggered(Collection<String>) - Method in class opendial.domains.Model
Returns true if the model is triggered by the updated variables.
isUnderspecified() - Method in class opendial.templates.FunctionalTemplate
 
isUnderspecified() - Method in class opendial.templates.RelationalTemplate
Returns true
isUnderspecified() - Method in class opendial.templates.StringTemplate
Returns false.
isUnderspecified() - Method in interface opendial.templates.Template
Returns true if the template is an actual template, i.e. can match multiple values (due to slots or alternative/optional elements)
isVoid() - Method in class opendial.domains.rules.RuleOutput
Returns true if the case is void (empty or with a single void effect)
isWellFormed() - Method in class opendial.bn.distribs.CategoricalTable.Builder
Returns true if the probability table is well-formed.
isWellFormed() - Method in class opendial.bn.distribs.ConditionalTable.Builder
Returns true if the probability table is well-formed.
isWellFormed() - Method in class opendial.bn.distribs.MultivariateTable.Builder
Returns true if the probability table is well-formed.

J

join(Collection<? extends Object>, String) - Static method in class opendial.utils.StringUtils
Joins the string elements into a single string where the elements are joined by a specific string.

K

KernelDensityFunction - Class in opendial.bn.distribs.densityfunctions
Density function represented as a Gaussian kernel of data points.
KernelDensityFunction(double[][]) - Constructor for class opendial.bn.distribs.densityfunctions.KernelDensityFunction
Creates a new kernel density function with the given points
KernelDensityFunction(Collection<double[]>) - Constructor for class opendial.bn.distribs.densityfunctions.KernelDensityFunction
Creates a new kernel density function with the given points
keyPressed(KeyEvent) - Method in class opendial.gui.utils.DomainEditorKit
Reacts to pressed keys (returns and tabs).
keyReleased(KeyEvent) - Method in class opendial.gui.utils.DomainEditorKit
Does nothing
keyTyped(KeyEvent) - Method in class opendial.gui.utils.DomainEditorKit
Reacts to typed keys (closing brackets and empty spaces).

L

learnFromWizardAction(Assignment) - Method in class opendial.modules.learning.WizardLearner
Updates the domain parameters given the wizard action selected at the provided dialogue state, and returns the list of updated parameters.
length() - Method in class opendial.bn.values.ArrayVal
Returns the array length
length() - Method in class opendial.bn.values.BooleanVal
Returns 1
length() - Method in class opendial.bn.values.DoubleVal
Returns 1
length() - Method in class opendial.bn.values.NoneVal
Returns 0
length() - Method in class opendial.bn.values.RelationalVal
Returns the number of nodes in the graph.
length() - Method in class opendial.bn.values.SetVal
Returns the set length
length() - Method in class opendial.bn.values.StringVal
Returns the string length
length() - Method in interface opendial.bn.values.Value
Returns the length of the value
length() - Method in class opendial.datastructs.SpeechData
Returns the duration of the audio data (in milliseconds)
length() - Method in class opendial.domains.rules.effects.Effect
Returns the number of basic effects
LikelihoodWeighting - Class in opendial.inference.approximate
Sampling process (based on likelihood weighting) for a particular query.
LikelihoodWeighting(Query, int, long) - Constructor for class opendial.inference.approximate.LikelihoodWeighting
Creates a new sampling query with the given arguments and starts sampling (using parallel streams).
linearise() - Method in class opendial.datastructs.ValueRange
Extracts all alternative assignments of values for the variables in the range.
loadXMLFromString(String) - Static method in class opendial.utils.XMLUtils
 
log - Static variable in class opendial.bn.distribs.ConditionalTable
 
log - Static variable in class opendial.bn.distribs.ContinuousDistribution
 
log - Static variable in class opendial.bn.distribs.densityfunctions.DirichletDensityFunction
 
log - Static variable in class opendial.bn.distribs.densityfunctions.DiscreteDensityFunction
 
log - Static variable in class opendial.bn.distribs.densityfunctions.GaussianDensityFunction
 
log - Static variable in class opendial.bn.distribs.densityfunctions.KernelDensityFunction
 
log - Static variable in class opendial.bn.distribs.densityfunctions.UniformDensityFunction
 
log - Static variable in class opendial.bn.distribs.EmpiricalDistribution
 
log - Static variable in interface opendial.bn.distribs.IndependentDistribution
 
log - Static variable in class opendial.bn.distribs.MarginalDistribution
 
log - Static variable in class opendial.domains.rules.distribs.EquivalenceDistribution
 
log - Static variable in class opendial.domains.rules.parameters.SingleParameter
 
log - Static variable in class opendial.gui.utils.PopupHandler
 
log - Static variable in class opendial.modules.examples.FlightBookingExample
 
log - Static variable in interface opendial.templates.Template
 
LogisticFunction() - Constructor for class opendial.utils.MathUtils.LogisticFunction
 

M

main(String[]) - Static method in class opendial.DialogueSystem
Starts the dialogue system.
MaltParser - Class in opendial.plugins
Plugin module to perform grammatical analysis of the user inputs via: Part-of-speech tagging with the Stanford tagger (http://nlp.stanford.edu/software/tagger.shtml) Dependency parsing with the Maltparser (http:www.maltparser.org) The module requires two parameters to be set: a parameter "taggingmodel" referring to the file containing the POS-tagger model, and a parameter "parsingmodel" referring to the file containing the Maltparser parsing model.
MaltParser(DialogueSystem) - Constructor for class opendial.plugins.MaltParser
Creates a new module connected to the dialogue system.
map - Variable in class opendial.datastructs.Assignment
 
MarginalDistribution - Class in opendial.bn.distribs
Representation of a probability distribution P(X|Y1,...Yn) by way of two distributions: a distribution P(X|Y1,...Yn, Z1,...Zm) a distribution P(Z1,...Zm) The probability P(X|Y1,...Yn) can be straightforwardly calculated by marginalising out the variables Z1,...Zm.
MarginalDistribution(ProbDistribution, MultivariateDistribution) - Constructor for class opendial.bn.distribs.MarginalDistribution
Creates a new marginal distribution given the two component distributions.
MarginalDistribution(ProbDistribution, Assignment) - Constructor for class opendial.bn.distribs.MarginalDistribution
Creates a new marginal distribution given the first distributions and the value assignment (corresponding to a distribution P(Z1,...Zm) where the provided assignment has a probability 1.0).
MarginalDistribution(ProbDistribution, CategoricalTable) - Constructor for class opendial.bn.distribs.MarginalDistribution
Creates a new marginal distribution given the first distribution and the categorical table P(Z).
MaryTTS - Class in opendial.plugins
Plugin for the Mary Text-to-Speech engine (cf. http://mary.dfki.de for details).
MaryTTS(DialogueSystem) - Constructor for class opendial.plugins.MaryTTS
Creates a new module connecting the dialogue system to the Mary text-to-speech engine.
match(String) - Method in class opendial.templates.FunctionalTemplate
 
match(String) - Method in class opendial.templates.RelationalTemplate
Returns the result of a full match between the template and the string.
match(String) - Method in class opendial.templates.StringTemplate
Returns a match result if the provided value is identical to the string template.
match(String) - Method in interface opendial.templates.Template
Checks whether the string is matching the template or not.
MathExpression - Class in opendial.datastructs
Representation of a mathematical expression whose value can be evaluated.
MathExpression(String) - Constructor for class opendial.datastructs.MathExpression
Creates a new mathematical expression from the string
MathExpression(MathExpression) - Constructor for class opendial.datastructs.MathExpression
Creates a new mathematical expression that is a copy from another one
MathUtils - Class in opendial.utils
Math utilities.
MathUtils() - Constructor for class opendial.utils.MathUtils
 
MathUtils.DotProduct - Class in opendial.utils
 
MathUtils.LogisticFunction - Class in opendial.utils
 
MAX_BRANCHING_FACTOR - Static variable in class opendial.inference.SwitchingAlgorithm
 
MAX_NBVALUES - Static variable in class opendial.inference.SwitchingAlgorithm
 
maxSamplingTime - Static variable in class opendial.Settings
maximum sampling time (in milliseconds)
merge(Graph<V, R>.Node) - Method in class opendial.datastructs.Graph.Node
Merges the node with another one (if two values are incompatible, the content of the other node takes precedence).
MIN_DURATION - Static variable in class opendial.modules.AudioModule
Minimum duration for a sound to be considered as possible speech (in milliseconds)
MIN_OBSERVATION_PROB - Static variable in class opendial.modules.ForwardPlanner
Minimum probability for the generated observations
Model - Class in opendial.domains
Representation of a rule model -- that is, a collection of rules of identical types (prediction, decision or update), associated with a trigger on specific variables.
Model() - Constructor for class opendial.domains.Model
Creates a new model, with initially no trigger and an empty list of rules
modifyVariableId(String, String) - Method in class opendial.bn.BNetwork
Modifies the node identifier in the Bayesian Network
modifyVariableId(String, String) - Method in class opendial.bn.distribs.CategoricalTable
Modifies the distribution table by replace the old variable identifier by the new one
modifyVariableId(String, String) - Method in class opendial.bn.distribs.ConditionalTable
Modifies the distribution table by replace the old variable identifier by the new one
modifyVariableId(String, String) - Method in class opendial.bn.distribs.ContinuousDistribution
Modifies the variable label
modifyVariableId(String, String) - Method in class opendial.bn.distribs.EmpiricalDistribution
Replace a variable label by a new one
modifyVariableId(String, String) - Method in class opendial.bn.distribs.MarginalDistribution
Modifies the variable identifier in the two distributions.
modifyVariableId(String, String) - Method in interface opendial.bn.distribs.MultivariateDistribution
Modifies the variable identifier in the distribution
modifyVariableId(String, String) - Method in class opendial.bn.distribs.MultivariateTable
Modifies the variable identifiers.
modifyVariableId(String, String) - Method in interface opendial.bn.distribs.ProbDistribution
Changes the variable name in the distribution
modifyVariableId(String, String) - Method in class opendial.bn.distribs.SingleValueDistribution
Modifies the variable label
modifyVariableId(String, String) - Method in interface opendial.bn.distribs.UtilityFunction
Changes the variable label
modifyVariableId(String, String) - Method in class opendial.bn.distribs.UtilityTable
Modifies a variable label with a new one
modifyVariableId(String, String) - Method in class opendial.bn.nodes.BNode
Replaces the identifier for the input and output nodes with the new identifier
modifyVariableId(String, String) - Method in class opendial.bn.nodes.ChanceNode
 
modifyVariableId(String, String) - Method in class opendial.domains.rules.distribs.AnchoredRule
Does nothing.
modifyVariableId(String, String) - Method in class opendial.domains.rules.distribs.EquivalenceDistribution
Replaces occurrences of the old variable identifier oldId with the new identifier newId.
modifyVariableId(String, String) - Method in class opendial.domains.rules.distribs.OutputDistribution
Modifies the label of the output variable.
Module - Interface in opendial.modules
Representation of a system module.
ModuleExample1 - Class in opendial.modules.examples
Simple example of a synchronous module for the domain specified in domains/examples/example-step-by-step.xml.
ModuleExample1(DialogueSystem) - Constructor for class opendial.modules.examples.ModuleExample1
 
ModuleExample2 - Class in opendial.modules.examples
Simple example of an asynchronous module for the domain specified in domains/examples/example-step-by-step.xml.
ModuleExample2(DialogueSystem) - Constructor for class opendial.modules.examples.ModuleExample2
Creates the example module.
modules - Variable in class opendial.DialogueSystem
 
modules - Variable in class opendial.Settings
Domain-specific modules to run
mouseClicked(MouseEvent) - Method in class opendial.gui.SpeechInputPanel
 
mouseEntered(MouseEvent) - Method in class opendial.gui.SpeechInputPanel
 
mouseExited(MouseEvent) - Method in class opendial.gui.SpeechInputPanel
 
mousePressed(MouseEvent) - Method in class opendial.gui.SpeechInputPanel
Starts the recording
mouseReleased(MouseEvent) - Method in class opendial.gui.SpeechInputPanel
Stops the recording, and trigger the dialogue system if it is above the minimum recording time.
MultivariateDistribution - Interface in opendial.bn.distribs
Representation of a multivariate probability distribution P(X1,...Xn), where X1,...Xn are random variables.
MultivariateTable - Class in opendial.bn.distribs
Representation of a multivariate categorical table P(X1,...Xn), where X1,...Xn are random variables.
MultivariateTable(Set<String>, Map<Assignment, Double>) - Constructor for class opendial.bn.distribs.MultivariateTable
Constructs a new probability table with a mapping between head variable assignments and probability values.
MultivariateTable(CategoricalTable) - Constructor for class opendial.bn.distribs.MultivariateTable
Constructs a new multivariate table from a univariate table.
MultivariateTable(Assignment) - Constructor for class opendial.bn.distribs.MultivariateTable
Create a categorical table with a unique value with probability 1.0.
MultivariateTable.Builder - Class in opendial.bn.distribs
Builder for the multivariate table.

N

NaiveInference - Class in opendial.inference.exact
Algorithm for naive probabilistic inference, based on computing the full joint distribution, and then summing everything.
NaiveInference() - Constructor for class opendial.inference.exact.NaiveInference
 
NB_BEST_ACTIONS - Static variable in class opendial.modules.ForwardPlanner
Maximum number of actions to consider at each planning step
NB_BEST_OBSERVATIONS - Static variable in class opendial.modules.ForwardPlanner
Maximum number of alternative observations to consider at each planning step
NBEST - Static variable in class opendial.plugins.SphinxASR
Maximum number of recognition results (only when using a language model)
nbSamples - Variable in class opendial.inference.approximate.SamplingAlgorithm
 
nbSamples - Static variable in class opendial.Settings
maximum number of samples to use for likelihood weighting
NegatedCondition - Class in opendial.domains.rules.conditions
Negated condition, which is satisfied when the included condition is not.
NegatedCondition(Condition) - Constructor for class opendial.domains.rules.conditions.NegatedCondition
Creates a new negated condition with the condition provided as argument
negative - Static variable in class opendial.modules.learning.SocialLearner
 
newDomain() - Method in class opendial.gui.GUIFrame
Creates a new domain
newDomain(File) - Method in class opendial.gui.GUIFrame
Creates a new domain and saves it in the file given as argument.
newXMLDocument() - Static method in class opendial.utils.XMLUtils
Creates a new XML, empty document
Node(V) - Constructor for class opendial.datastructs.Graph.Node
Creates a new node with the given content
nodeId - Variable in class opendial.bn.nodes.BNode
 
none() - Static method in class opendial.bn.values.ValueFactory
Returns the none value
NONE_PROB - Static variable in class opendial.domains.rules.distribs.EquivalenceDistribution
 
NoneVal - Class in opendial.bn.values
"None" value (describing the lack of value, or an empty assignment)
NoneVal() - Constructor for class opendial.bn.values.NoneVal
Creates the none value (protected, use the value factory)
normalise() - Method in class opendial.bn.distribs.CategoricalTable.Builder
 
normalise() - Method in class opendial.bn.distribs.ConditionalTable.Builder
Normalises the conditional table
normalise() - Method in class opendial.bn.distribs.MultivariateTable.Builder
Normalises the table
normalise() - Method in class opendial.inference.exact.DoubleFactor
Normalises the factor, assuming no conditional variables in the factor.
normalise(Collection<String>) - Method in class opendial.inference.exact.DoubleFactor
Normalises the factor, with the conditional variables as argument.
normalise(Map<T, Double>) - Static method in class opendial.utils.InferenceUtils
Normalise the given probability distribution (assuming no conditional variables).
normalise(double[]) - Static method in class opendial.utils.InferenceUtils
Normalises the double array (ensuring that the sum is equal to 1.0).
normaliseUtil() - Method in class opendial.inference.exact.DoubleFactor
Normalise the utilities with respect to the probabilities in the double factor.
NuanceSpeech - Class in opendial.plugins
Plugin to access the Nuance Speech API for both speech recognition and synthesis.
NuanceSpeech(DialogueSystem) - Constructor for class opendial.plugins.NuanceSpeech
Creates a new plugin, attached to the dialogue system

O

opendial - package opendial
 
opendial.bn - package opendial.bn
 
opendial.bn.distribs - package opendial.bn.distribs
 
opendial.bn.distribs.densityfunctions - package opendial.bn.distribs.densityfunctions
 
opendial.bn.nodes - package opendial.bn.nodes
 
opendial.bn.values - package opendial.bn.values
 
opendial.datastructs - package opendial.datastructs
 
opendial.domains - package opendial.domains
 
opendial.domains.rules - package opendial.domains.rules
 
opendial.domains.rules.conditions - package opendial.domains.rules.conditions
 
opendial.domains.rules.distribs - package opendial.domains.rules.distribs
 
opendial.domains.rules.effects - package opendial.domains.rules.effects
 
opendial.domains.rules.parameters - package opendial.domains.rules.parameters
 
opendial.gui - package opendial.gui
 
opendial.gui.utils - package opendial.gui.utils
 
opendial.inference - package opendial.inference
 
opendial.inference.approximate - package opendial.inference.approximate
 
opendial.inference.exact - package opendial.inference.exact
 
opendial.modules - package opendial.modules
 
opendial.modules.examples - package opendial.modules.examples
 
opendial.modules.learning - package opendial.modules.learning
 
opendial.plugins - package opendial.plugins
 
opendial.readers - package opendial.readers
 
opendial.templates - package opendial.templates
 
opendial.utils - package opendial.utils
 
OPENDIAL_DOC - Static variable in class opendial.gui.GUIMenuBar
 
openDocumentation() - Method in class opendial.gui.GUIMenuBar
Opens the documentation on the project website
openDomain() - Method in class opendial.gui.GUIFrame
Opens an existing dialogue domain.
OutputDistribution - Class in opendial.domains.rules.distribs
Representation of an output distribution (see Pierre Lison's PhD thesis, page 70 for details), which is a reflection of the combination of effects specified in the parent rules.
OutputDistribution(String) - Constructor for class opendial.domains.rules.distribs.OutputDistribution
Creates the output distribution for the output variable label
outputMixer - Variable in class opendial.Settings
(When relevant) Which audio mixer to use for speech synthesis
outputNodes - Variable in class opendial.bn.nodes.BNode
 

P

paintComponent(Graphics) - Method in class opendial.gui.InteractionTab
 
paintComponent(Graphics) - Method in class opendial.gui.utils.StateViewer
Quick fix for a strange bung in JUNG
Parameter - Interface in opendial.domains.rules.parameters
Interface for a parameter associated with an effect
params - Variable in class opendial.Settings
Other parameters
parse(String) - Method in class opendial.plugins.MaltParser
Parses the provided input and returns its corresponding RelationalVal after tokenisation, POS-tagging and dependency parsing.
parseEffect(String) - Static method in class opendial.domains.rules.effects.Effect
Parses the string representing the effect, and returns the corresponding effect.
partialmatch(String) - Method in interface opendial.templates.Template
Checks whether the template can be found within the string.
pause(boolean) - Method in class opendial.DialogueSystem
Pauses or resumes the dialogue system.
pause(boolean) - Method in class opendial.domains.Model
 
pause(boolean) - Method in class opendial.gui.GUIFrame
Pauses the GUI.
pause(boolean) - Method in class opendial.gui.TextOnlyInterface
Pauses the interface
pause(boolean) - Method in class opendial.modules.AudioModule
Pauses the recorder
pause(boolean) - Method in class opendial.modules.DialogueRecorder
Does nothing.
pause(boolean) - Method in class opendial.modules.examples.FlightBookingExample
Pauses the module.
pause(boolean) - Method in class opendial.modules.examples.ModuleExample1
Pauses the module.
pause(boolean) - Method in class opendial.modules.examples.ModuleExample2
Pauses the module.
pause(boolean) - Method in class opendial.modules.examples.WizardControl
Does nothing
pause(boolean) - Method in class opendial.modules.ForwardPlanner
Pauses the forward planner
pause(boolean) - Method in class opendial.modules.learning.RewardLearner
Does nothing.
pause(boolean) - Method in class opendial.modules.learning.Simulator
 
pause(boolean) - Method in class opendial.modules.learning.SocialLearner
 
pause(boolean) - Method in class opendial.modules.learning.WizardLearner
 
pause(boolean) - Method in interface opendial.modules.Module
Pauses the current module
pause(boolean) - Method in class opendial.modules.RemoteConnector
Pauses the connector
pause(boolean) - Method in class opendial.plugins.MaltParser
Pauses or restarts the module
pause(boolean) - Method in class opendial.plugins.MaryTTS
Pauses or unpauses the engine.
pause(boolean) - Method in class opendial.plugins.NuanceSpeech
Pauses the plugin.
pause(boolean) - Method in class opendial.plugins.SphinxASR
Pauses or unpauses the recogniser.
paused - Variable in class opendial.DialogueSystem
 
PlannerProcess(DialogueState) - Constructor for class opendial.modules.ForwardPlanner.PlannerProcess
Creates the planning process.
playSpeech(SpeechData) - Method in class opendial.modules.AudioModule
Plays the speech data onto the default target line.
PopupHandler - Class in opendial.gui.utils
Mouse plugin to handle the right-click popup after selecting nodes
PopupHandler(StateViewer) - Constructor for class opendial.gui.utils.PopupHandler
Constructs the popup handler for the state viewer.
positive - Static variable in class opendial.modules.learning.SocialLearner
 
prettyPrint() - Method in class opendial.bn.BNetwork
Returns a pretty print representation of the network, comprising both the node identifiers and the graph structure.
ProbDistribution - Interface in opendial.bn.distribs
Representation of a conditional probability distribution P(X | Y1,...Ym), where X is the "head" random variable for the distribution, and Y1,...Ym are the conditional variables
ProbQuery(BNetwork, Collection<String>, Assignment) - Constructor for class opendial.inference.Query.ProbQuery
 
prune(DialogueState) - Static method in class opendial.modules.StatePruner
Prunes the state of all the non-necessary nodes. the operation selects a subset of relevant nodes to keep, prunes the irrelevant ones, remove the primes from the variable labels, and delete all empty nodes.
pruneEffects() - Method in class opendial.domains.rules.RuleOutput
Prunes all effects whose parameter is lower than the provided threshold.
pruneValues(double) - Method in class opendial.bn.distribs.CategoricalTable
Prunes all table values that have a probability lower than the threshold.
pruneValues(double) - Method in class opendial.bn.distribs.ConditionalTable
Prunes from the table all values whose probability falls below the threshold
pruneValues(double) - Method in class opendial.bn.distribs.ContinuousDistribution
Does nothing.
pruneValues(double) - Method in class opendial.bn.distribs.EmpiricalDistribution
Prunes all samples that contain a value whose relative frequency is below the threshold specified as argument.
pruneValues(double) - Method in class opendial.bn.distribs.MarginalDistribution
Prune the values below a certain threshold.
pruneValues(double) - Method in interface opendial.bn.distribs.MultivariateDistribution
Prunes all values assignment whose probability falls below the threshold.
pruneValues(double) - Method in class opendial.bn.distribs.MultivariateTable
Prunes all table values that have a probability lower than the threshold.
pruneValues(double) - Method in interface opendial.bn.distribs.ProbDistribution
Prunes values whose frequency in the distribution is lower than the given threshold.
pruneValues(double) - Method in class opendial.bn.distribs.SingleValueDistribution
Does nothing
pruneValues(double) - Method in class opendial.bn.nodes.ChanceNode
Prune the values with a probability below a given threshold
pruneValues(double) - Method in class opendial.domains.rules.distribs.AnchoredRule
Does nothing
pruneValues(double) - Method in class opendial.domains.rules.distribs.EquivalenceDistribution
Does nothing
pruneValues(double) - Method in class opendial.domains.rules.distribs.OutputDistribution
Does nothing.

Q

Query - Class in opendial.inference
Representation of an inference query, which can be either a probability query, a utility query, or a reduction query.
Query(BNetwork, Collection<String>, Assignment) - Constructor for class opendial.inference.Query
 
Query.ProbQuery - Class in opendial.inference
Representation of a probability query P(queryVars | evidence) on a specific Bayesian network.
Query.ReduceQuery - Class in opendial.inference
Representation of a reduction Query where the Bayesian network is reduced to a new network containing only the variables queryVars, and integrating the evidence.
Query.UtilQuery - Class in opendial.inference
Representation of an utility query U(queryVars | evidence) on a specific Bayesian network.
queryProb(String) - Method in class opendial.DialogueState
Returns the probability distribution corresponding to the values of the state variable provided as argument.
queryProb(String, boolean) - Method in class opendial.DialogueState
Returns the probability distribution corresponding to the values of the state variable provided as argument.
queryProb(Collection<String>) - Method in class opendial.DialogueState
Returns the probability distribution corresponding to the values of the state variables provided as argument.
queryProb(Query.ProbQuery) - Method in class opendial.inference.approximate.SamplingAlgorithm
Queries for the probability distribution of the set of random variables in the Bayesian network, given the provided evidence
queryProb(Query, Consumer<Collection<Sample>>) - Method in class opendial.inference.approximate.SamplingAlgorithm
Returns an empirical distribution for the particular query, after reweighting each samples based on the provided weighting scheme.
queryProb(Map<Query, Consumer<Collection<Sample>>>) - Method in class opendial.inference.approximate.SamplingAlgorithm
Returns an empirical distribution for a list of queries, after reweighting each samples based on the provided weighting scheme.
queryProb(Query.ProbQuery) - Method in class opendial.inference.exact.NaiveInference
Queries the probability distribution encoded in the Bayesian Network, given a set of query variables, and some evidence.
queryProb(Query.ProbQuery) - Method in class opendial.inference.exact.VariableElimination
Queries for the probability distribution of the set of random variables in the Bayesian network, given the provided evidence
queryProb(Query.ProbQuery) - Method in interface opendial.inference.InferenceAlgorithm
Computes the probability distribution for the query variables given the provided evidence, all specified in the query
queryProb(BNetwork, Collection<String>, Assignment) - Method in interface opendial.inference.InferenceAlgorithm
Computes the probability distribution for the query variables given the provided evidence.
queryProb(BNetwork, Collection<String>) - Method in interface opendial.inference.InferenceAlgorithm
Computes the probability distribution for the query variables, assuming no additional evidence.
queryProb(BNetwork, String, Assignment) - Method in interface opendial.inference.InferenceAlgorithm
Computes the probability distribution for the query variable given the provided evidence.
queryProb(BNetwork, String) - Method in interface opendial.inference.InferenceAlgorithm
Computes the probability distribution for the query variable, assuming no additional evidence.
queryProb(Query.ProbQuery) - Method in class opendial.inference.SwitchingAlgorithm
Selects the best algorithm for performing the inference on the provided probability query and return its result.
queryUtil(Collection<String>) - Method in class opendial.DialogueState
Returns the utility table associated with a particular set of (state or action) variables.
queryUtil() - Method in class opendial.DialogueState
Returns the total utility of the dialogue state (marginalising over all possible state variables).
queryUtil(Query.UtilQuery) - Method in class opendial.inference.approximate.SamplingAlgorithm
Queries for the utility of a particular set of (action) variables, given the provided evidence
queryUtil(BNetwork) - Method in class opendial.inference.approximate.SamplingAlgorithm
Queries for the utility without any particular query variable
queryUtil(Query.UtilQuery) - Method in class opendial.inference.exact.NaiveInference
Computes the utility distribution for the Bayesian network, depending on the value of the action variables given as parameters.
queryUtil(Query.UtilQuery) - Method in class opendial.inference.exact.VariableElimination
Queries for the utility of a particular set of (action) variables, given the provided evidence
queryUtil(Query.UtilQuery) - Method in interface opendial.inference.InferenceAlgorithm
Computes the utility table for the query variables (typically action variables), given the provided evidence.
queryUtil(BNetwork, Collection<String>, Assignment) - Method in interface opendial.inference.InferenceAlgorithm
Computes the utility table for the query variables (typically action variables), given the provided evidence.
queryUtil(BNetwork, Collection<String>) - Method in interface opendial.inference.InferenceAlgorithm
Computes the utility table for the query variables (typically action variables), assuming no additional evidence.
queryUtil(BNetwork, String) - Method in interface opendial.inference.InferenceAlgorithm
Computes the utility table for the query variable (typically an action variable), assuming no additional evidence.
queryUtil(BNetwork, String, Assignment) - Method in interface opendial.inference.InferenceAlgorithm
Computes the utility table for the query variable (typically an action variable), given the provided evidence
queryUtil(Query.UtilQuery) - Method in class opendial.inference.SwitchingAlgorithm
Selects the best algorithm for performing the inference on the provided utility query and return its result.

R

read() - Method in class opendial.datastructs.SpeechData
Reads one byte of the stream
read(byte[], int, int) - Method in class opendial.datastructs.SpeechData
Reads a buffer of data from the stream
readStream(InputStream) - Static method in class opendial.utils.AudioUtils
Reads the input stream and returns the corresponding array of bytes
RECOG_PROB - Static variable in class opendial.plugins.SphinxASR
Recognition probability for the best hypothesis returned by Sphinx.
recordAction(DialogueState, JList<String>, String) - Method in class opendial.modules.examples.WizardControl
 
recording - Variable in class opendial.Settings
Whether to record intermediate dialogue state
recordState(DialogueState, String) - Method in class opendial.gui.GUIFrame
Records a dialogue state in the component and makes it available for display in the network selection list on the left side.
recordState(DialogueState, String) - Method in class opendial.gui.StateMonitorTab
Records a dialogue state in the component and makes it available for display in the network selection list on the left side.
reduce() - Method in class opendial.DialogueState
Prunes the dialogue state (see Section 4.4 of Pierre Lison's PhD thesis).
reduce(Query.ReduceQuery) - Method in class opendial.inference.approximate.SamplingAlgorithm
Reduces the Bayesian network to a subset of its variables and returns the result.
reduce(Query.ReduceQuery) - Method in class opendial.inference.exact.NaiveInference
Reduces the Bayesian network to a subset of its variables.
reduce(Query.ReduceQuery) - Method in class opendial.inference.exact.VariableElimination
Reduces the Bayesian network by retaining only a subset of variables and marginalising out the rest.
reduce(Query.ReduceQuery) - Method in interface opendial.inference.InferenceAlgorithm
Generates a new Bayesian network that only contains a subset of variables in the original network and integrates the provided evidence.
reduce(BNetwork, Collection<String>, Assignment) - Method in interface opendial.inference.InferenceAlgorithm
Generates a new Bayesian network that only contains a subset of variables in the original network and integrates the provided evidence.
reduce(BNetwork, Collection<String>) - Method in interface opendial.inference.InferenceAlgorithm
Generates a new Bayesian network that only contains a subset of variables in the original network, assuming no additional evidence.
reduce(Query.ReduceQuery) - Method in class opendial.inference.SwitchingAlgorithm
Reduces a Bayesian network to a subset of variables.
ReduceQuery(BNetwork, Collection<String>, Assignment) - Constructor for class opendial.inference.Query.ReduceQuery
 
refresh() - Method in class opendial.gui.EditorTab
Refreshes the dialogue domain shown in the tab
refresh() - Method in class opendial.gui.GUIFrame
Refreshes the GUI (menu, title and domain content).
refresh(DialogueState, Collection<String>) - Method in class opendial.gui.StateMonitorTab
Updates the current dialogue state displayed in the component.
refreshDomain() - Method in class opendial.DialogueSystem
Refreshes the dialogue domain by rereading its source file (in case it has been changed by the user).
RelationalTemplate - Class in opendial.templates
Template for a relational structure.
RelationalTemplate(String) - Constructor for class opendial.templates.RelationalTemplate
Creates a new template from a string representation
RelationalVal - Class in opendial.bn.values
Representation of a relational value.
RelationalVal() - Constructor for class opendial.bn.values.RelationalVal
Creates an empty relational structure.
RelationalVal(String) - Constructor for class opendial.bn.values.RelationalVal
Creates a relational structure from a string representation.
remoteConnections - Variable in class opendial.Settings
addresses of remote clients to connect to (key=IP address, value=port)
RemoteConnector - Class in opendial.modules
Module used to connect OpenDial to other remote clients (for instance, in order to conduct Wizard-of-Oz experiments).
RemoteConnector(DialogueSystem) - Constructor for class opendial.modules.RemoteConnector
A server socket is created, using an arbitrary open port (NB: the port can be read in the "About" page in the GUI).
removeAll(Collection<String>) - Method in class opendial.datastructs.Assignment
Trims the assignment, where only the variables given as parameters are considered
removeAllRelations() - Method in class opendial.bn.nodes.BNode
Removes all input and output relations to the node
removeContent(String) - Method in class opendial.DialogueSystem
Removes the variable from the dialogue state
removeEffect(Effect) - Method in class opendial.domains.rules.RuleOutput
Removes an effect from the rule output
removeFromState(String) - Method in class opendial.DialogueState
Removes the variable from the dialogue state
removeInputNode(String) - Method in class opendial.bn.nodes.BNode
Removes a relation between an input node and the current node.
removeInputNode_internal(String) - Method in class opendial.bn.nodes.BNode
 
removeInputNodes() - Method in class opendial.bn.nodes.BNode
Removes all input nodes.
removeNode(String) - Method in class opendial.bn.BNetwork
Removes a node from the network, given its identifier
removeNodes(Collection<String>) - Method in class opendial.bn.BNetwork
Remove all the specified nodes
removeOutputNode(String) - Method in class opendial.bn.nodes.BNode
Removes a relation between an output node and the current node.
removePair(String) - Method in class opendial.datastructs.Assignment
Removes the pair associated with the var label
removePairs(Collection<String>) - Method in class opendial.datastructs.Assignment
Remove the pairs associated with the labels
removePrimes() - Method in class opendial.datastructs.Assignment
Returns a new assignment with the primes removed.
removeRow(Value) - Method in class opendial.bn.distribs.CategoricalTable.Builder
Removes a row from the table.
removeRow(Assignment, Value) - Method in class opendial.bn.distribs.ConditionalTable.Builder
Removes a row from the table, given the condition and the head assignments.
removeRow(Assignment) - Method in class opendial.bn.distribs.MultivariateTable.Builder
Removes a row from the table.
removeUtil(Assignment) - Method in class opendial.bn.distribs.UtilityTable
Removes a utility from the utility distribution
removeUtility(Assignment) - Method in class opendial.bn.nodes.UtilityNode
Removes the utility associated with the input assignment from the node
removeValue(Value) - Method in class opendial.bn.nodes.ActionNode
Removes a value from the action values set
removeValue(Value) - Method in class opendial.domains.rules.RuleGrounding
Removes the given value from the assignments
removeValues(Set<Object>) - Method in class opendial.bn.nodes.ActionNode
Removes a set of values from the action values
removeValues(Value) - Method in class opendial.datastructs.Assignment
Remove all pairs whose value equals toRemove
removeVariable(String) - Method in class opendial.bn.distribs.EmpiricalDistribution
Removes a particular variable from the sampled assignments
removeVariables(Set<String>) - Method in class opendial.datastructs.ValueRange
Remove the variables from the value range
removeVariables(Set<String>) - Method in class opendial.domains.rules.RuleGrounding
Removes the given variables from the assignments
renameVar(String, String) - Method in class opendial.datastructs.Assignment
Returns a new assignment where the variable name is replaced.
replaceNode(BNode) - Method in class opendial.bn.BNetwork
Replaces an existing node with a new one (with same identifier)
rereadFile() - Method in class opendial.gui.EditorTab
Reads the xml file in the object variable 'shownFile' and displays its content in the editor pane.
reset(BNetwork) - Method in class opendial.bn.BNetwork
Resets the Bayesian network to only contain the nodes contained in the argument.
reset(BNetwork) - Method in class opendial.DialogueState
Resets the content of the dialogue state to the network contained as argument (and deletes the rest).
reset() - Method in class opendial.gui.InteractionTab
Resets the history in the interaction window.
reset(DialogueState) - Method in class opendial.gui.StateMonitorTab
Resets the dialogue state shown in the monitor tab.
resetInteraction() - Method in class opendial.gui.GUIFrame
Resets the interaction (resetting the dialogue state to its initial value).
RewardLearner - Class in opendial.modules.learning
Module employed during simulated dialogues to automatically estimate a utility model from rewards produced by the simulator.
RewardLearner(DialogueSystem) - Constructor for class opendial.modules.learning.RewardLearner
Creates the reward learner for the dialogue system.
rewind() - Method in class opendial.datastructs.SpeechData
Resets the current position in the stream to 0.
Rule - Class in opendial.domains.rules
Generic representation of a probabilistic rule, with an identifier and an ordered list of cases.
Rule(String, Rule.RuleType) - Constructor for class opendial.domains.rules.Rule
Creates a new rule, with the given identifier and type, and an empty list of cases
Rule.RuleType - Enum in opendial.domains.rules
 
RuleGrounding - Class in opendial.domains.rules
Representation of a set of possible groundings for a rule
RuleGrounding() - Constructor for class opendial.domains.rules.RuleGrounding
Constructs an empty set of groundings
RuleGrounding(Collection<Assignment>) - Constructor for class opendial.domains.rules.RuleGrounding
Constructs a set of groundings with the given collection of alternative assignments
RuleOutput - Class in opendial.domains.rules
Representation of a rule output, consisting of a set of alternative (mutually exclusive) effects, each being associated with a particular probability or utility parameter.
RuleOutput(Rule.RuleType) - Constructor for class opendial.domains.rules.RuleOutput
Creates a new output, with a void condition and an empty list of effects
run() - Method in class opendial.modules.DialogueImporter
Runs the import operation.

S

sample() - Method in class opendial.bn.distribs.CategoricalTable
Sample a value from the distribution.
sample(Assignment) - Method in class opendial.bn.distribs.ConditionalTable
Sample a head assignment from the distribution P(head|condition), given the condition.
sample() - Method in class opendial.bn.distribs.ContinuousDistribution
Samples from the distribution.
sample() - Method in interface opendial.bn.distribs.densityfunctions.DensityFunction
Returns a sampled value given the point.
sample() - Method in class opendial.bn.distribs.densityfunctions.DirichletDensityFunction
Returns a sampled value for the density function.
sample() - Method in class opendial.bn.distribs.densityfunctions.DiscreteDensityFunction
Samples according to the density function
sample() - Method in class opendial.bn.distribs.densityfunctions.GaussianDensityFunction
Samples values from the Gaussian using Box-Muller's method.
sample() - Method in class opendial.bn.distribs.densityfunctions.KernelDensityFunction
Samples from the kernel density function, first picking one of the point, and then deviating from it according to a Gaussian centered around it
sample() - Method in class opendial.bn.distribs.densityfunctions.UniformDensityFunction
Samples the density function
sample() - Method in class opendial.bn.distribs.EmpiricalDistribution
Samples from the distribution.
sample() - Method in interface opendial.bn.distribs.IndependentDistribution
Returns a sampled value for the distribution.
sample(Assignment) - Method in interface opendial.bn.distribs.IndependentDistribution
Returns a sample from the distribution (the condition is ignored).
sample(Assignment) - Method in class opendial.bn.distribs.MarginalDistribution
Returns a sample value for the variable X given the conditional assignment
sample() - Method in interface opendial.bn.distribs.MultivariateDistribution
Returns a sample assignment for X1,...Xn.
sample() - Method in class opendial.bn.distribs.MultivariateTable
Sample an assignment from the distribution.
sample(Assignment) - Method in interface opendial.bn.distribs.ProbDistribution
Returns a sample value for the distribution given a particular conditional assignment.
sample() - Method in class opendial.bn.distribs.SingleValueDistribution
Returns the value.
sample() - Method in class opendial.bn.nodes.ActionNode
Returns a sample point for the action, assuming a uniform distribution over the action values
sample() - Method in class opendial.bn.nodes.ChanceNode
Returns a sample value for the node, according to the probability distribution currently defined.
sample(Assignment) - Method in class opendial.bn.nodes.ChanceNode
Returns a sample value for the node, given a condition.
sample(Assignment) - Method in class opendial.domains.rules.distribs.AnchoredRule
Samples one possible output value given the input assignment
sample(Assignment) - Method in class opendial.domains.rules.distribs.EquivalenceDistribution
Generates a sample from the distribution given the conditional assignment.
sample(Assignment) - Method in class opendial.domains.rules.distribs.OutputDistribution
Samples a particular value for the output variable.
sample() - Method in class opendial.inference.approximate.Intervals
Samples an object from the interval collection, using a simple binary search procedure.
sample() - Method in class opendial.inference.approximate.LikelihoodWeighting
Runs the sample collection procedure until termination (either due to a time-out or the collection of a number of samples = nbSamples).
Sample - Class in opendial.inference.approximate
Representation of a (possibly weighted) sample, which consists of an assignment of values together with a weight (here in logarithmic form) and utility.
Sample() - Constructor for class opendial.inference.approximate.Sample
Creates a new, empty weighted sample
Sample(Assignment) - Constructor for class opendial.inference.approximate.Sample
Creates a new sample
Sample(Assignment, double, double) - Constructor for class opendial.inference.approximate.Sample
Creates a new sample with an existing weight and utility
samples - Variable in class opendial.bn.distribs.EmpiricalDistribution
 
SamplingAlgorithm - Class in opendial.inference.approximate
Sampling-based inference algorithm for Bayesian networks.
SamplingAlgorithm(int, long) - Constructor for class opendial.inference.approximate.SamplingAlgorithm
Creates a new likelihood weighting algorithm with the specified number of samples and sampling time
SamplingAlgorithm() - Constructor for class opendial.inference.approximate.SamplingAlgorithm
Creates a new likelihood weighting algorithm with the specified number of samples and sampling time
SAVE_SPEECH - Static variable in class opendial.modules.AudioModule
file used to save the speech input (leave empty to avoid recording)
saveDomain() - Method in class opendial.gui.GUIFrame
Saves the dialogue domain specification to the current file
saveDomain(File) - Method in class opendial.gui.GUIFrame
Saves the dialogue domain in the editor tab to the file given as argument
saveDomainAs() - Method in class opendial.gui.GUIFrame
Saves the dialogue domain specification to a new file
saveInteraction() - Method in class opendial.gui.GUIFrame
Records the interaction.
selectAudioLine(Mixer.Info) - Static method in class opendial.utils.AudioUtils
Selects an target data line for a particular audio mixer.
selectAudioMixers() - Method in class opendial.Settings
 
selectBestAlgorithm(Query) - Method in class opendial.inference.SwitchingAlgorithm
 
serialise(Node) - Static method in class opendial.utils.XMLUtils
Serialises the XML node into a string.
setActiveTab(int) - Method in class opendial.gui.GUIFrame
Changes the active tab in the GUI.
setAsCommitted(String) - Method in class opendial.DialogueState
 
setAsFailed() - Method in class opendial.domains.rules.RuleGrounding
Sets the groundings as failed (i.e. no possible groundings for the underspecified variables).
setAsFinal() - Method in class opendial.datastructs.SpeechData
Marks the speech data as final (it won't be changed anymore)
setAsNew() - Method in class opendial.DialogueState
Sets the dialogue state to consist of all new variables (to trigger right after the system initialisation.
setBlocking(boolean) - Method in class opendial.domains.Model
Sets the model as "blocking" (forbids other models to be triggered in parallel when this model is triggered).
setDistrib(ProbDistribution) - Method in class opendial.bn.nodes.ChanceNode
Sets the probability distribution of the node, and erases the existing one.
setDistrib(UtilityFunction) - Method in class opendial.bn.nodes.UtilityNode
 
setId(String) - Method in class opendial.bn.nodes.BNode
Changes the identifier for the node
setId(String) - Method in class opendial.bn.nodes.ChanceNode
Replaces the node identifier with a new one
setId(String) - Method in class opendial.bn.nodes.UtilityNode
 
setId(String) - Method in class opendial.domains.Model
Changes the identifier for the model
setInitialState(DialogueState) - Method in class opendial.domains.Domain
Sets the initial dialogue state
setNBest(int) - Method in class opendial.gui.InteractionTab
Sets the number of N-Best elements to display
setNetwork(BNetwork) - Method in class opendial.bn.nodes.BNode
Sets the Bayesian network associated with the node (useful to inform the network of change of identifiers).
setParameters(BNetwork) - Method in class opendial.DialogueState
Adds a set of parameter variables to the dialogue state.
setParameters(BNetwork) - Method in class opendial.domains.Domain
Sets the prior distribution for the domain parameters
setSavedFlag(boolean) - Method in class opendial.gui.GUIFrame
If isSaved is false, sets a '*' star on the editor tab to mark the fact that the domain has been modified without being saved.
setSettings(Settings) - Method in class opendial.domains.Domain
Replaces the domain-specific settings
setSourceFile(File) - Method in class opendial.domains.Domain
Associate the given source XML files to the domain
setSystemTalking(boolean) - Method in class opendial.gui.SpeechInputPanel
Sets a string in the volume meter indicating that the system is currently talking.
setText(String) - Method in class opendial.gui.EditorTab
Sets the text in the editor (erasing the previous content).
settings - Variable in class opendial.DialogueSystem
 
Settings - Class in opendial
System-wide settings for OpenDial.
Settings() - Constructor for class opendial.Settings
Creates new settings with the default values
Settings(Properties) - Constructor for class opendial.Settings
Creates a new settings with the values provided as argument.
Settings.CustomFunction - Class in opendial
 
Settings.Recording - Enum in opendial
Recording types
SETTINGS_FILE - Static variable in class opendial.Settings
Default settings
SettingsPanel - Class in opendial.gui
Panel to modify the system preferences.
SettingsPanel(GUIFrame) - Constructor for class opendial.gui.SettingsPanel
Creates a new settings panel attached to the GUI frame.
setUtil(Assignment, double) - Method in class opendial.bn.distribs.UtilityTable
Sets the utility associated with a value assignment
SetVal - Class in opendial.bn.values
Value that is defined as a set of values.
SetVal(Collection<Value>) - Constructor for class opendial.bn.values.SetVal
Creates the list of values (protected, should be created via ValueFactory)
SetVal(Value...) - Constructor for class opendial.bn.values.SetVal
Creates the set of values (protected, should be created via ValueFactory)
setValues(Set<Value>) - Method in class opendial.bn.nodes.ActionNode
 
setWeight(double) - Method in class opendial.inference.approximate.Sample
Sets the logarithmic weight to a given value
setWizardOfOzMode(boolean) - Method in class opendial.modules.DialogueImporter
Sets whether the import should consider the system actions as "expert" Wizard-of-Oz actions to imitate.
showAboutPanel() - Method in class opendial.gui.GUIMenuBar
Displays the "About" panel.
showBayesianNetwork(DialogueState) - Method in class opendial.gui.utils.StateViewer
Shows the given Bayesian network in the viewer
showGUI - Variable in class opendial.Settings
Whether to show the GUI
showParameters(boolean) - Method in class opendial.gui.StateMonitorTab
Sets whether to show the parameter variables in the state viewer or not.
showParameters() - Method in class opendial.gui.StateMonitorTab
Returns true if the parameter variables are currently displayed in the state viewer.
Simulator - Class in opendial.modules.learning
Simulator for the user/environment.
Simulator(DialogueSystem, String) - Constructor for class opendial.modules.learning.Simulator
Creates a new user/environment simulator.
Simulator(DialogueSystem, Domain) - Constructor for class opendial.modules.learning.Simulator
Creates a new user/environment simulator.
SingleParameter - Class in opendial.domains.rules.parameters
Parameter represented by a single distribution over a continuous variable.
SingleParameter(String) - Constructor for class opendial.domains.rules.parameters.SingleParameter
Creates a new stochastic parameter for a univariate distribution.
SingleParameter(String, int) - Constructor for class opendial.domains.rules.parameters.SingleParameter
Creates a new stochastic parameter for a particular dimension of a multivariate distribution.
SingleValueDistribution - Class in opendial.bn.distribs
Representation of a distribution with a single value associated with a probability of 1.0.
SingleValueDistribution(String, Value) - Constructor for class opendial.bn.distribs.SingleValueDistribution
Creates a new single-value distribution
SingleValueDistribution(String, String) - Constructor for class opendial.bn.distribs.SingleValueDistribution
Creates a new single-value distribution
size() - Method in class opendial.bn.distribs.CategoricalTable
Returns the size of the table
size() - Method in class opendial.bn.distribs.EmpiricalDistribution
Returns the number of samples.
size() - Method in class opendial.datastructs.Assignment
Returns the size (number of pairs) of the assignment
size() - Method in class opendial.inference.exact.DoubleFactor
Returns the size of the factor
SocialLearner - Class in opendial.modules.learning
 
SocialLearner(DialogueSystem) - Constructor for class opendial.modules.learning.SocialLearner
 
SpeechData - Class in opendial.datastructs
Representation of a stream of speech data (input or output).
SpeechData(AudioFormat) - Constructor for class opendial.datastructs.SpeechData
Creates a new, empty stream of data with a given audio format
SpeechData(byte[]) - Constructor for class opendial.datastructs.SpeechData
Creates a stream of speech data based on a pre-existing byte array.
SpeechInputPanel - Class in opendial.gui
Panel employed to capture audio input through a press and hold button, accompanied by a sound level meter.
SpeechInputPanel(AudioModule) - Constructor for class opendial.gui.SpeechInputPanel
Creates the speech input panel, composed of a press and hold button and a sound level meter.
SphinxASR - Class in opendial.plugins
Plugin for the CMU Sphinx 4 speech recogniser.
SphinxASR(DialogueSystem) - Constructor for class opendial.plugins.SphinxASR
Creates the module for the Sphinx recognition engine, connected to the dialogue system.
start() - Method in class opendial.domains.Model
 
start() - Method in class opendial.gui.GUIFrame
Displays the GUI frame.
start() - Method in class opendial.gui.TextOnlyInterface
Starts the interface.
start() - Method in class opendial.modules.AudioModule
Starts the audio recording
start() - Method in class opendial.modules.DialogueRecorder
Starts the recorder.
start() - Method in class opendial.modules.examples.FlightBookingExample
Starts the module.
start() - Method in class opendial.modules.examples.ModuleExample1
Creates a simple visual grid of size GRID_SIZE and puts the agent in the middle of this grid.
start() - Method in class opendial.modules.examples.ModuleExample2
Creates a small control window with 4 arrow buttons.
start() - Method in class opendial.modules.examples.WizardControl
Does nothing
start() - Method in class opendial.modules.ForwardPlanner
Does nothing.
start() - Method in class opendial.modules.learning.RewardLearner
Does nothing.
start() - Method in class opendial.modules.learning.Simulator
Adds an empty action to the dialogue system to start the interaction.
start() - Method in class opendial.modules.learning.SocialLearner
 
start() - Method in class opendial.modules.learning.WizardLearner
 
start() - Method in interface opendial.modules.Module
Starts the module.
start() - Method in class opendial.modules.RemoteConnector
Starts the connector.
start() - Method in class opendial.plugins.MaltParser
Starts the parser.
start() - Method in class opendial.plugins.MaryTTS
Starts the TTS engine.
start() - Method in class opendial.plugins.NuanceSpeech
Starts the Nuance speech plugin.
start() - Method in class opendial.plugins.SphinxASR
Starts the recogniser.
startRecording() - Method in class opendial.modules.AudioModule
Starts the recording of a new speech segment, and adds its content to the dialogue state.
startSystem() - Method in class opendial.DialogueSystem
Starts the dialogue system and its modules.
StateMonitorTab - Class in opendial.gui
GUI component used to view and control the Bayesian Network representing the dialogue state.
StateMonitorTab(GUIFrame) - Constructor for class opendial.gui.StateMonitorTab
Creates a new GUI component for displaying and controlling the dialogue state's Bayesian Network.
StateMonitorTab.TranslationDirection - Enum in opendial.gui
 
StateMonitorTab.ZoomDirection - Enum in opendial.gui
 
StatePruner - Class in opendial.modules
Prunes the dialogue state by removing all intermediary nodes (that is, rule nodes, utility and action nodes, equivalence nodes, and outdated versions of updated variables).
StatePruner() - Constructor for class opendial.modules.StatePruner
 
StateViewer - Class in opendial.gui.utils
Graph rendering component for the Bayesian Network.
StateViewer(StateMonitorTab) - Constructor for class opendial.gui.utils.StateViewer
Creates a new graph viewer, connected to the component given as argument.
stopRecording() - Method in class opendial.modules.AudioModule
Stops the recording of the current speech segment.
StringTemplate - Class in opendial.templates
Template for a string without any underspecified or optional elements.
StringTemplate(String) - Constructor for class opendial.templates.StringTemplate
Creates a new string template.
StringUtils - Class in opendial.utils
Various utilities for manipulating strings
StringUtils() - Constructor for class opendial.utils.StringUtils
 
StringVal - Class in opendial.bn.values
String value.
StringVal(String) - Constructor for class opendial.bn.values.StringVal
Creates a new string value (protected, use the ValueFactory instead)
SwitchingAlgorithm - Class in opendial.inference
Switching algorithms that alternates between an exact algorithm (variable elimination) and an approximate algorithm (likelihood weighting) depending on the query.
SwitchingAlgorithm() - Constructor for class opendial.inference.SwitchingAlgorithm
 
synthesise(String) - Method in class opendial.plugins.MaryTTS
Synthesises the utterance on the current audio mixer.
systemOutput - Variable in class opendial.Settings
Variable label for the system output
systemSpeech - Variable in class opendial.Settings
Variable label for the system speech signal

T

TAB_TIP - Static variable in class opendial.gui.EditorTab
 
TAB_TIP - Static variable in class opendial.gui.InteractionTab
 
TAB_TIP - Static variable in class opendial.gui.StateMonitorTab
 
TAB_TITLE - Static variable in class opendial.gui.EditorTab
 
TAB_TITLE - Static variable in class opendial.gui.InteractionTab
 
TAB_TITLE - Static variable in class opendial.gui.StateMonitorTab
 
table - Variable in class opendial.bn.distribs.ConditionalTable
 
TAG_ATTRIBUTE_PATTERN - Static variable in class opendial.gui.utils.XMLView
 
TAG_ATTRIBUTE_VALUE - Static variable in class opendial.gui.utils.XMLView
 
TAG_CDATA_END - Static variable in class opendial.gui.utils.XMLView
 
TAG_CDATA_START - Static variable in class opendial.gui.utils.XMLView
 
TAG_COMMENT - Static variable in class opendial.gui.utils.XMLView
 
TAG_END_PATTERN - Static variable in class opendial.gui.utils.XMLView
 
TAG_PATTERN - Static variable in class opendial.gui.utils.XMLView
 
Template - Interface in opendial.templates
Representation of a (possibly underspecified) template for a Value.
Template.MatchResult - Class in opendial.templates
Representation of a matching result
TemplateEffect - Class in opendial.domains.rules.effects
Representation of a basic effect of a rule.
TemplateEffect(Template, Template) - Constructor for class opendial.domains.rules.effects.TemplateEffect
Constructs a new effect, with a variable label and value
TemplateEffect(Template, Template, int, boolean, boolean) - Constructor for class opendial.domains.rules.effects.TemplateEffect
Constructs a new effect, with a variable label, value, and other arguments.
TextOnlyInterface - Class in opendial.gui
Text-only interface to OpenDial, to use when no X11 display is available.
TextOnlyInterface(DialogueSystem) - Constructor for class opendial.gui.TextOnlyInterface
Creates a new text-only interface.
TIP_TEXT - Static variable in class opendial.gui.InteractionTab
 
toByteArray() - Method in class opendial.datastructs.SpeechData
Returns the raw array of bytes
toContinuous() - Method in class opendial.bn.distribs.CategoricalTable
Returns the continuous probability distribution equivalent to the current table
toContinuous() - Method in class opendial.bn.distribs.ContinuousDistribution
Returns itself.
toContinuous() - Method in class opendial.bn.distribs.EmpiricalDistribution
Returns a continuous representation of the distribution (if there is no conditional variables in the distribution).
toContinuous() - Method in interface opendial.bn.distribs.IndependentDistribution
Returns a continuous representation of the distribution.
toContinuous() - Method in class opendial.bn.distribs.SingleValueDistribution
Returns a continuous representation of the distribution (if possible)
toDiscrete() - Method in class opendial.bn.distribs.CategoricalTable
Returns itself.
toDiscrete() - Method in class opendial.bn.distribs.ContinuousDistribution
Returns a discretised version of the distribution.
toDiscrete() - Method in class opendial.bn.distribs.EmpiricalDistribution
Returns a discrete representation of the empirical distribution.
toDiscrete() - Method in interface opendial.bn.distribs.IndependentDistribution
Returns a discrete representation of the distribution
toDiscrete() - Method in interface opendial.bn.distribs.MultivariateDistribution
Returns a representation of the distribution as a multivariate table.
toDiscrete() - Method in class opendial.bn.distribs.MultivariateTable
Returns itself.
toDiscrete() - Method in class opendial.bn.distribs.SingleValueDistribution
Returns the categorical table corresponding to the distribution.
toString() - Method in class opendial.bn.BNetwork
Returns a basic string representation for the network, defined as the set of node identifiers in the network.
toString() - Method in class opendial.bn.distribs.CategoricalTable
Returns a string representation of the probability table
toString() - Method in class opendial.bn.distribs.ConditionalTable
Returns a pretty print of the distribution
toString() - Method in class opendial.bn.distribs.ContinuousDistribution
Returns a pretty print of the distribution
toString() - Method in class opendial.bn.distribs.densityfunctions.DirichletDensityFunction
Returns the name and hyper-parameters of the distribution
toString() - Method in class opendial.bn.distribs.densityfunctions.DiscreteDensityFunction
Returns a pretty print representation of the function
toString() - Method in class opendial.bn.distribs.densityfunctions.GaussianDensityFunction
Returns a pretty print representation of the function
toString() - Method in class opendial.bn.distribs.densityfunctions.KernelDensityFunction
Return a pretty print for the kernel density
toString() - Method in class opendial.bn.distribs.densityfunctions.UniformDensityFunction
Returns a pretty print for the density function
toString() - Method in class opendial.bn.distribs.EmpiricalDistribution
Returns a pretty print representation of the distribution: here, tries to convert it to a discrete distribution, and displays its content.
toString() - Method in class opendial.bn.distribs.MarginalDistribution
Returns a text representation of the marginal distribution.
toString() - Method in class opendial.bn.distribs.MultivariateTable
Returns a string representation of the probability table
toString() - Method in class opendial.bn.distribs.SingleValueDistribution
Returns the string representation for this distribution
toString() - Method in class opendial.bn.distribs.UtilityTable
Returns a string representation for the distribution
toString() - Method in class opendial.bn.nodes.ActionNode
Returns a string representation of the node, which states the node identifier followed by the action values
toString() - Method in class opendial.bn.nodes.BNode
Returns the string identifier for the node
toString() - Method in class opendial.bn.nodes.ChanceNode
Returns the string representation of the distribution.
toString() - Method in class opendial.bn.nodes.UtilityNode
Returns a string representation of the node, consisting of the node utility distribution
toString() - Method in class opendial.bn.values.ArrayVal
Returns a string representation of the array
toString() - Method in class opendial.bn.values.BooleanVal
Returns a string representation of the boolean value
toString() - Method in class opendial.bn.values.DoubleVal
Returns a string representation of the double
toString() - Method in class opendial.bn.values.NoneVal
Returns the string "None
toString() - Method in class opendial.bn.values.SetVal
Returns a string representation of the set
toString() - Method in class opendial.bn.values.StringVal
Returns the string itself
toString() - Method in interface opendial.bn.values.Value
Returns the string representation of the value
toString() - Method in class opendial.datastructs.Assignment
Returns a string representation of the assignment
toString() - Method in class opendial.datastructs.Graph.Node
Returns a string representation of the node and its descendants
toString() - Method in class opendial.datastructs.Graph
Returns the string representation for the graph
toString() - Method in class opendial.datastructs.MathExpression
Returns a string representation of the expression
toString() - Method in class opendial.datastructs.SpeechData
Returns a string representation of the data
toString() - Method in class opendial.datastructs.ValueRange
Returns a string representation for the range
toString() - Method in class opendial.DialogueState
Returns a string representation of the dialogue state
toString() - Method in class opendial.domains.Domain
Returns the domain name.
toString() - Method in class opendial.domains.Model
Returns the string representation of the model
toString() - Method in class opendial.domains.rules.conditions.BasicCondition
Returns a string representation of the condition
toString() - Method in class opendial.domains.rules.conditions.ComplexCondition
Returns a string representation of the complex condition
toString() - Method in class opendial.domains.rules.conditions.NegatedCondition
Returns the string representation of the condition
toString() - Method in class opendial.domains.rules.conditions.VoidCondition
Returns the string "true" indicating that the condition is always trivially true
toString() - Method in class opendial.domains.rules.distribs.AnchoredRule
Returns the pretty print for the rule
toString() - Method in class opendial.domains.rules.distribs.EquivalenceDistribution
Returns a string representation of the distribution
toString() - Method in class opendial.domains.rules.distribs.OutputDistribution
Returns "(output)".
toString() - Method in class opendial.domains.rules.effects.BasicEffect
Returns the string representation of the basic effect
toString() - Method in class opendial.domains.rules.effects.Effect
Returns a string representation for the effect
toString() - Method in class opendial.domains.rules.effects.TemplateEffect
Returns the string representation of the basic effect
toString() - Method in class opendial.domains.rules.parameters.ComplexParameter
Returns the parameter template as a string
toString() - Method in class opendial.domains.rules.parameters.FixedParameter
Returns the parameter value as a string
toString() - Method in class opendial.domains.rules.parameters.SingleParameter
Returns a string representation of the stochastic parameter
toString() - Method in class opendial.domains.rules.Rule
Returns a string representation for the rule
toString() - Method in class opendial.domains.rules.RuleGrounding
Returns a string representation of the set of assignments
toString() - Method in class opendial.domains.rules.RuleOutput
Returns a string representation of the rule case.
toString() - Method in class opendial.inference.approximate.Intervals
Returns a string representation of the intervals
toString() - Method in class opendial.inference.approximate.LikelihoodWeighting
Returns a string representation of the query and number of collected samples
toString() - Method in class opendial.inference.approximate.Sample
Returns a string representation of the weighted sample
toString() - Method in class opendial.inference.exact.DoubleFactor
Returns a string representation of the factor
toString() - Method in class opendial.inference.Query
Returns a string representation of the query.
toString() - Method in class opendial.Settings
Returns a string representation of the settings
toString() - Method in class opendial.templates.FunctionalTemplate
 
toString() - Method in class opendial.templates.StringTemplate
Returns the string itself.
toString() - Method in class opendial.templates.Template.MatchResult
 
translate(int, int) - Method in class opendial.gui.utils.StateViewer
Translates the graph using the given offset
trigger(DialogueState) - Method in class opendial.domains.Model
Triggers the model with the given state and list of recently updated variables.
trigger(DialogueState, Collection<String>) - Method in class opendial.gui.GUIFrame
Updates the current dialogue state displayed in the component.
trigger(DialogueState, Collection<String>) - Method in class opendial.gui.InteractionTab
Triggers the update of the chat window.
trigger(DialogueState, Collection<String>) - Method in class opendial.gui.TextOnlyInterface
Updates the interface with the new content (if relevant).
trigger(DialogueState, Collection<String>) - Method in class opendial.modules.AudioModule
Checks whether the dialogue state contains a updated value for the system speech (by default denoted as s_m).
trigger(DialogueState, Collection<String>) - Method in class opendial.modules.DialogueRecorder
Triggers the recorder with a particular dialogue state and a set of recently updated variables.
trigger(DialogueState, Collection<String>) - Method in class opendial.modules.examples.FlightBookingExample
Checks whether the updated variables contains the system action and (if yes) whether the system action value is "FindOffer" or "Book".
trigger(DialogueState, Collection<String>) - Method in class opendial.modules.examples.ModuleExample1
If the updated variables contain the system action "a_m" and the action is a movement, updates the visual grid in accordance with the movement.
trigger(DialogueState, Collection<String>) - Method in class opendial.modules.examples.ModuleExample2
Does nothing.
trigger(DialogueState, Collection<String>) - Method in class opendial.modules.examples.WizardControl
Triggers the wizard control.
trigger(DialogueState, Collection<String>) - Method in class opendial.modules.ForwardPlanner
Triggers the planning process.
trigger(DialogueState, Collection<String>) - Method in class opendial.modules.learning.RewardLearner
Triggers the reward learner.
trigger(DialogueState, Collection<String>) - Method in class opendial.modules.learning.Simulator
Triggers the simulator by updating the simulator state and generating new observations and user inputs.
trigger(DialogueState, Collection<String>) - Method in class opendial.modules.learning.SocialLearner
 
trigger(DialogueState, Collection<String>) - Method in class opendial.modules.learning.WizardLearner
 
trigger(DialogueState, Collection<String>) - Method in interface opendial.modules.Module
Triggers the module after a state update
trigger(DialogueState, Collection<String>) - Method in class opendial.modules.RemoteConnector
Sends the updated variables through the socket connection.
trigger(DialogueState, Collection<String>) - Method in class opendial.plugins.MaltParser
If the user input variable is updated, parse the utterance and adds a new variable "p_u" with the parsing results.
trigger(DialogueState, Collection<String>) - Method in class opendial.plugins.MaryTTS
If the updated variables contains the system output (and the system is not paused), synthesises the utterance.
trigger(DialogueState, Collection<String>) - Method in class opendial.plugins.NuanceSpeech
If the system output has been updated, trigger the speech synthesis.
trigger(DialogueState, Collection<String>) - Method in class opendial.plugins.SphinxASR
Performs the speech recognition upon receiving a new user speech stream.
trim(Collection<String>) - Method in class opendial.datastructs.Assignment
Trims the assignment, where only the variables given as parameters are considered
trim(Collection<String>) - Method in class opendial.inference.exact.DoubleFactor
Trims the factor to the variables provided as argument.

U

UNDERSPEC_VAR - Static variable in class opendial.gui.utils.XMLView
 
UniformDensityFunction - Class in opendial.bn.distribs.densityfunctions
(Univariate) uniform density function, with a minimum and maximum.
UniformDensityFunction(double, double) - Constructor for class opendial.bn.distribs.densityfunctions.UniformDensityFunction
Creates a new uniform density function with the given minimum and maximum threshold
update() - Method in class opendial.gui.GUIMenuBar
Updates the menu bar.
update(DialogueState) - Method in class opendial.gui.utils.DistributionViewer
Constructs or update the current viewer with the distribution.
updateDistribs() - Method in class opendial.gui.utils.StateViewer
Updates the windows displaying probability distributions.
updateVolume(int) - Method in class opendial.gui.SpeechInputPanel
Updates the volume value in the meter.
userInput - Variable in class opendial.Settings
Variable label for the user input
userSpeech - Variable in class opendial.Settings
Variable label for the user speech signal
UtilityFunction - Interface in opendial.bn.distribs
Generic interface for a utility function (also called value function), mapping every assignment X1, ..., Xn to a scalar utility U(X1, ...., Xn).
UtilityNode - Class in opendial.bn.nodes
Representation of a utility node (sometimes also called utility node)
UtilityNode(String) - Constructor for class opendial.bn.nodes.UtilityNode
Creates a new utility node, with an empty utility distribution
UtilityNode(String, UtilityFunction) - Constructor for class opendial.bn.nodes.UtilityNode
Creates a new utility node, with the given utility distribution
UtilityTable - Class in opendial.bn.distribs
Utility table that is empirically constructed from a set of samples.
UtilityTable() - Constructor for class opendial.bn.distribs.UtilityTable
Creates a new, empty empirical utility table
UtilityTable(Map<Assignment, Double>) - Constructor for class opendial.bn.distribs.UtilityTable
Constructs a new utility distribution, given the values provided as argument
UtilQuery(BNetwork, Collection<String>, Assignment) - Constructor for class opendial.inference.Query.UtilQuery
 

V

validateXML(String, String) - Static method in class opendial.utils.XMLUtils
Validates a XML document containing a specification of a dialogue domain.
Value - Interface in opendial.bn.values
Generic class for a variable value.
VALUE_PRUNING_THRESHOLD - Static variable in class opendial.modules.StatePruner
 
ValueFactory - Class in opendial.bn.values
Factory for creating variable values
ValueFactory() - Constructor for class opendial.bn.values.ValueFactory
 
valueOf(String) - Static method in enum opendial.domains.rules.conditions.BasicCondition.Relation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum opendial.domains.rules.conditions.ComplexCondition.BinaryOperator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum opendial.domains.rules.Rule.RuleType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum opendial.gui.StateMonitorTab.TranslationDirection
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum opendial.gui.StateMonitorTab.ZoomDirection
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum opendial.Settings.Recording
Returns the enum constant of this type with the specified name.
ValueRange - Class in opendial.datastructs
Representation of a range of alternative values for a set of variables.
ValueRange() - Constructor for class opendial.datastructs.ValueRange
Constructs a new, empty range of values.
ValueRange(Set<Assignment>) - Constructor for class opendial.datastructs.ValueRange
Creates a value range out of a set of value assignments
ValueRange(ValueRange, ValueRange) - Constructor for class opendial.datastructs.ValueRange
Constructs a new range that is the union of two existing ranges
ValueRange(Map<String, Set<Value>>) - Constructor for class opendial.datastructs.ValueRange
Constructs a range of values based on the mapping between variables and sets of values
values() - Static method in enum opendial.domains.rules.conditions.BasicCondition.Relation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum opendial.domains.rules.conditions.ComplexCondition.BinaryOperator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum opendial.domains.rules.Rule.RuleType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum opendial.gui.StateMonitorTab.TranslationDirection
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum opendial.gui.StateMonitorTab.ZoomDirection
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum opendial.Settings.Recording
Returns an array containing the constants of this enum type, in the order they are declared.
VariableElimination - Class in opendial.inference.exact
Implementation of the Variable Elimination algorithm.
VariableElimination() - Constructor for class opendial.inference.exact.VariableElimination
 
varsToMonitor - Variable in class opendial.Settings
Other variables to monitor in the chat window
VoidCondition - Class in opendial.domains.rules.conditions
Representation of a void condition, which is always true.
VoidCondition() - Constructor for class opendial.domains.rules.conditions.VoidCondition
 
VOLUME_THRESHOLD - Static variable in class opendial.modules.AudioModule
Threshold for the difference between the current and background audio volume level above which the audio is considered as speech

W

WEIGHT_THRESHOLD - Static variable in class opendial.inference.approximate.LikelihoodWeighting
 
WizardControl - Class in opendial.modules.examples
Module employed in the "Wizard-of-Oz" interaction mode.
WizardControl(DialogueSystem) - Constructor for class opendial.modules.examples.WizardControl
Creates a new wizard control for the dialogue system.
WizardLearner - Class in opendial.modules.learning
Module employed to update parameters when provided with gold-standard actions from Wizard-of-Oz data.
WizardLearner(DialogueSystem) - Constructor for class opendial.modules.learning.WizardLearner
 
wrapWithScrollPane() - Method in class opendial.gui.utils.StateViewer
Wraps the graph viewer in a scroll panel, and returns it
write(byte[]) - Method in class opendial.datastructs.SpeechData
Expands the current speech data by appending a new buffer of audio data
write(InputStream) - Method in class opendial.datastructs.SpeechData
Expands the current speech data by appending the data in the input stream.
writeToFile(String) - Method in class opendial.modules.DialogueRecorder
Write the recorded dialogue to a file
writeToLogArea(MultivariateDistribution) - Method in class opendial.gui.StateMonitorTab
Writes the given distribution in the logging area at the bottom of the window
writeToLogArea(UtilityFunction) - Method in class opendial.gui.StateMonitorTab
Writes the given distribution in the logging area at the bottom of the window
writeXMLDocument(Document, String) - Static method in class opendial.utils.XMLUtils
Writes the XML document to the particular file specified as argument
writeXMLString(Document) - Static method in class opendial.utils.XMLUtils
Writes the XML document as a raw string

X

XMLDialogueReader - Class in opendial.readers
XML reader for previously recorded dialogues.
XMLDialogueReader() - Constructor for class opendial.readers.XMLDialogueReader
 
XMLDomainReader - Class in opendial.readers
XML reader for dialogue domains.
XMLDomainReader() - Constructor for class opendial.readers.XMLDomainReader
 
XMLRuleReader - Class in opendial.readers
Extraction of a probabilistic rule given an XML specification
XMLRuleReader() - Constructor for class opendial.readers.XMLRuleReader
 
XMLStateReader - Class in opendial.readers
XML reader for the initial state specification (and for parameters):
XMLStateReader() - Constructor for class opendial.readers.XMLStateReader
 
XMLUtils - Class in opendial.utils
Utility functions for manipulating XML content
XMLUtils() - Constructor for class opendial.utils.XMLUtils
 
XMLView - Class in opendial.gui.utils
XML view for the domain editor kit.
XMLView(Element) - Constructor for class opendial.gui.utils.XMLView
 

Z

zoomIn() - Method in class opendial.gui.utils.StateViewer
Zoom in on the graph by a factor 1.1
zoomOut() - Method in class opendial.gui.utils.StateViewer
Zoom out on the graph by a factor 1/1.1
A B C D E F G H I J K L M N O P Q R S T U V W X Z 
Skip navigation links