class Advent::Day19::State

Defined in:

day19.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(blueprint : Advent::Day19::Blueprint, time : Int32) #

[View source]

Instance Method Detail

def blueprint : Blueprint #

[View source]
def blueprint=(blueprint : Blueprint) #

[View source]
def children : Array(Advent::Day19::State) #

[View source]
def children=(children : Array(Advent::Day19::State)) #

[View source]
def clay : Int32 #

[View source]
def clay=(clay : Int32) #

[View source]
def clay_robots : Int32 #

[View source]
def clay_robots=(clay_robots : Int32) #

[View source]
def dup #
Description copied from class Reference

Returns a shallow copy of this object.

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


[View source]
def evaluated : Bool #

[View source]
def evaluated=(evaluated : Bool) #

[View source]
def future_score(depth) #

[View source]
def geode : Int32 #

[View source]
def geode=(geode : Int32) #

[View source]
def geode_robots : Int32 #

[View source]
def geode_robots=(geode_robots : Int32) #

[View source]
def log : Array(String) #

[View source]
def log=(log : Array(String)) #

[View source]
def obby : Int32 #

[View source]
def obby=(obby : Int32) #

[View source]
def obby_robots : Int32 #

[View source]
def obby_robots=(obby_robots : Int32) #

[View source]
def ore : Int32 #

[View source]
def ore=(ore : Int32) #

[View source]
def ore_robots : Int32 #

[View source]
def ore_robots=(ore_robots : Int32) #

[View source]
def produce #

[View source]
def score #

[View source]
def step #

[View source]
def time : Int32 #

[View source]
def time=(time : Int32) #

[View source]