Class Sequence<T>

Namespace
NOpenNLP.Tools.Ml.Model
Assembly
NOpenNLP.Tools.dll

Class which models a sequence.

public class Sequence<T>

Type Parameters

T

The type of the object which is the source of this sequence.

Inheritance
Sequence<T>
Inherited Members

Constructors

Sequence(Event[], T)

Class which models a sequence.

public Sequence(Event[] events, T source)

Parameters

events Event[]

The events of the sequence.

source T

The source object for this sequence.

Properties

Events

Gets the events which make up this sequence.

public virtual Event[] Events { get; }

Property Value

Event[]

Source

Gets an object from which this sequence can be derived. This object is used when the events for this sequence need to be re-derived such as in a call to UpdateContext(Sequence<T>, AbstractModel).

public virtual T Source { get; }

Property Value

T