class

Aoc::Day11::SeatMap

Inherits Reference < Object

Constructors

new(lines : Array(String))
Source
new(seats : Array(Array(Seat)))
Source

Instance methods

==(other)

Returns false (other can only be a Value here).

Source
converge(crowding_point, &count_adjacent_seats : Int32, Int32, SeatMap -> Int32)
Source
naive_adjacency_count(row, column)
Source
num_filled
Source
ray_tracing_adjacency_count(row, column)
Source
tick(crowding_point, & : Int32, Int32, SeatMap -> Int32)
Source

Nested types