71 void setOutputDir(std::string dir) { _output_dir = std::move(dir); }
76 [[nodiscard]]
const std::string&
getOutputDir() const noexcept {
return _output_dir; }
91 std::unique_ptr<core::World> _world;
94 std::mt19937 _master_seeder;
97 std::string _output_dir =
".";
Manages the lifetime and state of a single FERS simulation scenario.
FersContext()
Constructs a new simulation context, initializing an empty world.
void setLastOutputMetadata(core::OutputMetadata metadata)
const std::string & getOutputDir() const noexcept
Gets the output directory for simulation results.
std::mt19937 & getMasterSeeder() noexcept
Retrieves a mutable reference to the master random number seeder.
void setOutputDir(std::string dir)
Sets the output directory for simulation results.
core::World * getWorld() const noexcept
Retrieves a pointer to the simulation world.
std::string getLastOutputMetadataJson() const
void clearLastOutputMetadata()