label, but also with a suitable set of labels. For exam-
ple, in the set
{hA,,8i,h¬A,,8i,h,,10i}
, the pair
of labels
hA,,8i
and
h¬A,,8i
represent all possible
labels of the Universe and their values are smaller than
the empty-labeled one. Thus, the empty labeled value
can be removed. These observations lead to rule RLE3,
below.
Rule 3
(Empty Label Elimination, RLE 3)
.
If a set of
labeled values contains a subset of labels that cover all
possible combinations of a fixed set of propositions,
then such a subset represents the base of all possible
labels. Therefore, any empty-labeled value can be
removed since, by construction, its numerical value
must be greater than the numerical values associated
with the labels of the base.
These rules explain how to maintain a set of labeled
values for a given edge in order to rightly represent
all the possible values, while maintaining the minimal
number of such values represented explicitly.
In general, if we have to add the labeled values
of a set
S
1
to the labeled values of a set
S
2
(e.g.,
as must be done when applying the No-Case rule
to a pair of labeled edges), it is necessary to add
each labeled value of the first set to each each la-
beled value of the second set.
6
The propositional
label for the sum of the two labeled values is the
conjunction of the two involved propositional labels.
Assuming that those propositional labels are consis-
tent, the new labeled value is put into a new set that
represents the result of the overall operation. For ex-
ample, given the two sets of labeled values seen in
Fig. 8-(a),
S
1
= {h, , 6i, h¬A, , 4i, h¬B, , 4i}
and
S
2
= {h, , 6i, hA, , 4i, h¬B, , 4i}, their sum is:
S
1
+ S
2
= {h, , 6i + h, , 6i = h, , 12i, (1)
h,,6i + hA,,4i = hA, , 10i, (2)
h,,6i + h¬B,,4i = h¬B, , 10i, (3)
h¬A,,4i + h,,6i = h¬A, , 10i, (4)
h¬A,,4i + hA,,4i = inconsistent, (5)
h¬A,,4i + h¬B,,4i = h¬A¬B, , 8i, (6)
h¬B,,4i + h,,6i = h¬B, , 10i, (7)
h¬B,,4i + hA,,4i = hA¬B, , 8i, (8)
h¬B,,4i + h¬B,,4i = h¬B, , 8i} (9)
The sum of the labeled values in line (5) does not
generate a new labeled value since the propositional
labels,
A
and
¬A
, are inconsistent. The rest of the
newly generated labeled values can be represented by
a small number of labeled values, as determined by
the label-elimination rules. For example,
h¬B,,8i
makes
h¬B,,10i
redundant. Next, rule RLE2 says
6
Similar issues were discussed by Conrad et al. (2011).
that
hA¬B,,8i
and
h¬A¬B,,8i
can be replaced by
h¬B,,8i
, which is already present (Line 9). Finally,
rule RLE1 says that
h¬A,,10i
and
hA,,10i
can be
replaced by
h,,10i
, which dominates the constraint,
h,,12i
, which is present in Line 1. Hence, the
“reduced” set becomes:
S
1
+ S
2
= {h, , 10i, h¬B, , 8i}
5 DISCUSSION
AND CONCLUSIONS
To verify and test the practical usability of the pro-
posed algorithm, we have built a Java program, called
CSTNU EDITOR, that allows one to graphically de-
sign a CSTNU instance and to check its dynamic con-
trollability. Fig. 9 depicts a screen shot of the program
running on a sample CSTNU instance.
The program implements a variety of strategies
for managing the sets of labeled values which enables
the user to better monitor the propagation of labeled
values and its impact on the convergence of the algo-
rithm. Preliminary experiments show that the algo-
rithm finds the solution in an average number of cycles
one order of magnitude smaller than the theoretical
estimated upper bound. Moreover, different policies
in the management of labeled value sets have different
consequences on the convergence of the algorithm: the
number of cycles required to find a solution decreases
when the management strategy minimizes (in any way)
the number of stored labels, but the running time of
each cycle of the algorithm increases. We are currently
evaluating which management strategy provides the
best trade-off between the sizes of the labeled value
sets and execution time.
In summary, this paper presented a DC-checking
algorithm for CSTNUs. The algorithm uses rules for
generating labeled constraints/edges that extend the
rules presented by Morris et al. (2005). It also uses new
label-modification rules needed to manage different
possible alternative executions. It is the first such
algorithm in the literature. The algorithm is proven to
be sound.
As for future work, we are going to formally ana-
lyze whether the algorithm is complete. Moreover, we
will extensively test CSTNU EDITOR with synthetic
and real world complex CSTNU networks in order
to evaluate its applicability in the area of temporal
workflow systems.
AnAlgorithmforCheckingtheDynamicControllabilityofaConditionalSimpleTemporalNetworkwithUncertainty
155