JaffarPlus
High-performance best-first search optimizer for tool-assisted speedruns
Loading...
Searching...
No Matches
jaffarPlus::Engine::manualSaveSolution_t Struct Reference

A manually saved solution: its input path, reward, serialized state, and triggering rule index. More...

Public Attributes

std::string path
 Input sequence (solution path) that reached the saved state.
 
float reward
 Reward of the saved state.
 
void * stateData = nullptr
 Raw buffer holding the serialized saved state, or nullptr if unset.
 
ssize_t lastRuleIdx
 Index of the last rule active when the state was saved.
 
size_t stepCount = 0
 Depth (input count) of the saved state, recorded at capture.
 

Detailed Description

A manually saved solution: its input path, reward, serialized state, and triggering rule index.

Definition at line 721 of file engine.hpp.

Member Data Documentation

◆ lastRuleIdx

ssize_t jaffarPlus::Engine::manualSaveSolution_t::lastRuleIdx

Index of the last rule active when the state was saved.

Definition at line 726 of file engine.hpp.

◆ path

std::string jaffarPlus::Engine::manualSaveSolution_t::path

Input sequence (solution path) that reached the saved state.

Definition at line 723 of file engine.hpp.

◆ reward

float jaffarPlus::Engine::manualSaveSolution_t::reward

Reward of the saved state.

Definition at line 724 of file engine.hpp.

◆ stateData

void* jaffarPlus::Engine::manualSaveSolution_t::stateData = nullptr

Raw buffer holding the serialized saved state, or nullptr if unset.

Definition at line 725 of file engine.hpp.

◆ stepCount

size_t jaffarPlus::Engine::manualSaveSolution_t::stepCount = 0

Depth (input count) of the saved state, recorded at capture.

Definition at line 727 of file engine.hpp.


The documentation for this struct was generated from the following file: