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

One generation of a rolling store: a hash set of previously found states plus its identity, age and snapshotted statistics. More...

Public Attributes

const size_t id
 The store id.
 
const size_t age
 The store age (number of steps elapsed since it was created).
 
size_t queryCount
 How many queries were made (snapshot of summed per-thread counts at roll time).
 
size_t collisionCount
 How many collisions were detected (snapshot of summed per-thread counts at roll time).
 
jaffarCommon::concurrent::HashSet_t< jaffarCommon::hash::hash_t > hashSet = {}
 The internal set of hashes for this store generation.
 

Detailed Description

One generation of a rolling store: a hash set of previously found states plus its identity, age and snapshotted statistics.

A store holds a window of these generations; the oldest are discarded first when the window is at capacity.

Definition at line 263 of file hashDb.hpp.

Member Data Documentation

◆ age

const size_t jaffarPlus::HashDb::hashStore_t::age

The store age (number of steps elapsed since it was created).

Definition at line 267 of file hashDb.hpp.

◆ collisionCount

size_t jaffarPlus::HashDb::hashStore_t::collisionCount

How many collisions were detected (snapshot of summed per-thread counts at roll time).

Definition at line 271 of file hashDb.hpp.

◆ hashSet

jaffarCommon::concurrent::HashSet_t<jaffarCommon::hash::hash_t> jaffarPlus::HashDb::hashStore_t::hashSet = {}

The internal set of hashes for this store generation.

Definition at line 273 of file hashDb.hpp.

◆ id

const size_t jaffarPlus::HashDb::hashStore_t::id

The store id.

Definition at line 265 of file hashDb.hpp.

◆ queryCount

size_t jaffarPlus::HashDb::hashStore_t::queryCount

How many queries were made (snapshot of summed per-thread counts at roll time).

Definition at line 269 of file hashDb.hpp.


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