module DAG

Extended Modules

Defined in:

dag.cr

Instance Method Summary

Instance Method Detail

def distances(from vertex : DAG::Vertex, visited = Hash(DAG::Vertex::Name, Bool).new(false), stack = Hash(DAG::Vertex, Int32).new(0)) : Hash(DAG::Vertex, Int32) #

[View source]
def tip_of_longest_branch(from vertex : DAG::Vertex) : Array #

[View source]