package solver
- Alphabetic
- Public
- Protected
Type Members
- case class AirmassConstraint(min: Double, max: Double) extends Constraint[SkyCalcResults, (Double, Declination)] with Product with Serializable
- case class AirmassSolver(min: Double, max: Double, tolerance: Duration = Duration.ofSeconds(30)) extends ConstraintSolver[Default, LinearInterpolating, SkyCalcResults, (Double, Declination)] with Product with Serializable
- trait Constraint[T, A] extends AnyRef
Defines whether a condition is met at an java.time.Instant among Samples.
Defines whether a condition is met at an java.time.Instant among Samples.
- T
the type of results held by the Samples
- A
the type on which the condition is checked (usually obtainable from
T)
- class ConstraintSolver[S, R, T, A] extends AnyRef
Convenience class to find a
IntervalSeq[Instant]meeting a Constraint from Samples within a givenBounded[Instant].Convenience class to find a
IntervalSeq[Instant]meeting a Constraint from Samples within a givenBounded[Instant].- S
SolverStrategy to use
- R
RoundStrategy to use
- T
the type of results held by the Samples
- A
the type on which the Constraint is checked (usually obtainable from
T)
- case class ElevationConstraint(min: Declination, max: Declination) extends Constraint[SkyCalcResults, Declination] with Product with Serializable
- case class ElevationSolver(min: Declination, max: Declination, tolerance: Duration = Duration.ofSeconds(30)) extends ConstraintSolver[Default, LinearInterpolating, SkyCalcResults, Declination] with Product with Serializable
- case class HourAngleConstraint(min: HourAngle, max: HourAngle) extends Constraint[SkyCalcResults, (HourAngle, Declination)] with Product with Serializable
- case class HourAngleSolver(min: HourAngle, max: HourAngle, tolerance: Duration = Duration.ofSeconds(30)) extends ConstraintSolver[Default, LinearInterpolating, SkyCalcResults, (HourAngle, Declination)] with Product with Serializable
- trait SampleRounder[R, A] extends AnyRef
Typeclass defininig how to round values associated with
Instants using a certain RoundStrategy.Typeclass defininig how to round values associated with
Instants using a certain RoundStrategy.- R
RoundStrategy to use
- A
type of the value
- trait SampleRounderInstances extends AnyRef
- trait Samples[A] extends AnyRef
A set of samples, keyed by
Instant.A set of samples, keyed by
Instant. Samples are lazy and must be forced by the user, and mapping operations are also applied lazily. - trait SamplesOptics extends AnyRef
- case class SkyBrightnessConstraint(min: Double, max: Double) extends Constraint[SkyCalcResults, Double] with Product with Serializable
- case class SkyBrightnessSolver(min: Double, max: Double, tolerance: Duration = Duration.ofSeconds(30)) extends ConstraintSolver[Default, LinearInterpolating, SkyCalcResults, Double] with Product with Serializable
- trait Solver[S] extends AnyRef
Typeclass defininig an algorithm that finds an
IntervalSeq[Instant]within a givenBounded[Instant]for which a given functionInstant => Booleanis true.Typeclass defininig an algorithm that finds an
IntervalSeq[Instant]within a givenBounded[Instant]for which a given functionInstant => Booleanis true.- S
SolverStrategy to use
- trait SolverInstances extends AnyRef
Value Members
- object ConstraintSolver
- object RoundStrategy
- object SampleRounder extends SampleRounderInstances
- object Samples extends SamplesOptics
- object Solver extends SolverInstances
- object SolverStrategy