package aoc
- Alphabetic
- Public
- Protected
Type Members
- trait Example[A] extends AnyRef
- case class PrimaryEx[A](solution: A) extends Example[A] with Product with Serializable
- 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 SecondaryEx[A](solution: A) extends Example[A] with Product with Serializable
- 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