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 `json:"RequestRetention"` MaximumInterval float64 `json:"MaximumInterval"` W Weights `json:"Weights"` Decay float64 `json:"Decay"` Factor float64 `json:"Factor"` }
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 SchedulingInfo ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.