class

Advent::Day19::State

Inherits Reference < Object

Constructors

new(blueprint : Advent::Day19::Blueprint, time : Int32)
Source

Instance methods

blueprint
Source
blueprint=(blueprint : Blueprint)
Source
children
Source
children=(children : Array(Advent::Day19::State))
Source
clay
Source
clay=(clay : Int32)
Source
clay_robots
Source
clay_robots=(clay_robots : Int32)
Source
dup

Returns a shallow copy of this object.

This allocates a new object and copies the contents of self into it.

Source
evaluated
Source
evaluated=(evaluated : Bool)
Source
future_score(depth)
Source
geode
Source
geode=(geode : Int32)
Source
geode_robots
Source
geode_robots=(geode_robots : Int32)
Source
log=(log : Array(String))
Source
obby
Source
obby=(obby : Int32)
Source
obby_robots
Source
obby_robots=(obby_robots : Int32)
Source
ore=(ore : Int32)
Source
ore_robots
Source
ore_robots=(ore_robots : Int32)
Source
produce
Source
score
Source
step
Source
time
Source
time=(time : Int32)
Source