Professional Documents
Culture Documents
SLANG latex
input
types.
(1)
process
req The starting and ending events of the activity.
edit
Document Document
to starting-ending events, together with their
weights.
Editing (2) Processing
NoErrors Errors
Document
Viewing
end
activity
request
this level.
The implementation part of the activity is a
unsatisfiable documents SLANG net describing how tokens are transformed
between the starting and the ending events. This net
request
Figure 2: SLANG model of \Document Generation" accesses input and output places through starting and
activity denition. ending transitions respectively, whereas it accesses in-
termediate places through any other transition inter-
nal to the activity. Places internal to the implemen-
Intermediate places: are places that may be in tation part (not belonging to the interface) are called
input or output for any transition internal to the local places.
activity. The implementation part of an activity may contain
When an activity starts, it removes the enabling tu- invocations of other activities. For example, the ac-
ple from input places of the starting event. Note that tivity implementation of Figure 2 contains four activ-
input places of a starting event are a subset of input ity invocations (i.e., \Document Verication", \Doc-
places of the whole activity. Thus, when an activity ument Editing", \Document Processing", \Document
starts, it may remove tokens only from some of its in- Viewing"). The \Document Processing" activity de-
put places. The activity can remove or insert tokens nition, given in Figure 1, contains no activity invoca-
from/in an intermediate place at any time during its tions.
activation. When the activity nishes, the produced Using the invocation relationship among activities,
tokens are inserted in the output places of the end- it is possible to build a graph in which each node iden-
ing event that caused the ending of the activity. Note ties an activity and each arc represents an activity
invocation. Recursive invocations are not allowed in
SLANG, and thus, this invocation graph denes a hi-
input places erarchy among activities. We assume that there is
... only one root in the hierarchy, called \root activity".
intermediate
activity
...