Package

com.eharmony.aloha.models

conversion

Permalink

package conversion

Visibility
  1. Public
  2. All

Type Members

  1. trait ConversionModel[U, SN, N, -A, +B <: U] extends SubmodelBase[U, N, A, B]

    Permalink
  2. case class DoubleToJavaLongModel[U, -A, +B <: U](modelId: ModelIdentity, submodel: Submodel[Double, A, U], auditor: Auditor[U, Long, B], scale: Double = 1, translation: Double = 0, clampLower: Long = Long.MinValue, clampUpper: Long = Long.MaxValue, round: Boolean = false) extends ConversionModel[U, Double, Long, A, B] with Logging with Product with Serializable

    Permalink

    A model that converts from Scala Doubles to Java Longs by scaling, translating, then rounding.

    A model that converts from Scala Doubles to Java Longs by scaling, translating, then rounding.

    A

    model input type

    modelId

    a model id

    submodel

    a submodel whose values should be translated

    scale

    a scale factor

    translation

    a translation

    round

    whether to round (true) or floor (false)

  3. case class DoubleToLongModel[U, -A, +B <: U](modelId: ModelIdentity, submodel: Submodel[Double, A, U], auditor: Auditor[U, Long, B], scale: Double = 1, translation: Double = 0, clampLower: Long = Long.MinValue, clampUpper: Long = Long.MaxValue, round: Boolean = false) extends ConversionModel[U, Double, Long, A, B] with Logging with Product with Serializable

    Permalink

    A model that converts from Scala Doubles to Scala Longs by scaling, translating, then rounding.

    A model that converts from Scala Doubles to Scala Longs by scaling, translating, then rounding.

    A

    model input type

    modelId

    a model id

    submodel

    a submodel whose values should be translated

    scale

    a scale factor

    translation

    a translation

    round

    whether to round (true) or floor (false)

Value Members

  1. object DoubleToLongModel extends ParserProviderCompanion with Serializable

    Permalink

Ungrouped