from this subset. Comparison of results of two units,
u
i
and u
j
, (also termed as test link) is carried out by a
comparator, and denoted as ω
ij
. For each pair of
units there can be only one test link. The complete
collection of comparators is called comparison
assignment Ω={ω
ij
}, and is represented by an
undirected graph G=(V, E), where each unit u
i
∈U is
represented by a vertex v
i
∈V, and each edge e(v
i
, v
j
)
is in E if and only if ω
ij
is a comparator in the
comparison assignment Ω. The outcome produced
by comparator ω
ij
(denoted as r
ij
) can take the value
either 0 or 1 if the results of units u
i
and u
j
agree or
disagree respectively. The outcomes r
ij
and r
ji
present the same outcome produced by one
comparator, and are always r
ij
=r
ji
. The collection of
all outcomes is called the comparison syndrome,
R={r
ij
}. Two classes of faults, independent and
related, are taken into account. So, two incorrect
results produced by the units can be the same due to
the manifestation of related faults.
As distinct from t/(n-1)- diagnosability
(Friedman, 1975), we intend to identify all correct
and all incorrect results produced by the units (i.e.,
perform the system diagnosis). Our approach to
system diagnosis is based on the consistency
examination of multiple unit sets.
3 CONSISTENT SETS AND
SYSTEM DIAGNOSIS
For our purposes, we will now introduce several
definitions, assumptions and simple lemmas. In
order not to overload the paper with the details, the
proofs of lemmas are omitted.
Definition 1. For a system S and a comparison
syndrome R, a subset Y⊂U is a consistent set if and
only if:
1) u
i
∈Y and u
j
∈Y if r
ij
=0;
2) u
i
∈Y and u
j
∈U-Y if r
ij
=1;
3) u
i
∈Y and u
j
∈Y if ∃P(v
i
, v
j
), P={e(v
i
, v
l
), e(v
l
,
v
p
),…, e(v
k
, v
j
)}, u
i
, u
l
, u
p
,…, u
k
, u
j
∈Y and
r
il
=r
lp
=…=r
kj
=0.
Following the widely accepted approach
according to which the result produced by the
majority of units are trusted (e.g., NVP), we make
the following assumptions.
Assumption 1. If the number of faulty units
doesn’t exceed t, then the consistent set Y, for which
⎪Y⎪≥t+1, is a set of fault-free units. We named such
consistent set as consistent fault-free set, Y
FF
.
Definition 2. Two consistent sets, Y
i
and Y
j
, are
in contradiction with each other when
Y
i
↔ Y
j
: ∃r
ij
=1, u
i
∈Y, u
j
∈Y, i,j∈1¯,N.
Lemma 1. Given any syndrome, and if the
number of faulty units doesn’t exceed t, then all
fault-free units are either in Y
FF
or in consistent sets
which satisfy the following two conditions:
1) they are not in contradiction with each other;
2) their total number of units is greater than t.
Assumption 2. The state of the unit can be
correctly diagnosed if and only if there is a test link
between this unit and at least one fault-free unit.
With the account of the above assumptions, we
will now introduce the following lemma.
Lemma 2. A system S composed of N units is t-
diagnosable if and only if, given any syndrome, each
unit u
i
, u
i
∈U, i=1, 2,.., N, has ⎪z(u
i
)⎪≥ t+1 test links
with other units, provided that the number of faulty
units in S doesn’t exceed t, where z(u
i
)= {u
j
:
ω
ij
∈Ω}.
The credibility of system diagnosis result will be
greater when all fault-free units are in Y
FF
, since it
is evident that probability of the hypothesis that t+1
or more faulty units produce the same incorrect
result is lesser than probability of the hypothesis that
these faulty units produce any incorrect results. In
view of this, we examine how many test links are
needed in order that all fault-free units be in Y
FF
.
The sought number of test links depends, to a great
extent, on the number of units in system, N, and on
the comparison assignment.
4 COMPARISON ASSIGNMENT
From the assumption that majority of units are
trusted it follows that for correct system diagnosis
the number of fault-free units, ⎪C⎪, must be greater
than the number of faulty units, ⎪F⎪. Let t be the
number of faulty units, ⎪F⎪=t. Then N-t>t or N>2t
or N≥2t+1, which is the same result as the one of the
PMC model (Preparata et al., 1967). Since even
numbers N do not increase the value t as compared
to odd numbers, the further consideration is only
related to the odd numbers N. We consider the worst
situation when the number of faulty units is equal to
t, and all faulty units produce the same incorrect
result. From Lemma 2, it follows that for a system S
to be t-diagnosable it is sufficient that each system’s
unit has t+1 test links with other units. Such
comparison assignment is called basic. Since each
test link engages two units, the minimal number of
test links providing system t-diagnosability, T
min
, is
equal to T
min
= ⎡N(t+1)/2⎤. At the first stage, we
examine whether T
min
is sufficient in order that all
ICSOFT 2007 - International Conference on Software and Data Technologies
342