Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Card ¶ added in v0.1.0
type Card struct {
Due time.Time `json:"Due"`
Stability float64 `json:"Stability"`
Difficulty float64 `json:"Difficulty"`
ElapsedDays uint64 `json:"ElapsedDays"`
ScheduledDays uint64 `json:"ScheduledDays"`
Reps uint64 `json:"Reps"`
Lapses uint64 `json:"Lapses"`
State State `json:"State"`
LastReview time.Time `json:"LastReview"`
}
type Parameters ¶ added in v0.1.0
type Parameters struct {
RequestRetention float64
MaximumInterval float64
EasyBonus float64
HardFactor float64
W weights
}
func DefaultParam ¶ added in v0.1.0
func DefaultParam() Parameters
func (*Parameters) Repeat ¶ added in v0.1.0
func (p *Parameters) Repeat(card Card, now time.Time) map[Rating]SchedulingInfo
type SchedulingCards ¶ added in v0.1.0
type SchedulingInfo ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.