Packages

package aoc

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. aoc
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. implicit class ExampleSolution[A] extends AnyRef
  2. abstract class Problem[A] extends App

    An abstract class for solving a problem from Advent of Code.

  3. 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

  4. 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

  1. object Result extends Serializable
  2. 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

  3. object Testing
  4. object TimedEval extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped