# GH_MarkovPattern class

Namespace: [Grasshopper.Kernel](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_MarkovPattern : IComparable<GH_MarkovPattern>
```

Represents a Markov chain pattern and associated outcomes.

## Constructors

- [GH_MarkovPattern](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-markovpattern/ctor.md): (3 overloads)

## Properties

- [Depth](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-markovpattern/depth.md): Gets the depth this pattern as implied by the pattern length.
- [IsInsignificant](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-markovpattern/isinsignificant.md): Gets a value indicating whether or not this pattern is insignificant in the grand scheme of things.
- [MaximumValence](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-markovpattern/maximumvalence.md): Gets the highest outcome valence in this pattern.
- [Outcomes](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-markovpattern/outcomes.md): Gets all the outcomes associated with this pattern.
- [Pattern](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-markovpattern/pattern.md): Gets the pattern of GUIDs.

## Methods

- [AppendOutcome](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-markovpattern/appendoutcome.md): (2 overloads) Append a new outcome to this pattern or increment an existing outcome.
- [CompareTo](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-markovpattern/compareto.md)
- [RemoveInsignificantOutcomes](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-markovpattern/removeinsignificantoutcomes.md): Remove all insignificant outcomes from this pattern.
- [Simplify](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-markovpattern/simplify.md): Simplify this pattern by removing the least significant outcomes.
