struct DAG::Tip

Defined in:

dag.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(vertex : DAG::Vertex, distance : Int32, branch_root : DAG::Vertex | Nil) #

[View source]

Instance Method Detail

def branch_root : DAG::Vertex | Nil #

def clone #

[View source]
def copy_with(vertex _vertex = @vertex, distance _distance = @distance, branch_root _branch_root = @branch_root) #

[View source]
def distance : Int32 #

def vertex : DAG::Vertex #