No description
Find a file
Markus Scully db531c8c73
🧪 workspace, varo: Implement RNG with ChaCha8 and add optimization function
- Updated `Cargo.toml` and `Cargo.lock` to downgrade `rand_core` to 0.6.4 and add `rand_chacha` dependency with `serde1` feature.
- Implemented `Rng` struct wrapping `ChaCha8Rng` with seed initialization, stream selection, and number generation methods.
- Added `rng_new`, `rng_from_seed`, `rng_set_stream`, `rng_next_u32`, `rng_next_u64`, `rng_fill_bytes`, `rng_gen_f32`, and `rng_gen_gaussian` functions.
- Made `value` field in `Score` and `values` field in `OptimizationResult` public.
- Implemented `Distribution::sample` method that generates Gaussian numbers when moments are available.
- Added `From<f32>` implementation for `Score`.
- Implemented `optimize` function that evaluates candidates using cloned RNG streams and returns sorted results.
- Added integration test `test_optimize` that verifies optimization sorting behavior.
2025-08-06 16:46:58 +03:00
.cargo ♻️🍱💩👷 crates/vanth, project: Refactor entity system and setup; migrate to Nix flakes 2025-08-04 21:03:15 +03:00
crates 🧪 workspace, varo: Implement RNG with ChaCha8 and add optimization function 2025-08-06 16:46:58 +03:00
.gitignore Init commit 2024-11-14 23:24:15 +00:00
Cargo.lock 🧪 workspace, varo: Implement RNG with ChaCha8 and add optimization function 2025-08-06 16:46:58 +03:00
Cargo.toml 🧪 workspace, varo: Implement RNG with ChaCha8 and add optimization function 2025-08-06 16:46:58 +03:00
flake.lock ♻️🍱💩👷 crates/vanth, project: Refactor entity system and setup; migrate to Nix flakes 2025-08-04 21:03:15 +03:00
flake.nix ♻️🍱💩👷 crates/vanth, project: Refactor entity system and setup; migrate to Nix flakes 2025-08-04 21:03:15 +03:00
LICENSE Refactor: Convert project to a Bevy-based workspace and node 2025-07-12 22:59:41 +03:00
README.md Refactor: Convert project to a Bevy-based workspace and node 2025-07-12 22:59:41 +03:00

Vanth

Vanth is a work in progress. Maybe some kind of distributed ECS database?