GH_MarkovPattern

References
Represents a Markov chain pattern and associated outcomes.

Constructors

GH_MarkovPattern

#
public GH_MarkovPattern()

GH_MarkovPattern

#
public GH_MarkovPattern(
GH_MarkovPattern
other
)

GH_MarkovPattern

#
public GH_MarkovPattern(
params Guid[]
pat
)

Properties

Depth

#
Gets the depth this pattern as implied by the pattern length.
public int Depth { get; }

IsInsignificant

#
Gets a value indicating whether or not this pattern is insignificant in the grand scheme of things.
public bool IsInsignificant { get; }

MaximumValence

#
Gets the highest outcome valence in this pattern.
public long MaximumValence { get; }

Outcomes

#
Gets all the outcomes associated with this pattern.
public List<GH_MarkovOutcome> Outcomes { get; }

Pattern

#
Gets the pattern of GUIDs.
public Guid[] Pattern { get; }

Methods

AppendOutcome

#
Append a new outcome to this pattern or increment an existing outcome.
public void AppendOutcome(
outcome
Outcome to increment or append.
)

AppendOutcome

#
Append a new outcome to this pattern or increment an existing outcome.
public void AppendOutcome(
id
ID of outcome to increment or append.
)

CompareTo

#
public int CompareTo()

RemoveInsignificantOutcomes

#
Remove all insignificant outcomes from this pattern.
public void RemoveInsignificantOutcomes()

Simplify

#
Simplify this pattern by removing the least significant outcomes.
public void Simplify()