Mathematical Problems in Engineering / 2010 / Article / Alg 5

Research Article

Virtual Enterprise Risk Management Using Artificial Intelligence

Algorithm 5

 (1) Begin
 (2) Let Xtemp be a zero vector that has a dimension equal to n×m×W.
 (3) For (α=1 to n)
 (4)  For (β=1 to m)
 (5)   For (γ=1 to W)
 (6)    If (randpi(αβγ))
     // Action γ is selected for risk β of partner α
 (7)    Xαβγtempt=1;
 (8)    Break;
 (9)    End if
(10)  End for
(11) End for
(12) End for
(13) XiL=Xtemp
(14) END