Struct Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TThis>.StateCollection
Represents a collection of automaton states for use in public APIs
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public readonly struct StateCollection : IReadOnlyList<Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TThis>.State>, IReadOnlyCollection<Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TThis>.State>, IEnumerable<Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TThis>.State>, IEnumerable
Properties
Count
Declaration
public readonly int Count { get; }
Property Value
Item[Int32]
Declaration
public readonly Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TThis>.State this[int index] { get; }
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Property Value
Methods
GetEnumerator()
Returns enumerator over all states.
Declaration
public readonly Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TThis>.StateCollection.StateEnumerator GetEnumerator()
Returns
Explicit Interface Implementations
IEnumerable<Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TThis>.State>.GetEnumerator()
Declaration
readonly IEnumerator<Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TThis>.State> IEnumerable<Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TThis>.State>.GetEnumerator()
Returns
IEnumerable.GetEnumerator()
Declaration
readonly IEnumerator IEnumerable.GetEnumerator()
Returns
Implements
Extension Methods