class Shortest::Path::Edge

Attributes

dst[RW]
length[RW]
src[RW]

Public Class Methods

new(src, dst, length) click to toggle source
# File lib/shortest/path/general.rb, line 6
def initialize(src, dst, length)
  @src=src
  @dst=dst
  @length=length
end