Ultra 0.9.4
Loading...
Searching...
No Matches
ultra::parameters::cache_parameters Struct Reference

Public Attributes

unsigned size {16}
 2^size is the number of elements of the cache. 0 disables caching.
std::filesystem::path serialization_file {}

Member Data Documentation

◆ serialization_file

std::filesystem::path ultra::parameters::cache_parameters::serialization_file {}

Optional file used to persist evaluator cache entries across searches.

Warning
Persisted cache entries do not currently contain compatibility metadata. The cache file is assumed to belong to the exact same evaluation context: same dataset, evaluator semantics, fitness type/shape, symbol set, parameters, and binary/library version.

Loading an incompatible cache may reuse stale fitness values. Delete the cache file, change its name, or disable cache loading whenever the evaluation environment changes.


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