module DAG

Extended Modules

Defined in:

dag.cr

Instance Method Summary

Instance Method Detail

def tip_of_longest_branch(from vertex : DAG::Vertex) : DAG::Tip #

[View source]
def tip_of_longest_branch(from tips : Array(DAG::Tip)) : DAG::Tip #

[View source]
def tips(from vertex : Vertex, visited = Hash(Vertex::Name, Bool).new(false), distance = Hash(Vertex, Int32).new(0), tips = Array(DAG::Tip).new, start : Vertex | Nil = nil, current_branch_root : Vertex | Nil = nil) : Array(DAG::Tip) #

[View source]