Skip to main content

Neuralyzer::Transforms::V2::RangeReductionMetadata

Neuralyzer::Transforms::V2::RangeReductionMetadata

Metadata about a registered range reduction operation. More…

#include <RangeReductionTypes.hpp>

Public Attributes

Name
std::string name
Unique name for the reduction (e.g., “FirstPositiveLatency”).
std::string description
Human-readable description.
std::string category
Category for UI grouping (e.g., “Event Statistics”, “Value Statistics”).
std::type_index input_type
Type of element consumed from the input range.
std::type_index output_type
Type of scalar produced.
std::type_index params_type
Type of parameters (typeid(void) for stateless).
std::string input_type_name
String names for serialization/UI display.
std::string output_type_name
std::string params_type_name
std::string version
Version for compatibility tracking.
std::string author
Author information.
bool is_expensive
Performance hints.
bool is_deterministic
True if same input always produces same output.
bool requires_time_series_element
Input element concept requirements (for documentation/validation).
bool requires_entity_element
Input must satisfy EntityElement.
bool requires_value_element
Input must satisfy ValueElement.

Detailed Description

struct Neuralyzer::Transforms::V2::RangeReductionMetadata;

Metadata about a registered range reduction operation.

Parallels TransformMetadata but specialized for range reductions. Used for UI generation, discovery, and JSON serialization.

Public Attributes Documentation

variable name

std::string name;

Unique name for the reduction (e.g., “FirstPositiveLatency”).

variable description

std::string description;

Human-readable description.

variable category

std::string category;

Category for UI grouping (e.g., “Event Statistics”, “Value Statistics”).

variable input_type

std::type_index input_type = typeid(void);

Type of element consumed from the input range.

variable output_type

std::type_index output_type = typeid(void);

Type of scalar produced.

variable params_type

std::type_index params_type = typeid(void);

Type of parameters (typeid(void) for stateless).

variable input_type_name

std::string input_type_name;

String names for serialization/UI display.

variable output_type_name

std::string output_type_name;

variable params_type_name

std::string params_type_name;

variable version

std::string version = "1.0";

Version for compatibility tracking.

variable author

std::string author;

Author information.

variable is_expensive

bool is_expensive = false;

Performance hints.

True if reduction is computationally intensive

variable is_deterministic

bool is_deterministic = true;

True if same input always produces same output.

variable requires_time_series_element

bool requires_time_series_element = true;

Input element concept requirements (for documentation/validation).

Input must satisfy TimeSeriesElement

variable requires_entity_element

bool requires_entity_element = false;

Input must satisfy EntityElement.

variable requires_value_element

bool requires_value_element = false;

Input must satisfy ValueElement.


Updated on 2026-11-13 at 20:25:41 +0000