Click or drag to resize

PropagationStateArray Structure

Provides a means of specifying an indexable object which represents a set of values mapping a subset of the overall state elements. The sub-elements are defined by a set of indices into the overall state.

Namespace:  AGI.Foundation.Propagators
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public struct PropagationStateArray : IEquatable<PropagationStateArray>

The PropagationStateArray type exposes the following members.

Constructors
  NameDescription
Public methodPropagationStateArray
Initializes a new instance.
Top
Properties
  NameDescription
Public propertyIndicesIntoOverallState
Gets the set of indices for each sub-state element which represent the indices into the OverallState.
Public propertyItem
Gets or sets the value of the element at the given sub-state index. The value represents the element in the overall state at
Public propertyLength
Gets the length of this sub-state.
Public propertyOverallState
Gets the overall state array which this sub-state maps into.
Top
Methods
  NameDescription
Public methodEquals(Object)
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(PropagationStateArray)
Indicates whether another instance of this type is exactly equal to this instance.
Public methodGetHashCode
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Returns if the two instances are exactly equal.
Public operatorStatic memberInequality
Returns if the two instances are not exactly equal.
Top
See Also