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

A reward value paired with a serialized state buffer. More...

Public Attributes

float reward
 Reward associated with the stored state.
 
void * stateData = nullptr
 Raw buffer holding the serialized state, or nullptr if unset.
 
size_t stepCount = 0
 Depth (input count) of the saved state, recorded at capture (the count is not serialized per-state).
 

Detailed Description

A reward value paired with a serialized state buffer.

Definition at line 713 of file engine.hpp.

Member Data Documentation

◆ reward

float jaffarPlus::Engine::stateInfo_t::reward

Reward associated with the stored state.

Definition at line 715 of file engine.hpp.

◆ stateData

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

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

Definition at line 716 of file engine.hpp.

◆ stepCount

size_t jaffarPlus::Engine::stateInfo_t::stepCount = 0

Depth (input count) of the saved state, recorded at capture (the count is not serialized per-state).

Definition at line 717 of file engine.hpp.


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