task

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Likeliness

type Likeliness struct {
	// contains filtered or unexported fields
}

Likeliness represents the likeliness task of tspredictor

func NewLikeliness

func NewLikeliness(profile models.TSProfile, mode predictor.PredictionMode, history models.History) *Likeliness

NewLikeliness creates and returns a new Likeliness task

func (*Likeliness) Run

func (likeliness *Likeliness) Run(periodDepth int) error

Run calculates likeliness for given next step

type Simulate

type Simulate struct {
	// contains filtered or unexported fields
}

Simulate represents the simulation task of tspredictor

func NewSimulate

func NewSimulate(profile models.TSProfile, mode predictor.PredictionMode, history models.History) *Simulate

NewSimulate creates and returns a new Simulate task

func (*Simulate) Print

func (simulate *Simulate) Print()

Print prints the simulation results to stdout

func (*Simulate) Run

func (simulate *Simulate) Run(steps int, periodDepth int) error

Run simulates given amount of steps

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL