Sha256: 8352af08cfc1f5f4396181fd524470e1c1ddd7bea7ea6bfea7a676aaa584cd48

Contents?: true

Size: 304 Bytes

Versions: 6

Compression:

Stored size: 304 Bytes

Contents

require 'tangle/graph'
require 'tangle/simple/edge'

module Tangle
  module Simple
    #
    # A simple graph, without loops and multiple edges
    class Graph < Tangle::Graph
      Edge = Tangle::Simple::Edge

      private

      def initialize_edges
        @edges = Set[]
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tangle-0.6.5 lib/tangle/simple/graph.rb
tangle-0.6.4 lib/tangle/simple/graph.rb
tangle-0.6.3 lib/tangle/simple/graph.rb
tangle-0.6.2 lib/tangle/simple/graph.rb
tangle-0.6.1 lib/tangle/simple/graph.rb
tangle-0.6.0 lib/tangle/simple/graph.rb