From c8ce3f90566b56c03e383083bb67a3b82b745897 Mon Sep 17 00:00:00 2001 From: ishiko732 Date: Sun, 5 Jan 2025 07:19:19 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20open-spa?= =?UTF-8?q?ced-repetition/ts-fsrs@cdd9158eedf81f3b962bf63f8d49346fcdccf8e6?= =?UTF-8?q?=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/navigation.js | 2 +- assets/search.js | 2 +- classes/AbstractScheduler.html | 4 +-- classes/FSRS.html | 46 ++++++++++++------------ classes/FSRSAlgorithm.html | 34 +++++++++--------- classes/TypeConvert.html | 4 +-- enums/Rating.html | 4 +-- enums/State.html | 4 +-- enums/StrategyMode.html | 4 +-- functions/DefaultInitSeedStrategy.html | 2 +- functions/GenSeedStrategyWithCardId.html | 2 +- functions/clamp.html | 2 +- functions/createEmptyCard.html | 2 +- functions/dateDiffInDays.html | 4 +++ functions/date_diff.html | 2 +- functions/date_scheduler.html | 2 +- functions/fixDate.html | 2 +- functions/fixRating.html | 2 +- functions/fixState.html | 2 +- functions/formatDate.html | 2 +- functions/fsrs-1.html | 2 +- functions/generatorParameters.html | 2 +- functions/get_fuzz_range.html | 2 +- functions/show_diff_message.html | 2 +- interfaces/Card.html | 4 +-- interfaces/CardInput.html | 4 +-- interfaces/FSRSParameters.html | 4 +-- interfaces/FSRSReview.html | 6 ++-- interfaces/IPreview.html | 4 +-- interfaces/IScheduler.html | 4 +-- interfaces/ReviewLog.html | 4 +-- interfaces/ReviewLogInput.html | 4 +-- modules.html | 1 + types/DateInput.html | 2 +- types/FSRSHistory.html | 2 +- types/Grade.html | 2 +- types/IReschedule.html | 2 +- types/RatingType.html | 2 +- types/RecordLog.html | 2 +- types/RecordLogItem.html | 2 +- types/RescheduleOptions.html | 2 +- types/StateType.html | 2 +- types/TSchedulerStrategy.html | 2 +- types/TSeedStrategy.html | 2 +- types/TStrategyHandler.html | 2 +- types/double.html | 2 +- types/int.html | 2 +- types/unit.html | 2 +- variables/DECAY.html | 2 +- variables/FACTOR.html | 2 +- variables/FSRSVersion.html | 2 +- variables/Grades.html | 2 +- variables/default_enable_fuzz.html | 2 +- variables/default_enable_short_term.html | 2 +- variables/default_maximum_interval.html | 2 +- variables/default_request_retention.html | 2 +- variables/default_w.html | 2 +- 57 files changed, 112 insertions(+), 107 deletions(-) create mode 100644 functions/dateDiffInDays.html diff --git a/assets/navigation.js b/assets/navigation.js index ad53351..c0ce57d 100644 --- a/assets/navigation.js +++ b/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA42XXW/TMBSG/0uuC2WDDdhd1Q5WCbSpnUAIociLTxqLxA72SbsO8d9RkjaJHX/kqpLf931Sf5wj++ffCOEZo5toQ5DxXTSLSoJZdBMBrwo1b0dfZ1jk0Sz6zTiNbj78m3WpLRIEM9QM+jKSIOyOXwW1RHvNTVg8KZQkwW2SAa1ykD0myYlSoOYji067uBzyPm032zGiHg2lFvlOSIZZYY93so/zeCxhKfgeJI4pA9HHWBJJ+zDjCDIlCah5LejBy6trI7jmZYXOdKP6EPVEH4gkBSBIZeXolhBsA3sGByeolX2Q9YN0I86iF2A5WUOE41TpkPZ/fhE7K6NTJyHcW6RbfLAVQTA4eCxBzTvBSL/5+P7i6tLYnDumUMijyRhIIcpnSYaF3+abwVByvQF1WnkzP5BClLan1YVlQnolyIBESKrt7QlxFiYT1giFk1KLYdJ55vclMsHVmGYYQsSmgdsWqBNChMeuQs4d3USNHWEmAHXjBmKYdDLeEU61Ij/DdD3Eo6J6Gh/JdjSUZXxUj4wHK7HibBSrx0K51e1y8aMP7olk5Cmve0At6Om3Wukvlo/3G1uyVXzR7Wb7DaRiglvzveyBNP1B2fKt4olSSEmVYwy8DsRp9fJi41hs06EqExJjBFlMQPfmCR8oyDMrqiJuWv6e5D6+6Z2Al/CnAlX/InB0bJHTPOEDBx/w4AGsWs+aM7QXflrxpGlnc4dVh1+/Gx4n4EPnd4ZZc9ehNrzT7PlAkpOitMEawReUQBBuixKP+qVugNAtHhglCDFlaWrDdGIIoMaXIYOi7PchDZWy55X2WOgZJ8kMz9pbcHOYSgkJQaCRTjRfLRrT9niZRDVeNRrU8riZwBSyIOicfqf6lk8N79aDsJLq1YUnuAMOkqCQtjt6z7HYvFBsOmQsCd9ZJ6U7PCiViUNzDOMClCJ22sg0Av76D0FGMK7LDgAA" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA42XXW/TMBSG/0uuC2WDDdhd1Q5WCbSpnUAIoegsOWksEifYJ+06xH9HSdokdvyRq0p+3/dJ/XGO7J9/A8JnCm6CDRDju2AWlEBpcBMgr3I5b0dfp5RnwSz4zXgc3Hz4N+tSWwJCPdQMujICCHfHr0VsiPaanbB4kiQgom2UYlxlKHpMlIGUKOcji0q7uBzyPm032zGiHvWlFtmuEIzS3BzvZBfn8VjisuB7FDSmDEQXYwki7sOME4oEIpTzWlCDl1fXWnDNy4qs6UZ1IeqJPoCAHAmFNHJUiw+2wT3DgxXUyi7I+kHYEWfRCTCcrCHCcqpUSPs/vxQ7I6NTJyHsW6RaXLAVEGocOpYo552gpd98fH9xdaltzh2TVIijzhhIPspnAcPCb/PNoC+53qA8rbyeH0g+StvT6sLSIb3iZWBUiFjZ2xPiLEwmrAlzK6UW/aTzzO9LYgWXY5pm8BGbBm5aoE7wER67Cjl3dB01dviZiLEdNxD9pJPxDnisFPkZpuo+XlxUT+Mj2Y76soyP6pFxbyVWnI1i9Zgvt7pdLn70wT0IBk9Z3QNqQU2/VUp/sXy835iSreKKbjfbbygkK7gx38sOSNMfpCnfKo5ojAlUGYXI60CYVC8vJo7BNh0q00JQSCjyCejePOEDOTyzvMrDpuXvIXPxde8EvMA/Fcr6l5CTZYus5gkfOLiABwdg1XrWnJG58JOKR007m1usKvz63fA4IR86vzNKm7tObMJbzY4PRBnkpQnWCK6gQCC8zUs6qpe6AUK1OGAxEK5Ykqz5Co7SxFIdHlQYsySxURrRB5Dje5VGkearlYJK2PNKeXf0jJOkh2fthbo5l6XACAjjQCXqDyCFaXoHTaJqDyQFangnTWAWIgeyTr9TXcsnhfEs1OOvLhzBHXIUQIUwXfd7jsHmhFLTbEMBfGeclOpwoGRaHJpjGOYoJZhpI9MI+Os/IockPxYPAAA=" \ No newline at end of file diff --git a/assets/search.js b/assets/search.js index c991a94..93ebf18 100644 --- a/assets/search.js +++ b/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA8VdW4/bOLL+KwfuV09HRd37LZvkTALM7CySOXuwaASGYqu7hfHtyHI62SD/fUFKsovFolSyGzhPk2mRVSXyY90+yfoxq3fPh9nd/Y/ZX9V2NbtTcTKfbYtNObub/fenj5/+UdTFpmzK+jCbz471enY3q7ZNWT8Uy/Lwyh5x+9Rs1rP5bLkuDofyMLubzX7Oe8EQqOgkuS7/71gemkVdNuW2qXZbofAbbiJSN5/ti7rcNq7xHkM2xbdqc9wsjNqvxVpqBzPvGjOepXqfr1RUbosv63LxcPz3v6Uq7SkvoPzwtKubRVPWm4kmWBMnGoJx/aaoV5xq/Xc5hlfHclDITTuAt9OY4BF8aIov1bpqvg+Lx8OmK1lVDw/V8rge02KNm66mXBf7Q7larIrvrAM5KyIjL1i25VO5Oq5Fypyx09XV5X5ESTdiumizEiPCT2MuwlczAt1+yCW2G+/8tSpZn4ZvAA8UKcJn+KOZ+dvukdNyujghIhVNtRUIuzkN5E0+2zV19Yme4S0YVePxTkTJkIuS3InfT7l3M+Ksxu9o0GPRGxt3W6MKx3wXUSlyYKNKzbGYqJmbc+mejjpRurEyTzqq2O8y6PkbdhmcIhXkKcQK+Y7lrl5h39F83xtN3d8H3YZX2oem3Pgk6muDUpM4Ds/ebbHQ80eF3ZzG+RYDm+ZZ+SXOhkY03XaDBepuO9t8OPevvqO0HXuRTrpZn7RX/dNd29Pfp229iQWMuPOFSfJ+rYsVFW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Xm08J8Hol0rNhxLkJGE5TA+GRPX2hGJ0LfL6UbN17FDPVmZVotNNVFxWi7v+FT9l4ngTBCoTdc+c5FcwjnTjvPjsX9sAPT7tnk38uNuXhUJCOHdqcTOYb9Ld43AJJP46OICNDIJ+gIYu6fenuOOz+X9gOcaGIPWGfAXQyw94DdRnC6TkkITlrlDkJAlIofPyk79dudividnCqKdwqx3dZLkfYmj4/6cRSr7i8hkwq0kfk4mfDQMgVNb0kLhfCWwDCmltv47L/bA1ePRz3hOx6+2VK5MUsDMqWi/3UFD56uDwVdieOh5J9DAgDBGTLZZftCPHjsz/PZ/tqX+pG0Ozu/vPPn/8BDjvESyWyAAA="; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA8VdW4/cOK7+KwfVrzUdU77nbXaSMwkws7NI5uzBohEUnCp32pi6HZcrlw3y3xeS7TJFUTZd1cB5SqcskbT0iaT4yfb3RX34clq8fPi++KvabxYvVZwsF/tiVy5eLv77/bv3/yjqYlc2ZX1aLBfnert4uaj2TVk/Fuvy9MJucf/U7LaL5WK9LU6n8rR4uVj8WPaCIVDRRXJd/t+5PDWrumzKfVMd9kLhd1xHpG65OBZ1uW9c4z2G7Iqv1e68Wxm1n4ut1A6m3y1mfJHq/XKjonJffNyWq8fzv/8tVWl3eQblp6dD3ayast7NNMHqONMQjOtfinrDqda/yzG8OZejQu7aBrydxgSP4FNTfKy2VfNtXDxuNl/Jpnp8rNbn7ZQWq918NeW2OJ7KzWpTfGMdyKCItLxi2NZP5ea8FSlz2s5XV5fHCSVdi/mizUhMCL+0uQpfzQR0+ybX2G688+eqZH0avgHcUKQIr+F3pudvh0+clsvFGRGpaKq9QNjdpSFv8mDX3NEnesanYFKNxzsRJWMuSnInfj/l3s2Es5q+o1GPRW9s2m1NKpzyXUSlyIFNKjXLYqZmrs+1czrpROnEyjzppGK/y6Drb9xlcIpUkKcQK+Q71od6g31H8+1oNHW/j7oNr7S3TbnzSdTXRqUmcRwO3m210v0nhd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K0ukbqZFjXyCUxqXrOXZQYjiQDwZgH4WXl5ATGOQdji5ZGOBNWSyLVsy6R1OpuvUZdane5SRB3Od+ucy/4LfZ4zHA+aSQ8bLeLozRgyEoLIO1sqhVeBil89zJcdkzdIfCYNZ9KOagPxTz0eZTAjxe4sVqxLkJGIoXKhCujMuHkdG6sJat7BZ7FDO7MyvhbburLipE3f+Fh348x0qwucJyNT30klokSM+gh316Lqyln54OX0wCutqVp1NBSnbITGH9T38DyN0h6bPtCDOyuMpnaMiibmK6Ww+7/wtpLxeL2LX2KUAnM+xdUJcixJcjI7KlaZQ5GQJSGApHtyvY7g4b4ncwYoV0jOO87ORIFs6Hc1Ms94rvEYR7PT+Ti3frIKwhN70kLhnCSRoIj9zoaVz3n8vBo4c9tpC+br+IidwYtkfIs7KfuMJ2YT8hPH52PpXsoSIMEJANl71vR4if7v1huThWx1JXghYvHz78+PEfBkHZ2vSyAAA="; \ No newline at end of file diff --git a/classes/AbstractScheduler.html b/classes/AbstractScheduler.html index 6a9ae35..27caab2 100644 --- a/classes/AbstractScheduler.html +++ b/classes/AbstractScheduler.html @@ -1,7 +1,7 @@ AbstractScheduler | TS-FSRS

Class AbstractSchedulerAbstract

Implements

Constructors

constructor +

Class AbstractSchedulerAbstract

Implements

Constructors

Properties

Constructors

Properties

algorithm: FSRSAlgorithm
current: Card
last: Card
next: Map<Grade, RecordLogItem> = ...
review_time: Date

Methods

+

Constructors

Properties

algorithm: FSRSAlgorithm
current: Card
last: Card
next: Map<Grade, RecordLogItem> = ...
review_time: Date

Methods

diff --git a/classes/FSRS.html b/classes/FSRS.html index ec1ed2a..25d460c 100644 --- a/classes/FSRS.html +++ b/classes/FSRS.html @@ -2,7 +2,7 @@ window.__typeDocPluginKatexOptions=undefined; window.addEventListener('load', () => window.renderMathInElement(document.body, window.__typeDocPluginKatexOptions));

Class FSRS

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

_seed?: string
intervalModifier: number

Accessors

  • get interval_modifier(): number
  • Returns number

  • get parameters(): FSRSParameters
  • Get the parameters of the algorithm.

    -

    Returns FSRSParameters

  • set parameters(params): void
  • Set the parameters of the algorithm.

    +

Constructors

Properties

_seed?: string
intervalModifier: number

Accessors

  • get interval_modifier(): number
  • Returns number

  • set seed(seed): void
  • Parameters

    • seed: string

    Returns void

Methods

  • If fuzzing is disabled or ivl is less than 2.5, it returns the original interval.

    +

Returns void

  • set seed(seed): void
  • Parameters

    • seed: string

    Returns void

Methods

  • If fuzzing is disabled or ivl is less than 2.5, it returns the original interval.

    Parameters

    • ivl: number

      The interval to be fuzzed.

    • elapsed_days: number

      t days since the last review

    Returns int

    • The fuzzed interval.
    -
  • Parameters

  • The formula used is : $$\min \lbrace \max \lbrace D_0,1 \rbrace,10\rbrace$$

    Parameters

    • difficulty: number

      $$D \in [1,10]$$

      -

    Returns number

  • Type Parameters

    Parameters

    • card: Card | CardInput

      Card to be processed

    • now: DateInput

      Current time or scheduled time

    • reset_count: boolean = false

      Should the review count information(reps,lapses) be reset. (Optional)

    • OptionalafterHandler: ((recordLogItem: RecordLogItem) => R)

      Convert the result to another type. (Optional)

      @@ -57,34 +57,34 @@
      interface RepeatRecordLog {
      card: CardUnChecked; //see method: createEmptyCard
      log: RevLogUnchecked; //see method: fsrs.repeat()
      }

      function forgetAfterHandler(recordLogItem: RecordLogItem): RepeatRecordLog {
      return {
      card: {
      ...(recordLogItem.card as Card & { cid: string }),
      due: recordLogItem.card.due.getTime(),
      state: State[recordLogItem.card.state] as StateType,
      last_review: recordLogItem.card.last_review
      ? recordLogItem.card.last_review!.getTime()
      : null,
      },
      log: {
      ...recordLogItem.log,
      cid: (recordLogItem.card as Card & { cid: string }).cid,
      due: recordLogItem.log.due.getTime(),
      review: recordLogItem.log.review.getTime(),
      state: State[recordLogItem.log.state] as StateType,
      rating: Rating[recordLogItem.log.rating] as RatingType,
      },
      };
      }
      const now = new Date();
      const f = fsrs();
      const emptyCardFormAfterHandler = createEmptyCard(now, cardAfterHandler); //see method: createEmptyCard
      const repeatFormAfterHandler = f.repeat(emptyCardFormAfterHandler, now, repeatAfterHandler); //see method: fsrs.repeat()
      const { card } = repeatFormAfterHandler[Rating.Hard];
      const forgetFromAfterHandler = f.forget(card, date_scheduler(now, 1, true), false, forgetAfterHandler);
      -
  • The formula used is : +

  • The formula used is : $$R(t,S) = (1 + \text{FACTOR} \times \frac{t}{9 \cdot S})^{\text{DECAY}}$$

    Parameters

    • elapsed_days: number

      t days since the last review

    • stability: number

      Stability (interval when R=90%)

    Returns number

    r Retrievability (probability of recall)

    -
  • Get the retrievability of the card

    Type Parameters

    • T extends boolean

    Parameters

    • card: Card | CardInput

      Card to be processed

    • Optionalnow: DateInput

      Current time or scheduled time

    • format: T = ...

      default:true , Convert the result to another type. (Optional)

    Returns T extends true
        ? string
        : number

    The retrievability of the card,if format is true, the result is a string, otherwise it is a number

    -
  • The formula used is : +

  • The formula used is : $$D_0(G) = w_4 - e^{(G-1) \cdot w_5} + 1 $$ $$D_0 = \min \lbrace \max \lbrace D_0(G),1 \rbrace,10 \rbrace$$ where the $$D_0(1)=w_4$$ when the first rating is good.

    Parameters

    • g: Grade

      Grade (rating at Anki) [1.again,2.hard,3.good,4.easy]

    Returns number

    Difficulty $$D \in [1,10]$$

    -
  • The formula used is : $$ S_0(G) = w_{G-1}$$ $$S_0 = \max \lbrace S_0,0.1\rbrace $$

    Parameters

    • g: Grade

      Grade (rating at Anki) [1.again,2.hard,3.good,4.easy]

    Returns number

    Stability (interval when R=90%)

    -
  • The formula used is : $$w_7 \cdot \text{init} +(1 - w_7) \cdot \text{current}$$

    Parameters

    • init: number

      $$w_2 : D_0(3) = w_2 + (R-2) \cdot w_3= w_2$$

    • current: number

      $$D - w_6 \cdot (R - 2)$$

    Returns number

    difficulty

    -
  • Display the collection of cards and logs for the card scheduled at the current time, after applying a specific grade rating.

    +
  • Display the collection of cards and logs for the card scheduled at the current time, after applying a specific grade rating.

    Type Parameters

    Parameters

    • card: Card | CardInput

      Card to be processed

    • now: DateInput

      Current time or scheduled time

    • grade: Grade

      Rating of the review (Again, Hard, Good, Easy)

      @@ -95,14 +95,14 @@
      interface RevLogUnchecked
      extends Omit<ReviewLog, "due" | "review" | "state" | "rating"> {
      cid: string;
      due: Date | number;
      state: StateType;
      review: Date | number;
      rating: RatingType;
      }

      interface NextRecordLog {
      card: CardUnChecked; //see method: createEmptyCard
      log: RevLogUnchecked;
      }

      function nextAfterHandler(recordLogItem: RecordLogItem) {
      const recordItem = {
      card: {
      ...(recordLogItem.card as Card & { cid: string }),
      due: recordLogItem.card.due.getTime(),
      state: State[recordLogItem.card.state] as StateType,
      last_review: recordLogItem.card.last_review
      ? recordLogItem.card.last_review!.getTime()
      : null,
      },
      log: {
      ...recordLogItem.log,
      cid: (recordLogItem.card as Card & { cid: string }).cid,
      due: recordLogItem.log.due.getTime(),
      review: recordLogItem.log.review.getTime(),
      state: State[recordLogItem.log.state] as StateType,
      rating: Rating[recordLogItem.log.rating] as RatingType,
      },
      };
      return recordItem
      }
      const card: Card = createEmptyCard(new Date(), cardAfterHandler); //see method: createEmptyCard
      const f = fsrs();
      const recordLogItem = f.repeat(card, new Date(), Rating.Again, nextAfterHandler);
      -
  • The formula used is : +

  • The formula used is : $$\text{delta}_d = -w_6 \cdot (g - 3)$$ $$\text{next}_d = D + \text{linear damping}(\text{delta}_d , D)$$ $$D^\prime(D,R) = w_7 \cdot D_0(4) +(1 - w_7) \cdot \text{next}_d$$

    Parameters

    • d: number

      Difficulty $$D \in [1,10]$$

    • g: Grade

      Grade (rating at Anki) [1.again,2.hard,3.good,4.easy]

    Returns number

    $$\text{next}_D$$

    -
  • The formula used is : $$S^\prime_f(D,S,R) = w_{11}\cdot D^{-w_{12}}\cdot ((S+1)^{w_{13}}-1) \cdot e^{w_{14}\cdot(1-R)}$$ enable_short_term = true : $$S^\prime_f \in \min \lbrace \max \lbrace S^\prime_f,0.01\rbrace, \frac{S}{e^{w_{17} \cdot w_{18}}} \rbrace$$ enable_short_term = false : $$S^\prime_f \in \min \lbrace \max \lbrace S^\prime_f,0.01\rbrace, S \rbrace$$

    @@ -110,21 +110,21 @@
  • s: number

    Stability (interval when R=90%)

  • r: number

    Retrievability (probability of recall)

Returns number

S^\prime_f new stability after forgetting

-

Returns number

+
diff --git a/classes/FSRSAlgorithm.html b/classes/FSRSAlgorithm.html index ce215a7..f111cca 100644 --- a/classes/FSRSAlgorithm.html +++ b/classes/FSRSAlgorithm.html @@ -2,7 +2,7 @@ window.__typeDocPluginKatexOptions=undefined; window.addEventListener('load', () => window.renderMathInElement(document.body, window.__typeDocPluginKatexOptions));

Class FSRSAlgorithm

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

_seed?: string
intervalModifier: number

Accessors

Constructors

Properties

_seed?: string
intervalModifier: number

Accessors

  • set seed(seed): void
  • Parameters

    • seed: string

    Returns void

Methods

  • If fuzzing is disabled or ivl is less than 2.5, it returns the original interval.

    +

Returns void

  • set seed(seed): void
  • Parameters

    • seed: string

    Returns void

Methods

  • If fuzzing is disabled or ivl is less than 2.5, it returns the original interval.

    Parameters

    • ivl: number

      The interval to be fuzzed.

    • elapsed_days: number

      t days since the last review

    Returns int

    • The fuzzed interval.
    -
  • Parameters

    • request_retention: number

      0<request_retention<=1,Requested retention rate

      +
  • The formula used is : +

  • The formula used is : $$\min \lbrace \max \lbrace D_0,1 \rbrace,10\rbrace$$

    Parameters

    • difficulty: number

      $$D \in [1,10]$$

      -

    Returns number

  • The formula used is : +

Returns number

  • The formula used is : $$R(t,S) = (1 + \text{FACTOR} \times \frac{t}{9 \cdot S})^{\text{DECAY}}$$

    Parameters

    • elapsed_days: number

      t days since the last review

    • stability: number

      Stability (interval when R=90%)

    Returns number

    r Retrievability (probability of recall)

    -
  • The formula used is : $$D_0(G) = w_4 - e^{(G-1) \cdot w_5} + 1 $$ $$D_0 = \min \lbrace \max \lbrace D_0(G),1 \rbrace,10 \rbrace$$ where the $$D_0(1)=w_4$$ when the first rating is good.

    Parameters

    • g: Grade

      Grade (rating at Anki) [1.again,2.hard,3.good,4.easy]

    Returns number

    Difficulty $$D \in [1,10]$$

    -
  • The formula used is : $$ S_0(G) = w_{G-1}$$ $$S_0 = \max \lbrace S_0,0.1\rbrace $$

    Parameters

    • g: Grade

      Grade (rating at Anki) [1.again,2.hard,3.good,4.easy]

    Returns number

    Stability (interval when R=90%)

    -
  • The formula used is : +

  • The formula used is : $$w_7 \cdot \text{init} +(1 - w_7) \cdot \text{current}$$

    Parameters

    • init: number

      $$w_2 : D_0(3) = w_2 + (R-2) \cdot w_3= w_2$$

    • current: number

      $$D - w_6 \cdot (R - 2)$$

    Returns number

    difficulty

    -
  • The formula used is : $$\text{delta}_d = -w_6 \cdot (g - 3)$$ $$\text{next}_d = D + \text{linear damping}(\text{delta}_d , D)$$ $$D^\prime(D,R) = w_7 \cdot D_0(4) +(1 - w_7) \cdot \text{next}_d$$

    Parameters

    • d: number

      Difficulty $$D \in [1,10]$$

    • g: Grade

      Grade (rating at Anki) [1.again,2.hard,3.good,4.easy]

    Returns number

    $$\text{next}_D$$

    -
  • The formula used is : +

  • The formula used is : $$S^\prime_f(D,S,R) = w_{11}\cdot D^{-w_{12}}\cdot ((S+1)^{w_{13}}-1) \cdot e^{w_{14}\cdot(1-R)}$$ enable_short_term = true : $$S^\prime_f \in \min \lbrace \max \lbrace S^\prime_f,0.01\rbrace, \frac{S}{e^{w_{17} \cdot w_{18}}} \rbrace$$ enable_short_term = false : $$S^\prime_f \in \min \lbrace \max \lbrace S^\prime_f,0.01\rbrace, S \rbrace$$

    @@ -76,18 +76,18 @@
  • s: number

    Stability (interval when R=90%)

  • r: number

    Retrievability (probability of recall)

Returns number

S^\prime_f new stability after forgetting

-
  • Parameters

  • The formula used is : +

  • The formula used is : $$S^\prime_r(D,S,R,G) = S\cdot(e^{w_8}\cdot (11-D)\cdot S^{-w_9}\cdot(e^{w_{10}\cdot(1-R)}-1)\cdot w_{15}(\text{if} G=2) \cdot w_{16}(\text{if} G=4)+1)$$

    Parameters

    • d: number

      Difficulty D \in [1,10]

    • s: number

      Stability (interval when R=90%)

    • r: number

      Retrievability (probability of recall)

    • g: Grade

      Grade (Rating[0.again,1.hard,2.good,3.easy])

    Returns number

    S^\prime_r new stability after recall

    -
  • The formula used is : +

  • The formula used is : $$S^\prime_s(S,G) = S \cdot e^{w_{17} \cdot (G-3+w_{18})}$$

    Parameters

    • s: number

      Stability (interval when R=90%)

    • g: Grade

      Grade (Rating[0.again,1.hard,2.good,3.easy])

      -

    Returns number

+

Returns number

diff --git a/classes/TypeConvert.html b/classes/TypeConvert.html index bfc9108..205b4a5 100644 --- a/classes/TypeConvert.html +++ b/classes/TypeConvert.html @@ -1,10 +1,10 @@ TypeConvert | TS-FSRS

Class TypeConvert

Constructors

constructor +

Class TypeConvert

Constructors

Methods

  • Parameters

    • value: unknown

    Returns Date

+

Constructors

Methods

  • Parameters

    • value: unknown

    Returns Date

diff --git a/enums/Rating.html b/enums/Rating.html index 002716a..00363cc 100644 --- a/enums/Rating.html +++ b/enums/Rating.html @@ -1,9 +1,9 @@ Rating | TS-FSRS

Enumeration Rating

Enumeration Members

Again +

Enumeration Rating

Enumeration Members

Enumeration Members

Again: 1
Easy: 4
Good: 3
Hard: 2
Manual: 0
+

Enumeration Members

Again: 1
Easy: 4
Good: 3
Hard: 2
Manual: 0
diff --git a/enums/State.html b/enums/State.html index 0e23275..8de0f64 100644 --- a/enums/State.html +++ b/enums/State.html @@ -1,8 +1,8 @@ State | TS-FSRS

Enumeration State

Enumeration Members

Learning +

Enumeration State

Enumeration Members

Enumeration Members

Learning: 1
New: 0
Relearning: 3
Review: 2
+

Enumeration Members

Learning: 1
New: 0
Relearning: 3
Review: 2
diff --git a/enums/StrategyMode.html b/enums/StrategyMode.html index 72d6847..ae49085 100644 --- a/enums/StrategyMode.html +++ b/enums/StrategyMode.html @@ -1,6 +1,6 @@ StrategyMode | TS-FSRS

Enumeration StrategyMode

Enumeration Members

SCHEDULER +

Enumeration StrategyMode

Enumeration Members

Enumeration Members

SCHEDULER: "Scheduler"
SEED: "Seed"
+

Enumeration Members

SCHEDULER: "Scheduler"
SEED: "Seed"
diff --git a/functions/DefaultInitSeedStrategy.html b/functions/DefaultInitSeedStrategy.html index 80984f0..f781cf6 100644 --- a/functions/DefaultInitSeedStrategy.html +++ b/functions/DefaultInitSeedStrategy.html @@ -1,4 +1,4 @@ DefaultInitSeedStrategy | TS-FSRS

Function DefaultInitSeedStrategy

+

Function DefaultInitSeedStrategy

diff --git a/functions/GenSeedStrategyWithCardId.html b/functions/GenSeedStrategyWithCardId.html index 632603b..0bca76d 100644 --- a/functions/GenSeedStrategyWithCardId.html +++ b/functions/GenSeedStrategyWithCardId.html @@ -9,4 +9,4 @@
const seedStrategy = GenCardIdSeedStrategy('card_id');
const f = fsrs().useStrategy(StrategyMode.SEED, seedStrategy)
const card = createEmptyCard<Card & { card_id: number }>()
card.card_id = 555
const record = f.repeat(card, new Date())
-
+
diff --git a/functions/clamp.html b/functions/clamp.html index 1ded8a5..9d2e24a 100644 --- a/functions/clamp.html +++ b/functions/clamp.html @@ -1,4 +1,4 @@ clamp | TS-FSRS

Function clamp

  • Parameters

    • value: number
    • min: number
    • max: number

    Returns number

+

Function clamp

  • Parameters

    • value: number
    • min: number
    • max: number

    Returns number

diff --git a/functions/createEmptyCard.html b/functions/createEmptyCard.html index 34dad00..263f898 100644 --- a/functions/createEmptyCard.html +++ b/functions/createEmptyCard.html @@ -10,4 +10,4 @@
interface CardUnChecked
extends Omit<Card, "due" | "last_review" | "state"> {
cid: string;
due: Date | number;
last_review: Date | null | number;
state: StateType;
}

function cardAfterHandler(card: Card) {
return {
...card,
cid: "test001",
state: State[card.state],
last_review: card.last_review ?? null,
} as CardUnChecked;
}

const card: CardUnChecked = createEmptyCard(new Date(), cardAfterHandler);
-
+
diff --git a/functions/dateDiffInDays.html b/functions/dateDiffInDays.html new file mode 100644 index 0000000..ed5dba0 --- /dev/null +++ b/functions/dateDiffInDays.html @@ -0,0 +1,4 @@ +dateDiffInDays | TS-FSRS

Function dateDiffInDays

  • Parameters

    • last: Date
    • cur: Date

    Returns number

diff --git a/functions/date_diff.html b/functions/date_diff.html index 8ab2fa4..50a2074 100644 --- a/functions/date_diff.html +++ b/functions/date_diff.html @@ -1,4 +1,4 @@ date_diff | TS-FSRS

Function date_diff

+

Function date_diff

diff --git a/functions/date_scheduler.html b/functions/date_scheduler.html index 615be4e..eea3a1b 100644 --- a/functions/date_scheduler.html +++ b/functions/date_scheduler.html @@ -6,4 +6,4 @@
  • t: number

    时间偏移量,当 isDay 为 true 时表示天数,为 false 时表示分钟

  • OptionalisDay: boolean

    (可选)是否按天数单位进行偏移,默认为 false,表示按分钟单位计算偏移

  • Returns Date

    偏移后的日期和时间对象

    -
    +
    diff --git a/functions/fixDate.html b/functions/fixDate.html index c56422a..ee66f47 100644 --- a/functions/fixDate.html +++ b/functions/fixDate.html @@ -2,4 +2,4 @@ window.__typeDocPluginKatexOptions=undefined; window.addEventListener('load', () => window.renderMathInElement(document.body, window.__typeDocPluginKatexOptions));

    Function fixDate

    • Parameters

      • value: unknown

      Returns Date

      Use TypeConvert.time instead

      -
    +
    diff --git a/functions/fixRating.html b/functions/fixRating.html index eabec91..abf12c1 100644 --- a/functions/fixRating.html +++ b/functions/fixRating.html @@ -2,4 +2,4 @@ window.__typeDocPluginKatexOptions=undefined; window.addEventListener('load', () => window.renderMathInElement(document.body, window.__typeDocPluginKatexOptions));

    Function fixRating

    • Parameters

      • value: unknown

      Returns Rating

      Use TypeConvert.rating instead

      -
    +
    diff --git a/functions/fixState.html b/functions/fixState.html index 3eee8a8..e1f8867 100644 --- a/functions/fixState.html +++ b/functions/fixState.html @@ -2,4 +2,4 @@ window.__typeDocPluginKatexOptions=undefined; window.addEventListener('load', () => window.renderMathInElement(document.body, window.__typeDocPluginKatexOptions));

    Function fixState

    • Parameters

      • value: unknown

      Returns State

      Use TypeConvert.state instead

      -
    +
    diff --git a/functions/formatDate.html b/functions/formatDate.html index b0591e5..babbffd 100644 --- a/functions/formatDate.html +++ b/functions/formatDate.html @@ -1,4 +1,4 @@ formatDate | TS-FSRS

    Function formatDate

    +

    Function formatDate

    diff --git a/functions/fsrs-1.html b/functions/fsrs-1.html index 3ad4579..19b9861 100644 --- a/functions/fsrs-1.html +++ b/functions/fsrs-1.html @@ -12,4 +12,4 @@

    Returns FSRS

    diff --git a/functions/generatorParameters.html b/functions/generatorParameters.html index a383d4d..b8b66f7 100644 --- a/functions/generatorParameters.html +++ b/functions/generatorParameters.html @@ -1,4 +1,4 @@ generatorParameters | TS-FSRS

    Function generatorParameters

    +

    Function generatorParameters

    diff --git a/functions/get_fuzz_range.html b/functions/get_fuzz_range.html index a01814c..7846cd9 100644 --- a/functions/get_fuzz_range.html +++ b/functions/get_fuzz_range.html @@ -1,4 +1,4 @@ get_fuzz_range | TS-FSRS

    Function get_fuzz_range

    • Parameters

      • interval: number
      • elapsed_days: number
      • maximum_interval: number

      Returns {
          max_ivl: number;
          min_ivl: number;
      }

      • max_ivl: number
      • min_ivl: number
    +

    Function get_fuzz_range

    • Parameters

      • interval: number
      • elapsed_days: number
      • maximum_interval: number

      Returns {
          max_ivl: number;
          min_ivl: number;
      }

      • max_ivl: number
      • min_ivl: number
    diff --git a/functions/show_diff_message.html b/functions/show_diff_message.html index 5af37f7..1bb8664 100644 --- a/functions/show_diff_message.html +++ b/functions/show_diff_message.html @@ -1,4 +1,4 @@ show_diff_message | TS-FSRS

    Function show_diff_message

    • Parameters

      • due: DateInput
      • last_review: DateInput
      • Optionalunit: boolean
      • timeUnit: string[] = TIMEUNITFORMAT

      Returns string

    +

    Function show_diff_message

    • Parameters

      • due: DateInput
      • last_review: DateInput
      • Optionalunit: boolean
      • timeUnit: string[] = TIMEUNITFORMAT

      Returns string

    diff --git a/interfaces/Card.html b/interfaces/Card.html index 4775efc..a5b7b33 100644 --- a/interfaces/Card.html +++ b/interfaces/Card.html @@ -1,7 +1,7 @@ Card | TS-FSRS

    Interface Card

    interface Card {
        difficulty: number;
        due: Date;
        elapsed_days: number;
        lapses: number;
        last_review?: Date;
        reps: number;
        scheduled_days: number;
        stability: number;
        state: State;
    }

    Properties

    difficulty +

    Interface Card

    interface Card {
        difficulty: number;
        due: Date;
        elapsed_days: number;
        lapses: number;
        last_review?: Date;
        reps: number;
        scheduled_days: number;
        stability: number;
        state: State;
    }

    Properties

    difficulty: number
    due: Date
    elapsed_days: number
    lapses: number
    last_review?: Date
    reps: number
    scheduled_days: number
    stability: number
    state: State
    +

    Properties

    difficulty: number
    due: Date
    elapsed_days: number
    lapses: number
    last_review?: Date
    reps: number
    scheduled_days: number
    stability: number
    state: State
    diff --git a/interfaces/CardInput.html b/interfaces/CardInput.html index 9133f45..cf50f46 100644 --- a/interfaces/CardInput.html +++ b/interfaces/CardInput.html @@ -1,7 +1,7 @@ CardInput | TS-FSRS

    Interface CardInput

    interface CardInput {
        difficulty: number;
        due: DateInput;
        elapsed_days: number;
        lapses: number;
        last_review?: null | DateInput;
        reps: number;
        scheduled_days: number;
        stability: number;
        state: StateType | State;
    }

    Hierarchy

    • Omit<Card, "state" | "due" | "last_review">
      • CardInput

    Properties

    difficulty +

    Interface CardInput

    interface CardInput {
        difficulty: number;
        due: DateInput;
        elapsed_days: number;
        lapses: number;
        last_review?: null | DateInput;
        reps: number;
        scheduled_days: number;
        stability: number;
        state: StateType | State;
    }

    Hierarchy

    • Omit<Card, "state" | "due" | "last_review">
      • CardInput

    Properties

    difficulty: number
    elapsed_days: number
    lapses: number
    last_review?: null | DateInput
    reps: number
    scheduled_days: number
    stability: number
    state: StateType | State
    +

    Properties

    difficulty: number
    elapsed_days: number
    lapses: number
    last_review?: null | DateInput
    reps: number
    scheduled_days: number
    stability: number
    state: StateType | State
    diff --git a/interfaces/FSRSParameters.html b/interfaces/FSRSParameters.html index 924f0e2..dc7053e 100644 --- a/interfaces/FSRSParameters.html +++ b/interfaces/FSRSParameters.html @@ -1,9 +1,9 @@ FSRSParameters | TS-FSRS

    Interface FSRSParameters

    interface FSRSParameters {
        enable_fuzz: boolean;
        enable_short_term: boolean;
        maximum_interval: number;
        request_retention: number;
        w: number[];
    }

    Properties

    enable_fuzz +

    Interface FSRSParameters

    interface FSRSParameters {
        enable_fuzz: boolean;
        enable_short_term: boolean;
        maximum_interval: number;
        request_retention: number;
        w: number[];
    }

    Properties

    enable_fuzz: boolean
    enable_short_term: boolean
    maximum_interval: number
    request_retention: number
    w: number[]
    +

    Properties

    enable_fuzz: boolean
    enable_short_term: boolean
    maximum_interval: number
    request_retention: number
    w: number[]
    diff --git a/interfaces/FSRSReview.html b/interfaces/FSRSReview.html index 68cbf7c..c2ccf67 100644 --- a/interfaces/FSRSReview.html +++ b/interfaces/FSRSReview.html @@ -1,11 +1,11 @@ FSRSReview | TS-FSRS

    Interface FSRSReview

    interface FSRSReview {
        delta_t: number;
        rating: Rating;
    }

    Properties

    delta_t +

    Interface FSRSReview

    interface FSRSReview {
        delta_t: number;
        rating: Rating;
    }

    Properties

    Properties

    delta_t: number

    The number of days that passed = revlog.elapsed_days = round(revlog[-1].review - revlog[-2].review)

    -
    rating: Rating

    0-4: Manual, Again, Hard, Good, Easy +

    rating: Rating

    0-4: Manual, Again, Hard, Good, Easy = revlog.rating

    -
    +
    diff --git a/interfaces/IPreview.html b/interfaces/IPreview.html index 6403dbc..7b23d94 100644 --- a/interfaces/IPreview.html +++ b/interfaces/IPreview.html @@ -1,9 +1,9 @@ IPreview | TS-FSRS

    Interface IPreview

    interface IPreview {
        1: RecordLogItem;
        2: RecordLogItem;
        3: RecordLogItem;
        4: RecordLogItem;
        [iterator](): IterableIterator<RecordLogItem>;
    }

    Hierarchy (view full)

    Properties

    1 +

    Interface IPreview

    interface IPreview {
        1: RecordLogItem;
        2: RecordLogItem;
        3: RecordLogItem;
        4: RecordLogItem;
        [iterator](): IterableIterator<RecordLogItem>;
    }

    Hierarchy (view full)

    Properties

    1 2 3 4

    Methods

    Properties

    Methods

    +

    Properties

    Methods

    diff --git a/interfaces/IScheduler.html b/interfaces/IScheduler.html index 5fad214..e02333b 100644 --- a/interfaces/IScheduler.html +++ b/interfaces/IScheduler.html @@ -1,6 +1,6 @@ IScheduler | TS-FSRS

    Interface IScheduler

    interface IScheduler {
        preview(): IPreview;
        review(state: Grade): RecordLogItem;
    }

    Implemented by

    Methods

    preview +

    Interface IScheduler

    interface IScheduler {
        preview(): IPreview;
        review(state: Grade): RecordLogItem;
    }

    Implemented by

    Methods

    Methods

    +

    Methods

    diff --git a/interfaces/ReviewLog.html b/interfaces/ReviewLog.html index af45502..781e7b8 100644 --- a/interfaces/ReviewLog.html +++ b/interfaces/ReviewLog.html @@ -1,7 +1,7 @@ ReviewLog | TS-FSRS

    Interface ReviewLog

    interface ReviewLog {
        difficulty: number;
        due: Date;
        elapsed_days: number;
        last_elapsed_days: number;
        rating: Rating;
        review: Date;
        scheduled_days: number;
        stability: number;
        state: State;
    }

    Properties

    difficulty +

    Interface ReviewLog

    interface ReviewLog {
        difficulty: number;
        due: Date;
        elapsed_days: number;
        last_elapsed_days: number;
        rating: Rating;
        review: Date;
        scheduled_days: number;
        stability: number;
        state: State;
    }

    Properties

    difficulty: number
    due: Date
    elapsed_days: number
    last_elapsed_days: number
    rating: Rating
    review: Date
    scheduled_days: number
    stability: number
    state: State
    +

    Properties

    difficulty: number
    due: Date
    elapsed_days: number
    last_elapsed_days: number
    rating: Rating
    review: Date
    scheduled_days: number
    stability: number
    state: State
    diff --git a/interfaces/ReviewLogInput.html b/interfaces/ReviewLogInput.html index 4e77888..6f3c136 100644 --- a/interfaces/ReviewLogInput.html +++ b/interfaces/ReviewLogInput.html @@ -1,7 +1,7 @@ ReviewLogInput | TS-FSRS

    Interface ReviewLogInput

    interface ReviewLogInput {
        difficulty: number;
        due: DateInput;
        elapsed_days: number;
        last_elapsed_days: number;
        rating: RatingType | Rating;
        review: DateInput;
        scheduled_days: number;
        stability: number;
        state: StateType | State;
    }

    Hierarchy

    • Omit<ReviewLog,
          | "rating"
          | "state"
          | "due"
          | "review">
      • ReviewLogInput

    Properties

    difficulty +

    Interface ReviewLogInput

    interface ReviewLogInput {
        difficulty: number;
        due: DateInput;
        elapsed_days: number;
        last_elapsed_days: number;
        rating: RatingType | Rating;
        review: DateInput;
        scheduled_days: number;
        stability: number;
        state: StateType | State;
    }

    Hierarchy

    • Omit<ReviewLog,
          | "rating"
          | "state"
          | "due"
          | "review">
      • ReviewLogInput

    Properties

    difficulty: number
    elapsed_days: number
    last_elapsed_days: number
    rating: RatingType | Rating
    review: DateInput
    scheduled_days: number
    stability: number
    state: StateType | State
    +

    Properties

    difficulty: number
    elapsed_days: number
    last_elapsed_days: number
    rating: RatingType | Rating
    review: DateInput
    scheduled_days: number
    stability: number
    state: StateType | State
    diff --git a/modules.html b/modules.html index e545079..2c11c59 100644 --- a/modules.html +++ b/modules.html @@ -44,6 +44,7 @@ GenSeedStrategyWithCardId clamp createEmptyCard +dateDiffInDays date_diff date_scheduler fixDate diff --git a/types/DateInput.html b/types/DateInput.html index 889ae92..30c8f2c 100644 --- a/types/DateInput.html +++ b/types/DateInput.html @@ -1,4 +1,4 @@ DateInput | TS-FSRS

    Type Alias DateInput

    DateInput: Date | number | string
    +

    Type Alias DateInput

    DateInput: Date | number | string
    diff --git a/types/FSRSHistory.html b/types/FSRSHistory.html index 3c7688e..c32f29f 100644 --- a/types/FSRSHistory.html +++ b/types/FSRSHistory.html @@ -1,4 +1,4 @@ FSRSHistory | TS-FSRS

    Type Alias FSRSHistory

    FSRSHistory: Partial<Omit<ReviewLog, "rating" | "review" | "elapsed_days">> & ({
        rating: Grade;
        review: DateInput | Date;
    } | {
        due: DateInput | Date;
        rating: Manual;
        review: DateInput | Date;
        state: State;
    })
    +

    Type Alias FSRSHistory

    FSRSHistory: Partial<Omit<ReviewLog, "rating" | "review" | "elapsed_days">> & ({
        rating: Grade;
        review: DateInput | Date;
    } | {
        due: DateInput | Date;
        rating: Manual;
        review: DateInput | Date;
        state: State;
    })
    diff --git a/types/Grade.html b/types/Grade.html index 63387f6..6b6cd0e 100644 --- a/types/Grade.html +++ b/types/Grade.html @@ -1,4 +1,4 @@ Grade | TS-FSRS

    Type Alias Grade

    Grade: ExcludeManual<Rating>
    +

    Type Alias Grade

    Grade: ExcludeManual<Rating>
    diff --git a/types/IReschedule.html b/types/IReschedule.html index d69a559..98f94c6 100644 --- a/types/IReschedule.html +++ b/types/IReschedule.html @@ -1,4 +1,4 @@ IReschedule | TS-FSRS

    Type Alias IReschedule<T>

    IReschedule<T>: {
        collections: T[];
        reschedule_item: T | null;
    }

    Type Parameters

    +

    Type Alias IReschedule<T>

    IReschedule<T>: {
        collections: T[];
        reschedule_item: T | null;
    }

    Type Parameters

    diff --git a/types/RatingType.html b/types/RatingType.html index 3b3227a..792024a 100644 --- a/types/RatingType.html +++ b/types/RatingType.html @@ -1,4 +1,4 @@ RatingType | TS-FSRS

    Type Alias RatingType

    RatingType:
        | "Manual"
        | "Again"
        | "Hard"
        | "Good"
        | "Easy"
    +

    Type Alias RatingType

    RatingType:
        | "Manual"
        | "Again"
        | "Hard"
        | "Good"
        | "Easy"
    diff --git a/types/RecordLog.html b/types/RecordLog.html index bca6b38..70e126b 100644 --- a/types/RecordLog.html +++ b/types/RecordLog.html @@ -1,4 +1,4 @@ RecordLog | TS-FSRS

    Type Alias RecordLog

    RecordLog: {
        [key in Grade]: RecordLogItem
    }
    +

    Type Alias RecordLog

    RecordLog: {
        [key in Grade]: RecordLogItem
    }
    diff --git a/types/RecordLogItem.html b/types/RecordLogItem.html index 0db04d5..48a031f 100644 --- a/types/RecordLogItem.html +++ b/types/RecordLogItem.html @@ -1,4 +1,4 @@ RecordLogItem | TS-FSRS

    Type Alias RecordLogItem

    RecordLogItem: {
        card: Card;
        log: ReviewLog;
    }
    +

    Type Alias RecordLogItem

    RecordLogItem: {
        card: Card;
        log: ReviewLog;
    }
    diff --git a/types/RescheduleOptions.html b/types/RescheduleOptions.html index 0f43b73..9c9bcb6 100644 --- a/types/RescheduleOptions.html +++ b/types/RescheduleOptions.html @@ -14,4 +14,4 @@

    Returns number

    A negative number if a should be ordered before b, a positive number if a should be ordered after b, or 0 if they have the same order.

  • skipManual: boolean

    Indicating whether to skip manual steps.

  • update_memory_state: boolean

    Indicating whether to update the FSRS memory state.

    -
  • +
    diff --git a/types/StateType.html b/types/StateType.html index 663b84d..6c9d534 100644 --- a/types/StateType.html +++ b/types/StateType.html @@ -1,4 +1,4 @@ StateType | TS-FSRS

    Type Alias StateType

    StateType:
        | "New"
        | "Learning"
        | "Review"
        | "Relearning"
    +

    Type Alias StateType

    StateType:
        | "New"
        | "Learning"
        | "Review"
        | "Relearning"
    diff --git a/types/TSchedulerStrategy.html b/types/TSchedulerStrategy.html index 7ca2ea6..cafa0be 100644 --- a/types/TSchedulerStrategy.html +++ b/types/TSchedulerStrategy.html @@ -1,4 +1,4 @@ TSchedulerStrategy | TS-FSRS

    Type Alias TSchedulerStrategy<T>

    TSchedulerStrategy<T>: (new (card: T, now: DateInput, algorithm: FSRSAlgorithm, strategies: {
        seed: TSeedStrategy;
    }) => IScheduler)

    Type Parameters

    +

    Type Alias TSchedulerStrategy<T>

    TSchedulerStrategy<T>: (new (card: T, now: DateInput, algorithm: FSRSAlgorithm, strategies: {
        seed: TSeedStrategy;
    }) => IScheduler)

    Type Parameters

    diff --git a/types/TSeedStrategy.html b/types/TSeedStrategy.html index cd93b5d..c932235 100644 --- a/types/TSeedStrategy.html +++ b/types/TSeedStrategy.html @@ -1,4 +1,4 @@ TSeedStrategy | TS-FSRS

    Type Alias TSeedStrategy

    TSeedStrategy: ((this: AbstractScheduler) => string)
    +

    Type Alias TSeedStrategy

    TSeedStrategy: ((this: AbstractScheduler) => string)
    diff --git a/types/TStrategyHandler.html b/types/TStrategyHandler.html index c4a2f40..4416cff 100644 --- a/types/TStrategyHandler.html +++ b/types/TStrategyHandler.html @@ -1,4 +1,4 @@ TStrategyHandler | TS-FSRS

    Type Alias TStrategyHandler<E>

    TStrategyHandler<E>: E extends SCHEDULER
        ? TSchedulerStrategy
        : E extends SEED
            ? TSeedStrategy
            : never

    Type Parameters

    +

    Type Alias TStrategyHandler<E>

    TStrategyHandler<E>: E extends SCHEDULER
        ? TSchedulerStrategy
        : E extends SEED
            ? TSeedStrategy
            : never

    Type Parameters

    diff --git a/types/double.html b/types/double.html index 108810b..9919bf7 100644 --- a/types/double.html +++ b/types/double.html @@ -1,4 +1,4 @@ double | TS-FSRS

    Type Alias double

    double: number & {
        __double__: void;
    }
    +

    Type Alias double

    double: number & {
        __double__: void;
    }
    diff --git a/types/int.html b/types/int.html index 4f1298c..8c48faf 100644 --- a/types/int.html +++ b/types/int.html @@ -1,4 +1,4 @@ int | TS-FSRS

    Type Alias int

    int: number & {
        __int__: void;
    }
    +

    Type Alias int

    int: number & {
        __int__: void;
    }
    diff --git a/types/unit.html b/types/unit.html index 56bb568..57d30da 100644 --- a/types/unit.html +++ b/types/unit.html @@ -1,4 +1,4 @@ unit | TS-FSRS

    Type Alias unit

    unit: "days" | "minutes"
    +

    Type Alias unit

    unit: "days" | "minutes"
    diff --git a/variables/DECAY.html b/variables/DECAY.html index dc9198f..6fc8dc1 100644 --- a/variables/DECAY.html +++ b/variables/DECAY.html @@ -4,4 +4,4 @@

    Variable DECAYConst

    DECAY: number = -0.5
    DECAY = -0.5
     
    -
    +
    diff --git a/variables/FACTOR.html b/variables/FACTOR.html index 344beb1..7a36ed1 100644 --- a/variables/FACTOR.html +++ b/variables/FACTOR.html @@ -6,4 +6,4 @@
    FACTOR = 19 / 81
     
    -
    +
    diff --git a/variables/FSRSVersion.html b/variables/FSRSVersion.html index ceff80c..c7a5800 100644 --- a/variables/FSRSVersion.html +++ b/variables/FSRSVersion.html @@ -1,4 +1,4 @@ FSRSVersion | TS-FSRS

    Variable FSRSVersionConst

    FSRSVersion: string = 'v4.5.1 using FSRS-5.0'
    +

    Variable FSRSVersionConst

    FSRSVersion: string = 'v4.5.2 using FSRS-5.0'
    diff --git a/variables/Grades.html b/variables/Grades.html index 819545a..bcd12c6 100644 --- a/variables/Grades.html +++ b/variables/Grades.html @@ -1,4 +1,4 @@ Grades | TS-FSRS

    Variable GradesConst

    Grades: Readonly<Grade[]> = ...
    +

    Variable GradesConst

    Grades: Readonly<Grade[]> = ...
    diff --git a/variables/default_enable_fuzz.html b/variables/default_enable_fuzz.html index 3ad3c50..f41d2c2 100644 --- a/variables/default_enable_fuzz.html +++ b/variables/default_enable_fuzz.html @@ -1,4 +1,4 @@ default_enable_fuzz | TS-FSRS

    Variable default_enable_fuzzConst

    default_enable_fuzz: false = false
    +

    Variable default_enable_fuzzConst

    default_enable_fuzz: false = false
    diff --git a/variables/default_enable_short_term.html b/variables/default_enable_short_term.html index 64301be..61c20fc 100644 --- a/variables/default_enable_short_term.html +++ b/variables/default_enable_short_term.html @@ -1,4 +1,4 @@ default_enable_short_term | TS-FSRS

    Variable default_enable_short_termConst

    default_enable_short_term: true = true
    +

    Variable default_enable_short_termConst

    default_enable_short_term: true = true
    diff --git a/variables/default_maximum_interval.html b/variables/default_maximum_interval.html index 588f41e..21af86d 100644 --- a/variables/default_maximum_interval.html +++ b/variables/default_maximum_interval.html @@ -1,4 +1,4 @@ default_maximum_interval | TS-FSRS

    Variable default_maximum_intervalConst

    default_maximum_interval: 36500 = 36500
    +

    Variable default_maximum_intervalConst

    default_maximum_interval: 36500 = 36500
    diff --git a/variables/default_request_retention.html b/variables/default_request_retention.html index 17ca514..e3faefe 100644 --- a/variables/default_request_retention.html +++ b/variables/default_request_retention.html @@ -1,4 +1,4 @@ default_request_retention | TS-FSRS

    Variable default_request_retentionConst

    default_request_retention: 0.9 = 0.9
    +

    Variable default_request_retentionConst

    default_request_retention: 0.9 = 0.9
    diff --git a/variables/default_w.html b/variables/default_w.html index d22965e..103b7e1 100644 --- a/variables/default_w.html +++ b/variables/default_w.html @@ -1,4 +1,4 @@ default_w | TS-FSRS

    Variable default_wConst

    default_w: number[] = ...
    +

    Variable default_wConst

    default_w: number[] = ...