IasTransferFunction.Impls.MinMaxThreshold
index
/home/ubuntu/IasRoot/lib/python3.10/site-packages/IasTransferFunction/Impls/MinMaxThreshold.py

 
Modules
       
logging
sys

 
Classes
       
IasTransferFunction.TransferFunction.TransferFunction(builtins.object)
MinMaxThreshold

 
class MinMaxThreshold(IasTransferFunction.TransferFunction.TransferFunction)
    MinMaxThreshold(asceId, asceRunningId, validityTimeFrame, props, instance)
 
The python TF implementation of the min max threshold
 
This TF is used mostly for testing python TF and to provide an example.
In operation the scala version should be preferred because is more performant
 
 
Method resolution order:
MinMaxThreshold
IasTransferFunction.TransferFunction.TransferFunction
builtins.object

Methods defined here:
__init__(self, asceId, asceRunningId, validityTimeFrame, props, instance)
Constructor
 
:param asceId:
:param asceRunningId:
:param validityTimeFrame:
:param props:
eval(self, compInputs, actualOutput)
Run the TF
 
:param compInputs: The inputs (Map of IASIOs with their IDs as keys)
:param actualOutput: the actual output (IASIO)
:return: the new output of the ASCE (IASIO)
initialize(self, inputsInfo, outputInfo)
Initializiation
 
:param inputsInfo: The list of IDs and types of the inputs
:param outputInfo: The ID and type of the output
:return:

Methods inherited from IasTransferFunction.TransferFunction.TransferFunction:
getValue(self, inputs, id, instance)
Get a value from its ID taking into account templates
 
It is the same method present in the JavaTransferExecutor and in ScalaTransferExecutor
 
:param inputs: the map of inputs as received in the eval method
:param id: the id (string) of the input (without template)
:param instance: the instance (int) or None if not templated
:return: the value or None if not found
isTemplated(self)
:return: the number of the instance or NOne if not template
setTemplateInstance(self, instance)
Set the instance of the template, if any.
 
:param instance: the instance number or None if there is no template
:return:
shutdown(self)
Last method called when the object life terminates.
It is usually called to free acquired resources.
 
:return:

Data descriptors inherited from IasTransferFunction.TransferFunction.TransferFunction:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)