Sha256: 9a9c9121882bca6cd8e4521f0e01be017771bf6f66cd479307a77b2de974cb2c

Contents?: true

Size: 567 Bytes

Versions: 4

Compression:

Stored size: 567 Bytes

Contents

# frozen_string_literal: true

module Suika
  # @!visibility private
  class Node
    # @!visibility private
    attr_accessor :surface, :unknown, :min_cost, :min_prev, :left_id, :right_id, :cost, :attrs

    # @!visibility private
    def initialize(surface: '', unknown: false, min_cost: 0, min_prev: nil, left_id: 0, right_id: 0, cost: 0, attrs: [])
      @surface = surface
      @unknown = unknown
      @min_cost = min_cost
      @min_prev = min_prev
      @left_id = left_id
      @right_id = right_id
      @cost = cost
      @attrs = attrs
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
suika-0.3.2 lib/suika/node.rb
suika-0.3.1 lib/suika/node.rb
suika-0.3.0 lib/suika/node.rb
suika-0.2.0 lib/suika/node.rb