Research Article
A Norm Compliance Approach for Open and Goal-Directed Intelligent Systems
Algorithm 5
Compose_Norm_Condition.
Data: a list of norms | |
Result: a couple | |
// Identification of norm types | |
for to do | |
switch do | |
case Obligation | |
break | |
case Prohibition | |
add to | |
case Permission | |
add to | |
// Permissions give alternatives (OR) | |
if then | |
for to do | |
// Prohibition are mandatory (AND) | |
if then | |
for to do | |