- 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
-
- 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
-
- 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.
- 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.
- 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
- 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.