package aoc
- Alphabetic
- By Inheritance
- aoc
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- implicit class ExampleSolution[A] extends AnyRef
- abstract class Problem[A] extends App
An abstract class for solving a problem from Advent of Code.
- case class Result(year: Int, day: Int, part: Int, solution: String, time: Double, timestamp: LocalDateTime = LocalDateTime.now(), submitted: Boolean = false) extends Product with Serializable
A class for representing the result of solving, or an attempt at solving, a problem from Advent of Code.
A class for representing the result of solving, or an attempt at solving, a problem from Advent of Code.
- year
the year which the problem is from
- day
the day in december which the problem is from
- part
one or two
- solution
a solution to the problem
- time
the time it took to solve the problem
- timestamp
the time the problem was solved
- submitted
whether the solution was submitted to and verified on the Advent of Code website
- case class TimedEval[A](duration: Double, result: A) extends Product with Serializable
A simple wrapper class that includes the result of an evaluation and the time (in seconds) it took to evaluate it
A simple wrapper class that includes the result of an evaluation and the time (in seconds) it took to evaluate it
- result
The final evaluation
Value Members
- object Result extends Serializable
- case object Skip extends ExampleSolution[Any] with Product with Serializable
Used in the constructor of a subclass to the abstract Problem class in order to skip evaluation of the example input
- object Testing
- object TimedEval extends Serializable