Skip to main content
. 2019 Sep 23;19(19):4121. doi: 10.3390/s19194121
Algorithm 6: ForbiddenInformationFlow Function
Require: CD1,CD2
Ensure: TrueorFalse
  if AllowedDirectCommunication(CD1, CD2) =False then
   return False
  end if
  for R  CD1 do
   for R  CD2 do
   if R[DOM]  R[DOM]
    and R[SHARES] R[SHARES]
    and R[REQUIRES]  R[PROVIDES]  then
      return True
    end if
   end for
  end for
  return False