Wrapper to a compiled parametrization taking conditions and noise as input. More...
Public Member Functions | |
def | __init__ (self, SQLite3DB db, str library_path, str function_name, str query, str output_table, List[str] outputs, int nRandom, List[str] references) |
Configure a Transformer to wrap a parametrization function defined in an external library. More... | |
Wrapper to a compiled parametrization taking conditions and noise as input.
Python bindings for SQLamarr::GenerativePlugin.
Definition at line 30 of file GenerativePlugin.py.
def SQLamarr.GenerativePlugin.GenerativePlugin.__init__ | ( | self, | |
SQLite3DB | db, | ||
str | library_path, | ||
str | function_name, | ||
str | query, | ||
str | output_table, | ||
List[str] | outputs, | ||
int | nRandom, | ||
List[str] | references | ||
) |
Configure a Transformer
to wrap a parametrization function defined in an external library.
db | An open database connection; |
library_path | path-like position of the shared library; |
function_name | linker symbol of the function to wrap; |
query | SQL query defining the reference indices and the inputs to be passed to the wrapped function; |
output_table | name of the output TEMPORARY TABLE where outputs are stored toghether with the reference indices; |
outputs | list of the output column names for further reference; |
nRandom | number of normally distributed random noise values; |
references | list of reference indices SELECT ed by the query , but not part of the input to the wrapped function. |
Definition at line 36 of file GenerativePlugin.py.