Class ListAutomaton<TList, TElement, TElementDistribution>
An automaton defined on types implementing IList<T>.
Inheritance
Automaton<TList, TElement, TElementDistribution, ListManipulator<TList, TElement>, ListAutomaton<TList, TElement, TElementDistribution>>
ListAutomaton<TList, TElement, TElementDistribution, ListAutomaton<TList, TElement, TElementDistribution>>
ListAutomaton<TList, TElement, TElementDistribution>
Implements
WeightFunctions.IWeightFunction<ListAutomaton<TList, TElement, TElementDistribution>>
IEquatable<ListAutomaton<TList, TElement, TElementDistribution>>
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions.Automata
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class ListAutomaton<TList, TElement, TElementDistribution> : ListAutomaton<TList, TElement, TElementDistribution, ListAutomaton<TList, TElement, TElementDistribution>>, WeightFunctions<TList, TElement, TElementDistribution, ListManipulator<TList, TElement>, ListAutomaton<TList, TElement, TElementDistribution>>.IWeightFunction<ListAutomaton<TList, TElement, TElementDistribution>>, WeightFunctions<TList, TElement, TElementDistribution, ListManipulator<TList, TElement>, ListAutomaton<TList, TElement, TElementDistribution>>.IWeightFunction, IEquatable<ListAutomaton<TList, TElement, TElementDistribution>> where TList : class, IList<TElement>, new()
where TElementDistribution : IImmutableDistribution<TElement, TElementDistribution>, CanGetLogAverageOf<TElementDistribution>, CanComputeProduct<TElementDistribution>, CanCreatePartialUniform<TElementDistribution>, SummableExactly<TElementDistribution>, new()
Type Parameters
Name | Description |
---|---|
TList | The type of a list the automaton is defined on. |
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<TList, TElement, TElementDistribution, ListManipulator<TList, TElement>, ListAutomaton<TList, TElement, TElementDistribution>>.Determinization.WeightedStateSet)
Computes a set of outgoing transitions from a given state of the determinization result.
Declaration
protected override IEnumerable<Automaton<TList, TElement, TElementDistribution, ListManipulator<TList, TElement>, ListAutomaton<TList, TElement, TElementDistribution>>.Determinization.OutgoingTransition> GetOutgoingTransitionsForDeterminization(Automaton<TList, TElement, TElementDistribution, ListManipulator<TList, TElement>, ListAutomaton<TList, 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<TList, TElement, TElementDistribution, Microsoft.ML.Probabilistic.Distributions.Automata.ListManipulator<TList, TElement>, Microsoft.ML.Probabilistic.Distributions.Automata.ListAutomaton<TList, TElement, TElementDistribution>>.GetOutgoingTransitionsForDeterminization(Microsoft.ML.Probabilistic.Distributions.Automata.Automaton.Determinization.WeightedStateSet<>)