MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ state_mutable()

GeneratorState & MayaFlux::Kinesis::Stochastic::Stochastic::state_mutable ( )
inline

Gets mutable internal state.

Returns
Mutable reference to generator state

Enables direct manipulation of internal state for:

  • Injecting externally computed breakpoints (Gendy)
  • Seeding noise fields with analyzed data (Perlin)
  • Nudging random walks toward attractors (Brownian)
  • Implementing hybrid human/algorithmic control

Example: Inject ML-inferred Gendy breakpoints

auto& state = gen.state_mutable();
state.algorithm_specific["breakpoint_amplitudes"] = ml_predicted_amps;
state.algorithm_specific["breakpoint_durations"] = ml_predicted_durs;
const GeneratorState & state() const
Gets current internal state.
std::map< std::string, std::any > algorithm_specific

Definition at line 239 of file Stochastic.hpp.

239{ return m_state; }