Skip to main content
. 2019 Sep 23;19(19):4121. doi: 10.3390/s19194121
Algorithm 8: IsConsistentPolicy Function
Require: PF
Ensure: TrueorFalse
  for R PF do
   if IsWellFormedRule(R) =False then
    return False
   end if
  end for
  for R PF do
   if IsCoreRule(R, PF) =False then
    return False
   end if
  end for
  for CD  PF do
   if IllegalInformationExchange(CD, PF) then
    return False
   end if
  end for
  for  CDA  PF do
   if IllegalInformationExchange(CDA, PF) then
    return False
   end if
  end for
  return True