PineForge HPO 0.1.0
Native hyperparameter optimization for PineForge strategies
Loading...
Searching...
No Matches
search_space.hpp File Reference
#include <cstdint>
#include <map>
#include <optional>
#include <string>
#include <string_view>
#include <variant>
#include <vector>
#include "pineforge/hpo/types.hpp"

Go to the source code of this file.

Classes

class  pineforge::hpo::IntegerDimension
 Named signed-integer dimension with inclusive bounds and a positive step. More...
 
class  pineforge::hpo::RealDimension
 Named binary64 dimension with inclusive bounds and an optional finite-grid step. More...
 
class  pineforge::hpo::BooleanDimension
 Named dimension whose legal values are exactly false and true. More...
 
class  pineforge::hpo::CategoricalDimension
 Named dimension backed by an ordered, non-empty set of scalar choices. More...
 
struct  pineforge::hpo::ValidationIssue
 One candidate-validation failure tied to a parameter name. More...
 
class  pineforge::hpo::SearchSpace
 Ordered product of named dimensions with validation and finite-space codecs. More...
 

Namespaces

namespace  pineforge
 
namespace  pineforge::hpo
 

Typedefs

using pineforge::hpo::Dimension = std::variant< IntegerDimension, RealDimension, BooleanDimension, CategoricalDimension >
 Closed variant over every supported search-space dimension type.
 

Enumerations

enum class  pineforge::hpo::DimensionKind { pineforge::hpo::Integer , pineforge::hpo::Real , pineforge::hpo::Boolean , pineforge::hpo::Categorical }
 Concrete dimension category stored by Dimension. More...
 

Functions

DimensionKind pineforge::hpo::dimension_kind (const Dimension &dimension) noexcept
 Returns the concrete category stored in dimension.
 
std::string_view pineforge::hpo::dimension_name (const Dimension &dimension) noexcept
 Returns the name of the concrete dimension.
 
bool pineforge::hpo::dimension_contains (const Dimension &dimension, const ParameterValue &value) noexcept
 Dispatches a type-aware membership test to the concrete dimension.