Creates a basic binary quantizer that outputs 1.0 when input exceeds the threshold and 0.0 otherwise.
23{
26 };
27}
DirectFunction m_direct_function
Function for direct mode.
size_t m_history_size
Maximum size of the history buffer.
EdgeType m_edge_type
Type of edge to detect.
double m_threshold
Threshold for boolean conversion.
double m_temporal_time
Time tracking for temporal mode.
double m_high_threshold
High threshold for hysteresis.
LogicOperator m_operator
Current logic operator.
double m_low_threshold
Low threshold for hysteresis.
bool m_edge_detected
Whether an edge was detected in the last processing.
bool m_hysteresis_state
State for hysteresis operator.
LogicMode m_mode
Current processing mode.
size_t m_input_count
Expected number of inputs for multi-input mode.
@ BOTH
Any state transition.
@ DIRECT
Stateless evaluation of current input only (combinational logic)
@ THRESHOLD
Binary quantization - true when input exceeds threshold.