Télécharger Random_Set_Theory_02.dgibi
*********************************************************************** * * RSTHM.dgibi * * Random Set Theory analysis with three trivial analytic functions * @PA(A,B,C,D) ==> A + (B*C*D) * @PB(A,B,C,D) ==> (A*B) + (C*D) * @PC(A,B,C,D) ==> (A*B*D) + D * *********************************************************************** GRAPH = VRAI ; 'DEBP' @PA R*'TABLE' ; * Analytical Function @PA !RV = R.'A'.'VN' + (R.'B'.'VN' * R.'C'.'VN' * R.'D'.'VN') ; 'FINP' !RV ; 'DEBP' @PB R*'TABLE' ; * Analytical Function @PB !RV = (R.'A'.'VN' * R.'B'.'VN') + (R.'C'.'VN' * R.'D'.'VN') ; 'FINP' !RV ; 'DEBP' @PC R*'TABLE' ; * Analytical Function @PC !RV = (R.'A'.'VN' * R.'B'.'VN' * R.'C'.'VN') + R.'D'.'VN' ; 'FINP' !RV ; RA.'A'.'MINS' = RS%'SCV' RA.'A'.'MIN' ; RA.'A'.'MAXS' = RS%'SCV' RA.'A'.'MAX' ; RA.'A'.'CPBS' = RS%'SCS' RA.'A'.'CPB' ; RA.'B'.'MINS' = RS%'SCV' RA.'B'.'MIN' ; RA.'B'.'MAXS' = RS%'SCV' RA.'B'.'MAX' ; RA.'B'.'CPBS' = RS%'SCS' RA.'B'.'CPB' ; RA.'C'.'MINS' = RS%'SCV' RA.'C'.'MIN' ; RA.'C'.'MAXS' = RS%'SCV' RA.'C'.'MAX' ; RA.'C'.'CPBS' = RS%'SCS' RA.'C'.'CPB' ; RA.'D'.'MINS' = RS%'SCV' RA.'D'.'MIN' ; RA.'D'.'MAXS' = RS%'SCV' RA.'D'.'MAX' ; RA.'D'.'CPBS' = RS%'SCS' RA.'D'.'CPB' ; RB.'A' = RA.'A'; RB.'B' = RA.'B'; RB.'C' = RA.'C'; RB.'D' = RA.'D'; RC.'A' = RA.'A'; RC.'B' = RA.'B'; RC.'C' = RA.'C'; RC.'D' = RA.'D'; RSA%RST RA ; RSB%RST RB ; RSC%RST RC ; JX = RA.'A'.'CX' ; 'REPE' J JX ; RSA%'RSV' &J 0 ; RVA = @PA RA ; RSA%'RSR' RVA &J ; RSB%'RSV' &J 0 ; RVB = @PB RB ; RSB%'RSR' RVB &J ; RSC%'RSV' &J 0 ; RVC = @PC RC ; RSC%'RSR' RVC &J ; 'FIN' J ; 'SI' GRAPH ; 'TITX' 'Value A [1]' 'POSX' 'CENT' 'XBOR' 0.0 2.0 'XGRA' 0.2 'TITY' 'CPB [1]' 'POSY' 'CENT' 'YBOR' 0.0 1.0 'YGRA' 0.1 'TITR' 'Random Set Theory - Analytical computation' 'GRIL' 'POIN' 'GRIS' ; 'TITX' 'Value B [1]' 'POSX' 'CENT' 'XBOR' 2.0 4.0 'XGRA' 0.2 'TITY' 'CPB [1]' 'POSY' 'CENT' 'YBOR' 0.0 1.0 'YGRA' 0.1 'TITR' 'Random Set Theory - Analytical computation' 'GRIL' 'POIN' 'GRIS' ; 'TITX' 'Value C [1]' 'POSX' 'CENT' 'XBOR' 4.0 6.0 'XGRA' 0.2 'TITY' 'CPB [1]' 'POSY' 'CENT' 'YBOR' 0.0 1.0 'YGRA' 0.1 'TITR' 'Random Set Theory - Analytical computation' 'GRIL' 'POIN' 'GRIS' ; 'TITX' 'Value D [1]' 'POSX' 'CENT' 'XBOR' 6.0 8.0 'XGRA' 0.2 'TITY' 'CPB [1]' 'POSY' 'CENT' 'YBOR' 0.0 1.0 'YGRA' 0.1 'TITR' 'Random Set Theory - Analytical computation' 'GRIL' 'POIN' 'GRIS' ; 'TITX' 'Function PA [1]' 'POSX' 'CENT' 'XBOR' 110.0 160.0 'XGRA' 5.0 'TITY' 'CPB [1]' 'POSY' 'CENT' 'YBOR' 0.0 1.0 'YGRA' 0.1 'TITR' 'Random Set Theory - Analytical computation' 'GRIL' 'POIN' 'GRIS' ; 'TITX' 'Function PB [1]' 'POSX' 'CENT' 'XBOR' 30.0 60.0 'XGRA' 3.0 'TITY' 'CPB [1]' 'POSY' 'CENT' 'YBOR' 0.0 1.0 'YGRA' 0.1 'TITR' 'Random Set Theory - Analytical computation' 'GRIL' 'POIN' 'GRIS' ; 'TITX' 'Function PC [1]' 'POSX' 'CENT' 'XBOR' 20.0 40.0 'XGRA' 2.0 'TITY' 'CPB [1]' 'POSY' 'CENT' 'YBOR' 0.0 1.0 'YGRA' 0.1 'TITR' 'Random Set Theory - Analytical computation' 'GRIL' 'POIN' 'GRIS' ; 'FINS' ; 'FIN' ;
© Cast3M 2003 - Tous droits réservés.
Mentions légales