Problem – Describing a Mathematical Calculation
Almost all business processes involve some form of mathematical computation. When the calculation is subject to some degree of variability, the aspects that are subject to change need to be identified. Each piece of the algorithm must be bound to a concrete value in order to compute the result within the context of an individual calculation.
Solution
Mathematical calculations that exhibit any degree of variability may be declared as a parameterized algorithm type. Complex algorithms may require their own domain specific language.
| Parameter Set 1 |
Included Periods | 1 |
| Averaging Period | 5 | |
| Period Type | calendar year | |
| Is Consecutive | True | |
| Parameter Set 2 |
Included Periods | 12 |
| Averaging Period | 36 | |
| Period Type | calendar month | |
| Is Consecutive | True | |
| Parameter Set 3 |
Included Periods | 8 |
| Averaging Period | 24 | |
| Period Type | calendar month | |
| Is Consecutive | False |