Click or drag to resize
SparseSequence Constructor
Overload List
  NameDescription
Public methodSparseSequence(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.
Public methodSparseSequence(ISequence)
Creates a sparse sequence based on the new passed sequence.
Public methodSparseSequence(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.
Public methodSparseSequence(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.
Public methodSparseSequence(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.
Top
See Also