Versions in this module Expand all Collapse all v0 v0.4.3 Jun 29, 2021 v0.4.2 Jun 29, 2021 Changes in this version + type PredictionMode int + const PredictionModePeriods + const PredictionModePhases + const PredictionModeRootTx + type Predictor struct + func NewPredictor(profile models.TSProfile) *Predictor + func (predictor *Predictor) Likeliness(currentState map[string]string, steps int) (map[string][]int, error) + func (predictor *Predictor) SetMode(mode PredictionMode) + func (predictor *Predictor) SetPeriodPath(periodPath []int, periodPathDepth int) + func (predictor *Predictor) SetPhase(currentPhase int) + func (predictor *Predictor) SetState(currentState map[string]string) + func (predictor *Predictor) Simulate(steps int) ([][]models.TSState, error)