jssm 5.157.6 → 5.157.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/jssm.es5.d.cts CHANGED
@@ -3023,6 +3023,13 @@ declare class Machine<mDT> {
3023
3023
  *
3024
3024
  * @param start - State to begin the walk from.
3025
3025
  * @param max_steps - Maximum transitions before the walk is step-capped.
3026
+ * @param exit_memo - Per-run-set cache of {@link Machine.probable_exits_for}
3027
+ * results. The graph is immutable after construction, so a state's
3028
+ * probable exits never change; sharing one memo across a generator's
3029
+ * runs collapses runs×steps re-derivations (two array allocations and an
3030
+ * exit rescan per step) to one per distinct state. The memo only reuses
3031
+ * the derived arrays — RNG draw order is untouched, so seeded walks
3032
+ * reproduce exactly.
3026
3033
  * @returns The {@link JssmStochasticRun} for this walk.
3027
3034
  */
3028
3035
  private _stochastic_one_walk;
package/jssm.es6.d.ts CHANGED
@@ -3023,6 +3023,13 @@ declare class Machine<mDT> {
3023
3023
  *
3024
3024
  * @param start - State to begin the walk from.
3025
3025
  * @param max_steps - Maximum transitions before the walk is step-capped.
3026
+ * @param exit_memo - Per-run-set cache of {@link Machine.probable_exits_for}
3027
+ * results. The graph is immutable after construction, so a state's
3028
+ * probable exits never change; sharing one memo across a generator's
3029
+ * runs collapses runs×steps re-derivations (two array allocations and an
3030
+ * exit rescan per step) to one per distinct state. The memo only reuses
3031
+ * the derived arrays — RNG draw order is untouched, so seeded walks
3032
+ * reproduce exactly.
3026
3033
  * @returns The {@link JssmStochasticRun} for this walk.
3027
3034
  */
3028
3035
  private _stochastic_one_walk;
@@ -2193,6 +2193,13 @@ declare class Machine<mDT> {
2193
2193
  *
2194
2194
  * @param start - State to begin the walk from.
2195
2195
  * @param max_steps - Maximum transitions before the walk is step-capped.
2196
+ * @param exit_memo - Per-run-set cache of {@link Machine.probable_exits_for}
2197
+ * results. The graph is immutable after construction, so a state's
2198
+ * probable exits never change; sharing one memo across a generator's
2199
+ * runs collapses runs×steps re-derivations (two array allocations and an
2200
+ * exit rescan per step) to one per distinct state. The memo only reuses
2201
+ * the derived arrays — RNG draw order is untouched, so seeded walks
2202
+ * reproduce exactly.
2196
2203
  * @returns The {@link JssmStochasticRun} for this walk.
2197
2204
  */
2198
2205
  private _stochastic_one_walk;
package/jssm_viz.es6.d.ts CHANGED
@@ -2193,6 +2193,13 @@ declare class Machine<mDT> {
2193
2193
  *
2194
2194
  * @param start - State to begin the walk from.
2195
2195
  * @param max_steps - Maximum transitions before the walk is step-capped.
2196
+ * @param exit_memo - Per-run-set cache of {@link Machine.probable_exits_for}
2197
+ * results. The graph is immutable after construction, so a state's
2198
+ * probable exits never change; sharing one memo across a generator's
2199
+ * runs collapses runs×steps re-derivations (two array allocations and an
2200
+ * exit rescan per step) to one per distinct state. The memo only reuses
2201
+ * the derived arrays — RNG draw order is untouched, so seeded walks
2202
+ * reproduce exactly.
2196
2203
  * @returns The {@link JssmStochasticRun} for this walk.
2197
2204
  */
2198
2205
  private _stochastic_one_walk;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jssm",
3
- "version": "5.157.6",
3
+ "version": "5.157.8",
4
4
  "engines": {
5
5
  "node": ">=10.0.0"
6
6
  },