Here, SYSTEM_CALL can be replaced by, or remodelled using EL_AGENT from BMM, prefixed with a context qualifier, representing the ‘system’. This allows representation of fully-specified (all arguments supplied) and also partially open agents, i.e. requiring some parameters to become callable.
We can replace WORK_PLAN.context with references to ‘used’ proxy and decision modules.
The semantics of the various CONTEXT_VARIABLE types will be replaced by the vars defined in PROXY module(s) and the CONTEXT_EXPRESSIONs and CONTEXT_CONSTANTs will be replaced by references to DLM entities. The PLAN_DATA_CONTEXT class should be remodelled as follows:
class PLAN_CONTEXT { } |
In the above, the highlighted references can be changed as follows:
CONDITION_BRANCH.test → EL_SCOPED_REF, representing module.function in a DLM
DECISION_GROUP.test → EL_SCOPED_REF, representing module.function in a DLM
DECISION_BRANCH.value_constraint → C_PRIMITIVE_OBJECT