@reicek/neataptic-ts 0.1.7 → 0.1.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.
Files changed (45) hide show
  1. package/docs/assets/ascii-maze.bundle.js +32 -0
  2. package/docs/assets/ascii-maze.bundle.js.map +2 -2
  3. package/docs/src/README.md +52 -0
  4. package/docs/src/index.html +30 -0
  5. package/package.json +1 -1
  6. package/src/README.md +52 -0
  7. package/src/neat.ts +30 -0
  8. package/test/neat/neat.adaptive.ancestorUniq.cooldown.skip.test.ts +36 -0
  9. package/test/neat/neat.adaptive.ancestorUniq.epsilon.test.ts +65 -0
  10. package/test/neat/neat.adaptive.ancestorUniq.lineagePressure.test.ts +55 -0
  11. package/test/neat/neat.adaptive.complexityBudget.connShrink.test.ts +31 -0
  12. package/test/neat/neat.adaptive.complexityBudget.growth.novelty.test.ts +43 -0
  13. package/test/neat/neat.adaptive.complexityBudget.minClamp.test.ts +27 -0
  14. package/test/neat/neat.adaptive.complexityBudget.trend.test.ts +61 -0
  15. package/test/neat/neat.adaptive.minimalCriterion.rejection.test.ts +32 -0
  16. package/test/neat/neat.adaptive.mutation.amount.adapt.test.ts +36 -0
  17. package/test/neat/neat.adaptive.mutation.anneal.strategy.test.ts +36 -0
  18. package/test/neat/neat.adaptive.mutation.exploreLow.strategy.test.ts +36 -0
  19. package/test/neat/neat.adaptive.mutation.twotier.balance.test.ts +35 -0
  20. package/test/neat/neat.adaptive.mutation.twotier.fallback.single.test.ts +33 -0
  21. package/test/neat/neat.adaptive.operator.adaptation.decay.balance.test.ts +35 -0
  22. package/test/neat/neat.adaptive.operator.bandit.decay.test.ts +30 -0
  23. package/test/neat/neat.adaptive.phasedComplexity.toggle.test.ts +30 -0
  24. package/test/neat/neat.compat.distance.cache.test.ts +38 -0
  25. package/test/neat/neat.export.meta.fromjson.test.ts +24 -0
  26. package/test/neat/neat.export.state.rehydrate.test.ts +38 -0
  27. package/test/neat/neat.helpers.spawn.pool.test.ts +47 -0
  28. package/test/neat/neat.lineage.buildAnc.window.test.ts +24 -0
  29. package/test/neat/neat.mutation.addconn.cycle.guard.test.ts +49 -0
  30. package/test/neat/neat.objectives.register.clear.test.ts +53 -0
  31. package/test/neat/neat.pruning.adaptive.test.ts +58 -0
  32. package/test/neat/neat.selection.strategies.test.ts +47 -0
  33. package/test/neat/neat.speciation.age.penalty.test.ts +44 -0
  34. package/test/neat/neat.speciation.assign.existing.test.ts +35 -0
  35. package/test/neat/neat.speciation.auto.tuning.jitter.test.ts +51 -0
  36. package/test/neat/neat.speciation.create.newSpecies.test.ts +40 -0
  37. package/test/neat/neat.speciation.fitnessSharing.equal.test.ts +20 -0
  38. package/test/neat/neat.speciation.fitnessSharing.kernel.test.ts +21 -0
  39. package/test/neat/neat.speciation.pid.threshold.clip.max.test.ts +42 -0
  40. package/test/neat/neat.speciation.pid.threshold.clip.min.test.ts +42 -0
  41. package/test/neat/neat.speciation.stagnation.prune.test.ts +34 -0
  42. package/test/neat/neat.species.history.fallbacks.test.ts +57 -0
  43. package/test/neat/neat.telemetry.fastmode.diversity.test.ts +42 -0
  44. package/test/neat/neat.telemetry.objective.events.test.ts +58 -0
  45. package/test/neat/neat.telemetry.select.entropy.cache.test.ts +70 -0
@@ -11947,6 +11947,38 @@
11947
11947
  })
11948
11948
  );
11949
11949
  }
11950
+ /**
11951
+ * Manually apply evolution-time pruning once using the current generation
11952
+ * index and configuration in `options.evolutionPruning`.
11953
+ *
11954
+ * Educational usage: While pruning normally occurs automatically inside
11955
+ * the evolve loop, exposing this method lets learners trigger the pruning
11956
+ * logic in isolation to observe its effect on network sparsity.
11957
+ *
11958
+ * Implementation detail: Delegates to the migrated helper in
11959
+ * `neat.pruning.ts` so the core class surface remains thin.
11960
+ */
11961
+ applyEvolutionPruning() {
11962
+ try {
11963
+ (init_neat_pruning(), __toCommonJS(neat_pruning_exports)).applyEvolutionPruning.call(this);
11964
+ } catch {
11965
+ }
11966
+ }
11967
+ /**
11968
+ * Run the adaptive pruning controller once. This adjusts the internal
11969
+ * `_adaptivePruneLevel` based on the configured metric (nodes or
11970
+ * connections) and invokes per-genome pruning when an adjustment is
11971
+ * warranted.
11972
+ *
11973
+ * Educational usage: Allows step-wise observation of how the adaptive
11974
+ * controller converges population complexity toward a target sparsity.
11975
+ */
11976
+ applyAdaptivePruning() {
11977
+ try {
11978
+ (init_neat_pruning(), __toCommonJS(neat_pruning_exports)).applyAdaptivePruning.call(this);
11979
+ } catch {
11980
+ }
11981
+ }
11950
11982
  /**
11951
11983
  * Return the internal telemetry buffer.
11952
11984
  *