Struct Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TThis>.Determinization.WeightedState
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public struct WeightedState : IComparable, IComparable<Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TThis>.Determinization.WeightedState>
Constructors
WeightedState(Int32, Weight)
Declaration
public WeightedState(int index, Weight weight)
Parameters
Properties
Index
Declaration
public readonly int Index { get; }
Property Value
Weight
Declaration
public readonly Weight Weight { get; }
Property Value
WeightHighBits
High bits of the state weight. Only these bits are used when comparing weighted states
for equality or when calculating hash code.
Declaration
public readonly int WeightHighBits { get; }
Property Value
Methods
CompareTo(Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TThis>.Determinization.WeightedState)
Declaration
public int CompareTo(Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TThis>.Determinization.WeightedState that)
Parameters
Returns
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Equals(Int32, Weight)
Declaration
public bool Equals(int index, Weight weight)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements