Class ListAutomaton<TElement, TElementDistribution>
An automaton defined on generic lists.
Inheritance
Automaton<List<TElement>, TElement, TElementDistribution, ListManipulator<List<TElement>, TElement>, ListAutomaton<TElement, TElementDistribution>>
ListAutomaton<List<TElement>, TElement, TElementDistribution, ListAutomaton<TElement, TElementDistribution>>
ListAutomaton<TElement, TElementDistribution>
Implements
WeightFunctions.IWeightFunction<ListAutomaton<TElement, TElementDistribution>>
IEquatable<ListAutomaton<TElement, TElementDistribution>>
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions.Automata
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class ListAutomaton<TElement, TElementDistribution> : ListAutomaton<List<TElement>, TElement, TElementDistribution, ListAutomaton<TElement, TElementDistribution>>, WeightFunctions<List<TElement>, TElement, TElementDistribution, ListManipulator<List<TElement>, TElement>, ListAutomaton<TElement, TElementDistribution>>.IWeightFunction<ListAutomaton<TElement, TElementDistribution>>, WeightFunctions<List<TElement>, TElement, TElementDistribution, ListManipulator<List<TElement>, TElement>, ListAutomaton<TElement, TElementDistribution>>.IWeightFunction, IEquatable<ListAutomaton<TElement, TElementDistribution>> where TElementDistribution : IImmutableDistribution<TElement, TElementDistribution>, CanGetLogAverageOf<TElementDistribution>, CanComputeProduct<TElementDistribution>, CanCreatePartialUniform<TElementDistribution>, SummableExactly<TElementDistribution>, new()
Type Parameters
Name | Description |
---|---|
TElement | The type of a list element. |
TElementDistribution | The type of a distribution over a list element. |
Constructors
ListAutomaton()
Declaration
public ListAutomaton()
Methods
GetOutgoingTransitionsForDeterminization(Automaton<List<TElement>, TElement, TElementDistribution, ListManipulator<List<TElement>, TElement>, ListAutomaton<TElement, TElementDistribution>>.Determinization.WeightedStateSet)
Computes a set of outgoing transitions from a given state of the determinization result.
Declaration
protected override IEnumerable<Automaton<List<TElement>, TElement, TElementDistribution, ListManipulator<List<TElement>, TElement>, ListAutomaton<TElement, TElementDistribution>>.Determinization.OutgoingTransition> GetOutgoingTransitionsForDeterminization(Automaton<List<TElement>, TElement, TElementDistribution, ListManipulator<List<TElement>, TElement>, ListAutomaton<TElement, TElementDistribution>>.Determinization.WeightedStateSet sourceState)
Parameters
Type | Name | Description |
---|---|---|
Automaton.Determinization.WeightedStateSet<> | sourceState | The source state of the determinized automaton represented as a set of (stateId, weight) pairs, where state ids correspond to states of the original automaton. |
Returns
Type | Description |
---|---|
IEnumerable<Automaton.Determinization.OutgoingTransition<>> | A collection of (element distribution, weight, weighted state set) triples corresponding to outgoing transitions from |
Overrides
Microsoft.ML.Probabilistic.Distributions.Automata.Automaton<System.Collections.Generic.List<TElement>, TElement, TElementDistribution, Microsoft.ML.Probabilistic.Distributions.Automata.ListManipulator<System.Collections.Generic.List<TElement>, TElement>, Microsoft.ML.Probabilistic.Distributions.Automata.ListAutomaton<TElement, TElementDistribution>>.GetOutgoingTransitionsForDeterminization(Microsoft.ML.Probabilistic.Distributions.Automata.Automaton.Determinization.WeightedStateSet<>)