ROIS
Actors
Computation in ROIS is modelled by data flow graphs. The implemented actors in ROIS are shown below.
The data flow graph below shows an example that computes the body-mass index, which is defined as the weight in kilograms divided by the square root of the length in meters. All links in this graph have the system-defined qualifier scheme, the node class length, weight and BM-index are all sub classes of the node class topReal. This data flow graph tells ROIS what to do when it needs the value of the body-mass index for a node instance of the node class Person:
- set the body-mass initially to the value of the weight;
- set a auxiliary variable initially to the value of length;
- multiply the auxiliary variable by the value of length (thus giving the square of length);
- divide the body-mass by the square of length.