Method | Description | |
---|---|---|
Chain ( ) : System.Collections.Generic |
Initializes a new instance of the Chain class.
|
|
Chain ( List |
Initializes a new instance of the Chain class from string. Each character becomes element.
|
|
Chain ( int length ) : System.Collections.Generic |
Initializes a new instance of the Chain class.
|
|
Chain ( int building, Alphabet alphabet ) : System.Collections.Generic |
Initializes a new instance of the Chain class with provided building and alphabet. Only simple validation is made.
|
|
Chain ( int building, Alphabet alphabet, long id ) : System.Collections.Generic |
Initializes a new instance of the Chain class with provided building and alphabet. Only simple validation is made.
|
|
Chain ( string source ) : System.Collections.Generic |
Initializes a new instance of the Chain class from string. Each character becomes element.
|
|
ClearAndSetNewLength ( int length ) : void |
Deletes chain (building and alphabet) and creates new empty chain with given length.
|
|
Clone ( ) : IBaseObject |
Creates clone of this chain.
|
|
CongenericChain ( IBaseObject baseObject ) : |
Returns clone of congeneric sequence of given element. If there is no such element in chain returns null.
|
|
CongenericChain ( int index ) : |
Returns clone of congeneric sequence by index of its element in alphabet.
|
|
DeleteAt ( int index ) : void |
Removes element from given position.
|
|
FillIntervalManagers ( ) : void |
Fills all interval managers.
|
|
GetOccurrence ( IBaseObject element, int entry ) : int |
Returns position of given occurrence of given element.
|
|
GetOrCreateCongenericChain ( IBaseObject element ) : |
Gets or creates congeneric chain.
|
|
GetRelationIntervalsManager ( IBaseObject first, IBaseObject second ) : BinaryIntervalsManager |
The get relation intervals manager.
|
|
GetRelationIntervalsManager ( int first, int second ) : BinaryIntervalsManager |
The get relation interval manager.
|
|
RemoveAt ( int index ) : void |
The remove at.
|
|
Set ( IBaseObject item, int index ) : void |
Sets item in provided position.
|
|
TryGetCongenericChain ( IBaseObject element ) : |
Tries to get congeneric chain. if there is no such chain returns null.
|
Method | Description | |
---|---|---|
FillClone ( IBaseObject clone ) : void |
Fills clone of this chain.
|
Method | Description | |
---|---|---|
FillCongenericChains ( ) : void |
Fills all congeneric chains of this chain. All congeneric sequences stored in congenericChains field.
|
public Chain ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public Chain ( List |
||
source | List |
/// The source string. /// |
return | System.Collections.Generic |
public Chain ( int length ) : System.Collections.Generic | ||
length | int | /// The length of chain. /// |
return | System.Collections.Generic |
public Chain ( int building, Alphabet alphabet ) : System.Collections.Generic | ||
building | int | /// The building of chain. /// |
alphabet | Alphabet | /// The alphabet of chain. /// |
return | System.Collections.Generic |
public Chain ( int building, Alphabet alphabet, long id ) : System.Collections.Generic | ||
building | int | /// The building of chain. /// |
alphabet | Alphabet | /// The alphabet of chain. /// |
id | long | /// Id of sequence. /// |
return | System.Collections.Generic |
public Chain ( string source ) : System.Collections.Generic | ||
source | string | /// The source string. /// |
return | System.Collections.Generic |
public ClearAndSetNewLength ( int length ) : void | ||
length | int | /// New chain length. /// |
return | void |
public CongenericChain ( IBaseObject baseObject ) : |
||
baseObject | IBaseObject | /// Element of congeneric chain. /// |
return |
public CongenericChain ( int index ) : |
||
index | int | /// Index of element of congeneric chain in alphabet. /// |
return |
public DeleteAt ( int index ) : void | ||
index | int | /// Index of deleted position. /// |
return | void |
protected FillClone ( IBaseObject clone ) : void | ||
clone | IBaseObject | /// The clone of chain. /// |
return | void |
public GetOccurrence ( IBaseObject element, int entry ) : int | ||
element | IBaseObject | /// Element to find. /// |
entry | int | /// occurrence of given element. /// |
return | int |
public GetOrCreateCongenericChain ( IBaseObject element ) : |
||
element | IBaseObject | /// The element of congeneric chain. /// |
return |
public GetRelationIntervalsManager ( IBaseObject first, IBaseObject second ) : BinaryIntervalsManager | ||
first | IBaseObject | /// The first. /// |
second | IBaseObject | /// The second. /// |
return | BinaryIntervalsManager |
public GetRelationIntervalsManager ( int first, int second ) : BinaryIntervalsManager | ||
first | int | /// The first. /// |
second | int | /// The second. /// |
return | BinaryIntervalsManager |
public RemoveAt ( int index ) : void | ||
index | int | /// Index of deleted element. /// |
return | void |
public Set ( IBaseObject item, int index ) : void | ||
item | IBaseObject | /// The item. /// |
index | int | /// The index. /// |
return | void |
public TryGetCongenericChain ( IBaseObject element ) : |
||
element | IBaseObject | /// The element of seeked congeneric chain. /// |
return |