SchedulingResult
in package
FinalYes
What a scheduler returns for one graded review: the term's new memory state plus the interval it was scheduled with.
The interval is carried separately because it is what review_log
records (RlScheduledDays) and what Anki's cards.ivl expects — deriving it
back out of the due date would lose the scheduler's own rounding.
Table of Contents
Properties
- $elapsedDays : int
- $intervalDays : int
- $state : MemoryState
Methods
- __construct() : mixed
Properties
$elapsedDays read-only
public
int
$elapsedDays
$intervalDays read-only
public
int
$intervalDays
$state read-only
public
MemoryState
$state
Methods
__construct()
public
__construct(MemoryState $state, int $intervalDays, int $elapsedDays) : mixed
Parameters
- $state : MemoryState
- $intervalDays : int
- $elapsedDays : int