Traviando Warning:Type 14: A particular action A accesses a
variable V but V is not in the scope of processes that A is involved with.
|
Traviando's trace format supports a partition of the set of state variables into processes such that a process contains a set of state variables. Vice versa, each state variable belongs to a single process (with the exception of global state variables).
An action A accesses (makes value assignments) to a set of state variables SV(A). An action is also declared to be either a local action, i.e., local to some process P, such that SV(A) is a subset of the state variables associated with process P, or an interaction. The two possible kinds of interactions are directed and undirected interactions. For an undirected interaction A, SV(A) distributes over sets of state variables of several processes (at least 2 processes). For a directed interaction A, SV(A) distributes over sets of state variables of exactly two processes and one process is declared as a source, the other as a destination of that interaction.
The warning is raised if action A makes value assignments to state variables of processes which it is not supposed to interact with.
The action occurs at least once in the trace and assigns a value to a variable that is not contained in the set of processes the action is declared for.