Class TransducerBase<TSrcSequence, TSrcElement, TSrcElementDistribution, TSrcSequenceManipulator, TSrcAutomaton, TDestSequence, TDestElement, TDestElementDistribution, TDestSequenceManipulator, TDestAutomaton, TPairDistribution, TThis>.PairListAutomaton
Represents an automaton that maps lists of element pairs to real values. Such automata are used to represent transducers internally.
Inheritance
Automaton<List<(T1, T2)<Option<TSrcElement>, Option<TDestElement>>>, (T1, T2)<Option<TSrcElement>, Option<TDestElement>>, TPairDistribution, ListManipulator<List<(T1, T2)<Option<TSrcElement>, Option<TDestElement>>>, (T1, T2)<Option<TSrcElement>, Option<TDestElement>>>, TransducerBase.PairListAutomaton<>>
ListAutomaton<List<(T1, T2)<Option<TSrcElement>, Option<TDestElement>>>, (T1, T2)<Option<TSrcElement>, Option<TDestElement>>, TPairDistribution, TransducerBase.PairListAutomaton<>>
TransducerBase<TSrcSequence, TSrcElement, TSrcElementDistribution, TSrcSequenceManipulator, TSrcAutomaton, TDestSequence, TDestElement, TDestElementDistribution, TDestSequenceManipulator, TDestAutomaton, TPairDistribution, TThis>.PairListAutomaton
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions.Automata
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
protected class PairListAutomaton : ListAutomaton<List<(Option<TSrcElement>, Option<TDestElement>)>, (Option<TSrcElement>, Option<TDestElement>), TPairDistribution, TransducerBase<TSrcSequence, TSrcElement, TSrcElementDistribution, TSrcSequenceManipulator, TSrcAutomaton, TDestSequence, TDestElement, TDestElementDistribution, TDestSequenceManipulator, TDestAutomaton, TPairDistribution, TThis>.PairListAutomaton>, WeightFunctions<List<(Option<TSrcElement>, Option<TDestElement>)>, (Option<TSrcElement>, Option<TDestElement>), TPairDistribution, ListManipulator<List<(Option<TSrcElement>, Option<TDestElement>)>, (Option<TSrcElement>, Option<TDestElement>)>, TransducerBase<TSrcSequence, TSrcElement, TSrcElementDistribution, TSrcSequenceManipulator, TSrcAutomaton, TDestSequence, TDestElement, TDestElementDistribution, TDestSequenceManipulator, TDestAutomaton, TPairDistribution, TThis>.PairListAutomaton>.IWeightFunction<TransducerBase<TSrcSequence, TSrcElement, TSrcElementDistribution, TSrcSequenceManipulator, TSrcAutomaton, TDestSequence, TDestElement, TDestElementDistribution, TDestSequenceManipulator, TDestAutomaton, TPairDistribution, TThis>.PairListAutomaton>, WeightFunctions<List<(Option<TSrcElement>, Option<TDestElement>)>, (Option<TSrcElement>, Option<TDestElement>), TPairDistribution, ListManipulator<List<(Option<TSrcElement>, Option<TDestElement>)>, (Option<TSrcElement>, Option<TDestElement>)>, TransducerBase<TSrcSequence, TSrcElement, TSrcElementDistribution, TSrcSequenceManipulator, TSrcAutomaton, TDestSequence, TDestElement, TDestElementDistribution, TDestSequenceManipulator, TDestAutomaton, TPairDistribution, TThis>.PairListAutomaton>.IWeightFunction, IEquatable<TransducerBase<TSrcSequence, TSrcElement, TSrcElementDistribution, TSrcSequenceManipulator, TSrcAutomaton, TDestSequence, TDestElement, TDestElementDistribution, TDestSequenceManipulator, TDestAutomaton, TPairDistribution, TThis>.PairListAutomaton>
Methods
GetOutgoingTransitionsForDeterminization(Automaton<List<(Option<TSrcElement>, Option<TDestElement>)>, (Option<TSrcElement>, Option<TDestElement>), TPairDistribution, ListManipulator<List<(Option<TSrcElement>, Option<TDestElement>)>, (Option<TSrcElement>, Option<TDestElement>)>, TransducerBase<TSrcSequence, TSrcElement, TSrcElementDistribution, TSrcSequenceManipulator, TSrcAutomaton, TDestSequence, TDestElement, TDestElementDistribution, TDestSequenceManipulator, TDestAutomaton, TPairDistribution, TThis>.PairListAutomaton>.Determinization.WeightedStateSet)
Computes a set of outgoing transitions from a given state of the determinization result.
Declaration
protected override IEnumerable<Automaton<List<(Option<TSrcElement>, Option<TDestElement>)>, (Option<TSrcElement>, Option<TDestElement>), TPairDistribution, ListManipulator<List<(Option<TSrcElement>, Option<TDestElement>)>, (Option<TSrcElement>, Option<TDestElement>)>, TransducerBase<TSrcSequence, TSrcElement, TSrcElementDistribution, TSrcSequenceManipulator, TSrcAutomaton, TDestSequence, TDestElement, TDestElementDistribution, TDestSequenceManipulator, TDestAutomaton, TPairDistribution, TThis>.PairListAutomaton>.Determinization.OutgoingTransition> GetOutgoingTransitionsForDeterminization(Automaton<List<(Option<TSrcElement>, Option<TDestElement>)>, (Option<TSrcElement>, Option<TDestElement>), TPairDistribution, ListManipulator<List<(Option<TSrcElement>, Option<TDestElement>)>, (Option<TSrcElement>, Option<TDestElement>)>, TransducerBase<TSrcSequence, TSrcElement, TSrcElementDistribution, TSrcSequenceManipulator, TSrcAutomaton, TDestSequence, TDestElement, TDestElementDistribution, TDestSequenceManipulator, TDestAutomaton, TPairDistribution, TThis>.PairListAutomaton>.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<System.ValueTuple<Microsoft.ML.Probabilistic.Collections.Option<TSrcElement>, Microsoft.ML.Probabilistic.Collections.Option<TDestElement>>>, System.ValueTuple<Microsoft.ML.Probabilistic.Collections.Option<TSrcElement>, Microsoft.ML.Probabilistic.Collections.Option<TDestElement>>, TPairDistribution, Microsoft.ML.Probabilistic.Distributions.Automata.ListManipulator<System.Collections.Generic.List<System.ValueTuple<Microsoft.ML.Probabilistic.Collections.Option<TSrcElement>, Microsoft.ML.Probabilistic.Collections.Option<TDestElement>>>, System.ValueTuple<Microsoft.ML.Probabilistic.Collections.Option<TSrcElement>, Microsoft.ML.Probabilistic.Collections.Option<TDestElement>>>, Microsoft.ML.Probabilistic.Distributions.Automata.TransducerBase<TSrcSequence, TSrcElement, TSrcElementDistribution, TSrcSequenceManipulator, TSrcAutomaton, TDestSequence, TDestElement, TDestElementDistribution, TDestSequenceManipulator, TDestAutomaton, TPairDistribution, TThis>.PairListAutomaton>.GetOutgoingTransitionsForDeterminization(Microsoft.ML.Probabilistic.Distributions.Automata.Automaton.Determinization.WeightedStateSet<>)