todod.random

Undocumented in source.

Members

Functions

dueWeight
auto dueWeight(long days)

Calculate due weight based on number of dates till due

loadDefaultWeights
double[string] loadDefaultWeights(string fileName)
Undocumented in source. Be warned that the author may not have intended to support it.
progressWeight
auto progressWeight(long days)

Weight due to progress

randomGillespie
Todo[] randomGillespie(TODOS ts, Tags allTags, TagDelta selected, string searchString, Dependencies deps, double[string] defaultWeights, size_t no)

Randomly draw todos from the given Todo list.

setDefaultWeights
double[string] setDefaultWeights()
Undocumented in source. Be warned that the author may not have intended to support it.
tagWeightScalar
auto tagWeightScalar(Tags tags, TagDelta selected, size_t noTodos, size_t[Tag] tagNo, double[string] defaultWeights)

Weight due to tag selection

weight
auto weight(Todo t, TagDelta selected, string searchString, size_t noTodos, size_t[Tag] tagNo, Dependencies deps, double[string] defaultWeights)

Associate a weight to a Todo depending on last progress and todo dates

Meta