class RubyAi::Search::Core::Queue

Public Instance Methods

append(element:) click to toggle source
# File lib/ruby_ai/search/core/frontier.rb, line 35
def append(element:)
  @store.unshift(element)
  self
end
pop() click to toggle source
# File lib/ruby_ai/search/core/frontier.rb, line 40
def pop
  @store.pop
end