class Graphos::Weighted::Edge
This class represents an edge in a weighted graph
Attributes
from[R]
to[R]
weight[R]
Public Class Methods
new(from, to, weight)
click to toggle source
# File lib/graphos/weighted/edge.rb, line 9 def initialize from, to, weight @from, @to, @weight = from, to, weight end