package alm
- Alphabetic
- Public
- Protected
Type Members
- class ALMModel[TModelPoint, TModelState] extends AnyRef
- case class ALMOptions(output: OutputOptions, startDate: LocalDate, popModelTimeSize: TimeSize.TimeSize) extends Product with Serializable
- trait Account extends AnyRef
- case class AccountEntry[TAccount <: Account, TModelPoint, TModelState](account: TAccount, reference: Reference[TModelPoint, TModelState], amount: Double) extends Product with Serializable
- trait AccountHolder[TModelPoint, TModelState] extends AnyRef
- case class AccountRecord[TModelPoint, TModelState](account: Account, accountType: AccountType, reference: Reference[TModelPoint, TModelState], amount: Double, description: String) extends Product with Serializable
- case class AccountType(id: Int) extends Product with Serializable
- case class AnonymousTimeFunc(f: (Time) => Double, unitAmount: Double = 1) extends TimeFunc with Product with Serializable
Wrapper for anonymous functions.
Wrapper for anonymous functions. The time function cannot be cached as it is anonymous.
- f
anonymous function.
- trait AssetAccount extends Account
- class Balance[TModelPoint, TModelState] extends BalanceLike[TModelPoint, TModelState]
- trait BalanceActor[TModelPoint, TModelState] extends ReferenceAble[TModelPoint, TModelState]
- trait BalanceLike[TModelPoint, TModelState] extends AnyRef
- case class Context[TModelPoint, TModelState](primoBalance: FrozenBalance[TModelPoint, TModelState], primoPopulation: FrozenPopulation[TModelPoint, TModelState], ultimoPopulation: FrozenPopulation[TModelPoint, TModelState]) extends Product with Serializable
- case class Counts[TModelState](primo: Map[TModelState, Double], ultimo: Map[TModelState, Double]) extends Product with Serializable
- case class Edge[TModelState](from: TModelState, to: TModelState) extends Product with Serializable
- sealed case class Exclusive(months: Months) extends IntervalBound with Product with Serializable
- class FrozenBalance[TModelPoint, TModelState] extends BalanceLike[TModelPoint, TModelState]
- class FrozenPopulation[TModelPoint, TModelState] extends PopulationLike[TModelPoint, TModelState, Map[TModelState, Double]]
- class FullOutputCollector[TModelPoint, TModelState] extends OutputCollector[TModelPoint, TModelState]
- sealed case class Inclusive(months: Months) extends IntervalBound with Product with Serializable
- case class Incoming[TModelState](to: TModelState, count: Double) extends Reduceable[Incoming[TModelState]] with Product with Serializable
- sealed trait IntervalBound extends AnyRef
- trait LiabilityAccount extends Account
- class MemoryLessCounts[TModelState] extends AnyRef
- case class NormalizedTimeFunc(underlying: TimeFunc) extends TimeFunc with Product with Serializable
Normalized time function that divide by the unit for each evaluation.
Normalized time function that divide by the unit for each evaluation.
- underlying
the time function to be normalized
- case class Outgoing[TModelPoint, TModelState, V <: Reduceable[V]](point: TModelPoint, from: TModelState, counts: List[V]) extends Reduceable[Outgoing[TModelPoint, TModelState, V]] with Product with Serializable
- trait OutputCollector[TModelPoint, TModelState] extends AnyRef
- case class OutputOptions(maxSteps: Int, timeSize: TimeSize.TimeSize) extends Product with Serializable
- trait Payments extends TimeBounded
- case class PointCount[TModelPoint](point: TModelPoint, count: Double) extends Product with Serializable
- case class PointState[TModelPoint, TModelState](point: TModelPoint, state: TModelState) extends Product with Serializable
- case class PointStateCount[TModelPoint, TModelState](pointState: PointState[TModelPoint, TModelState], count: Double) extends Reduceable[PointStateCount[TModelPoint, TModelState]] with Product with Serializable
- class Population[TModelPoint, TModelState] extends PopulationLike[TModelPoint, TModelState, Map[TModelState, Double]]
- trait PopulationActor[TModelPoint, TModelState] extends AnyRef
- trait PopulationLike[TModelPoint, TModelState, TMap <: Map[TModelState, Double]] extends AnyRef
- class PopulationModel[TModelPoint, TModelState] extends AnyRef
- case class PopulationStepResult[TModelPoint, TModelState](population: Map[TModelPoint, Map[TModelState, Double]], transitions: List[Outgoing[TModelPoint, TModelState, Incoming[TModelState]]], events: List[Outgoing[TModelPoint, TModelState, Incoming[TModelState]]], arrivals: List[PointStateCount[TModelPoint, TModelState]]) extends Product with Serializable
- class ProbabilityModel[TModelPoint, TModelState] extends AnyRef
- case class ProductPayments[TModelState](premiumPayments: List[StateWisePayment[TModelState]], stateWisePayments: List[StateWisePayment[TModelState]], transitionPayments: List[TransitionPayment[TModelState]], expensePayments: List[StateWisePayment[TModelState]]) extends Product with Serializable
- class ProspectiveThieleSystem[TModelPoint, TModelState] extends AnyRef
- trait Reduceable[V <: Reduceable[V]] extends AnyRef
- case class Reference[TModelPoint, TModelState](actorId: String, owner: Option[TModelPoint], state: Option[TModelState]) extends Product with Serializable
- trait ReferenceAble[TModelPoint, TModelState] extends AnyRef
- class RhoModifedModel[TModelPoint, TModelState] extends AnyRef
- case class ScaledTimeFunc(underlying: TimeFunc, scale: Double) extends TimeFunc with Product with Serializable
Scaled time function that scale the underlying time function at each evaluation.
Scaled time function that scale the underlying time function at each evaluation.
- underlying
the time function to be scaled
- case class StateWisePayment[TModelState](name: String, states: List[TModelState], payment: Either[Double, TimeFunc], left: IntervalBound, right: IntervalBound) extends Payments with Product with Serializable
- case class Time(startDate: LocalDate, currentStep: Int, timeSize: TimeSize.TimeSize) extends Product with Serializable
- trait TimeBounded extends AnyRef
- trait TimeFunc extends (Time) => Double
Trait for functions that evaluate Time to a Double.
Trait for functions that evaluate Time to a Double. The trait makes the functions cache-able, by forcing the user to create a concrete class around the function.
- case class Transaction[TModelPoint, TModelState](account: Account, matchAccount: Account, reference: Reference[TModelPoint, TModelState], amount: Double, description: String) extends Product with Serializable
- case class TransitionPayment[TModelState](name: String, fromStates: List[TModelState], toStates: List[TModelState], payment: Either[Double, TimeFunc], left: IntervalBound, right: IntervalBound) extends Payments with Product with Serializable
- case class TransitionProbability[TModelState](egde: Edge[TModelState], probability: Double) extends Product with Serializable
- trait UniqueIdLike[V <: UniqueIdLike[V]] extends AnyRef
- trait ValueRefHolder extends AnyRef
- case class ValueReference(delta: AtomicDouble) extends Product with Serializable
This wrapper exist because spark cant handle the AtomicDouble due to shading issues
- class ZALMModel[TModelPoint, TModelState] extends AnyRef
Value Members
- object ALMOptions extends Serializable
- object AccountType extends Serializable
- object PointStateCount extends Serializable
- object StateWisePayment extends Serializable
- object Time extends Serializable
- object TimeSize extends Enumeration
- object TransitionPayment extends Serializable
- case object Unbounded extends IntervalBound with Product with Serializable
- object Utility
- object ValueReference extends Serializable