Skip to content

Commit

Permalink
Remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
loociano committed Dec 17, 2022
1 parent 7431445 commit e176ba5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions aoc2022/src/day15/python/solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,6 @@ def _calc_positions_at_row(self, row: int) -> Optional[set[Position, ...]]:
positions.add(position)
return positions

def is_within_beacon(self, position: Position) -> bool:
return position in self.positions_at_row

def min_x(self) -> int:
return self._sensor_pos[0] - self._distance

def max_x(self) -> int:
return self._sensor_pos[0] + self._distance


def _parse_sensors_data(sensors_data: Sequence[str], row: int) -> tuple[Sensor]:
sensors: list[Sensor] = []
Expand Down

0 comments on commit e176ba5

Please sign in to comment.