Cleaned up scheduler docs

This commit is contained in:
Brandon Rozek 2020-03-20 19:30:56 -04:00
parent 720bb1b051
commit 711c2e8dd1
2 changed files with 7 additions and 3 deletions

View file

@ -11,8 +11,10 @@ class ExponentialScheduler(Scheduler):
times you call `next`. (denoted as :math:`i`)
:math:`y(1) = initial\_value`
:math:`base = \sqrt[iterations]{\frac{end\_value}{initial\_value}}`
:math:`y(i) = y(1) \cdot base^{i - 1}`
:math:`base = \sqrt[iterations]{\frac{end\_value}{initial\_value}}`.
Another property is that :math:`y(iterations) = end\_value`.

View file

@ -10,8 +10,10 @@ class LinearScheduler(Scheduler):
The forumula used to produce the value :math:`y` is based on the number of
times you call `next`. (denoted as :math:`i`)
:math:`y(i) = slope \cdot (i - 1) + initial\_value`
where :math:`slope = \frac{end\_value - initial\_value)}{iterations}`.
:math:`y(1) = initial\_value`
:math:`y(i) = slope(i - 1) + y(1)`
where :math:`slope = \frac{end\_value - initial\_value}{iterations}`.
Parameters
----------