i_step_function_rule_data
Module for IStepFunctionRuleData interface
!!! interfaces IStepFunctionRuleData
IStepFunctionRuleData (IRuleData, ABC)
Data for a step function rule
Source code in api/i_step_function_rule_data.py
class IStepFunctionRuleData(IRuleData, ABC):
"""Data for a step function rule"""
@property
@abstractmethod
def input_variable(self) -> str:
"""Name of the input variable"""
@property
@abstractmethod
def limits(self) -> List[float]:
"""Limits of the intervals defining the step function rule"""
@property
@abstractmethod
def responses(self) -> List[float]:
"""Responses corresponding to each of the intervals
defining the step function rule"""
input_variable: str
property
readonly
Name of the input variable
limits: List[float]
property
readonly
Limits of the intervals defining the step function rule
responses: List[float]
property
readonly
Responses corresponding to each of the intervals defining the step function rule