Sha256: 01b38666c138c310d9f2dfe90d38dda161ff5f5a8199c08cb981b09048882c20

Contents?: true

Size: 258 Bytes

Versions: 10

Compression:

Stored size: 258 Bytes

Contents

  class Edge
    # Made up of a
    attr_reader :connection
    # Contains
    attr_accessor :value
    def initialize(v1, v2, value = Hash.new)
      @connection = [v1, v2]
      @value = value
    end

    def inspect
      @connection.to_s
    end

  end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
zadt-1.1.7 lib/zadt/AbstractDataTypes/Graph/edge.rb
zadt-1.1.6 lib/zadt/AbstractDataTypes/Graph/edge.rb
zadt-1.1.5 lib/zadt/AbstractDataTypes/Graph/edge.rb
zadt-1.1.4 lib/zadt/AbstractDataTypes/Graph/edge.rb
zadt-1.1.3 lib/zadt/AbstractDataTypes/Graph/edge.rb
zadt-1.1.2 lib/zadt/AbstractDataTypes/Graph/edge.rb
zadt-1.1.1 lib/zadt/AbstractDataTypes/Graph/edge.rb
zadt-1.1.0 lib/zadt/AbstractDataTypes/Graph/edge.rb
zadt-0.1.9 lib/zadt/AbstractDataTypes/Graph/edge.rb
zadt-0.1.8 lib/zadt/AbstractDataTypes/Graph/edge.rb