Struct LinearWalk
Range that walks linearly through its scaffold graph.
struct LinearWalk(T)
;
Constructors
Name | Description |
---|---|
this
(scaffold, startNode, incidentEdgesCache)
|
See linearWalk instead.
|
Fields
Name | Type | Description |
---|---|---|
_isCyclic
|
Flag!"isCyclic" | |
currentJoin
|
Join!T | |
currentNodeIdx
|
size_t | |
incidentEdgesCache
|
IncidentEdgesCache!T | |
isEmpty
|
bool | |
scaffold
|
Scaffold!T | |
visitedNodes
|
NaturalNumberSet |
Properties
Name | Type | Description |
---|---|---|
currentNode [get]
|
ContigNode | |
currentNode [set]
|
ContigNode | |
empty [get]
|
bool | Input range interface. |
front [get]
|
Join!T | Input range interface. |
isCyclic [get]
|
Flag!"isCyclic" | Set to Yes if a cycle was detected.
|
Methods
Name | Description |
---|---|
endOfWalk
()
|
|
lastEdgeOfCycle
()
|
|
markVisited
(nodeIdx)
|
|
popFront
()
|
Input range interface. |