Crate core_rust

Crate core_rust 

Source
Expand description

Python bindings for the core GridWorld + MCTS abstraction crate.

This crate exposes a minimal, typed interface to Python via pyo3. It allows you to:

  • Compute optimal discounted returns and shortest paths for a world.
  • Visualize worlds and learned abstractions.
  • Run MCTS either in the ground MDP or in an abstracted MDP.
  • Build transition/reward matrices and enumerate state counts.

The Rust types and modules remain available for native Rust use under crate::core. The Python module installs under the name core_rust.

Modules§

core

Structs§

PyRunner
Python wrapper for the Rust Runner, capable of executing MCTS episodes.