class Edge

Attributes

connection[R]

Made up of a

value[RW]

Contains

Public Class Methods

new(v1, v2, value = Hash.new) click to toggle source
# File lib/zadt/AbstractDataTypes/Graph/edge.rb, line 6
def initialize(v1, v2, value = Hash.new)
  @connection = [v1, v2]
  @value = value
end

Public Instance Methods

inspect() click to toggle source
# File lib/zadt/AbstractDataTypes/Graph/edge.rb, line 11
def inspect
  @connection.to_s
end