...
Code Block | ||
---|---|---|
| ||
{ "definition": { "calculations": [ { "name": "calc1", "type": "formula", "formulaName": "POAI_Test_Calc1" }, { "name": "seq", "type": "sequence", "calculations": [ "calc2", "calc3" ] }, { "name": "calc2", "type": "formula", "formulaName": "POAI_Test_Calc2" }, { "name": "calc3", "type": "formula", "formulaName": "POAI_Test_Calc3" }, { "name": "calc4", "type": "parallel", "formulaName": "POAI_Test_ParallelCalc" } ] } } |
Fields:
name* – Name of the Calculation, unique within this Model Class.
type* – Accepted values:
formula
– Simple calculation, all actions in the provided logic are done in a sequential order.parallel
– Parallel calculation. The calculations done by the logic can be split into more parts (called Items) and the calculation of those Items will be done in parallel.sequence
– This calculation does not have a logic, it is only reference to a list of other calculations, which should be executed one by one.
formulaName* – Unique name of a Logic. Used only for
formula
andparallel
types.for
formula
type - the logic must be of naturemodel_calculation
. See Model Calculation Logic .for
parallel
type - the logic must be of naturemodel_parallel_calculation
. See Model Parallel Calculation Logic .
sequence* – List of Calculation names defined in this Model Class. Used only for
sequence
type.
...