SparseSequence Constructor |
Name | Description | |
---|---|---|
SparseSequence(IAlphabet) |
Creates a SparseSequence with no sequence data.
Count property of SparseSequence instance created by using this constructor will be set to zero.
For working with sequences that never have sequence data, but are
only used for metadata storage (like keeping an ID or various features
but no direct sequence data) consider using the VirtualSequence
class instead.
| |
SparseSequence(ISequence) |
Creates a sparse sequence based on the new passed sequence.
| |
SparseSequence(IAlphabet, Int32) |
Creates a SparseSequence with no sequence data.
Count property of SparseSequence instance created by using this constructor will be
set a value specified by size parameter.
For working with sequences that never have sequence data, but are
only used for metadata storage (like keeping an ID or various features
but no direct sequence data) consider using the VirtualSequence
class instead.
| |
SparseSequence(IAlphabet, Int32, Byte) |
Creates a sparse sequence based on the specified parameters.
The item parameter must contain an alphabet as specified in the alphabet parameter,
else an exception will occur.
The index parameter value must be a non negative value.
Count property of an instance created by this constructor will be set to value of index + 1.
| |
SparseSequence(IAlphabet, Int32, IEnumerableByte) |
Creates a sparse sequence based on the specified parameters.
The sequenceItems parameter must contain sequence items known by the specified alphabet,
else an exception will occur.
The index parameter value must be a non negative.
|