
| 973   | aSampler1 . add ( C , 0 . 0 2 ) ;                                                                     |                                        |              |
|-------|-------------------------------------------------------------------------------------------------------|----------------------------------------|--------------|
| 974   | aSampler1 . add ( AUB , 0 . 0 5 ) ;                                                                   |                                        |              |
| 975   | aSampler1 . add ( BUC , 0 . 0 3 ) ;                                                                   |                                        |              |
| 976   | aSampler1 . add ( CUA , 0 . 1 ) ;                                                                     |                                        |              |
| 977   | aSampler1 . add ( A , 0 . 1 1 ) ;                                                                     |                                        |              |
| 978   | aSampler1 . add ( one , 0 . 4 ) ;                                                                     |                                        |              |
| 980   | f i n a l R e f e r e eSa mp ler _P owe rs et                                                         | aSampler2 = aSampler1 . instance ( ) ; |              |
| 981   | aSampler2 . add ( A , 0 . 1 ) ;                                                                       |                                        |              |
| 982   | aSampler2 . add ( B , 0 . 1 ) ;                                                                       |                                        |              |
| 983   | aSampler2 . add ( C , 0 . 2 ) ;                                                                       |                                        |              |
| 984   | aSampler2 . add ( AUB , 0 . 2 ) ;                                                                     |                                        |              |
| 985   | aSampler2 . add ( BUC , 0 . 1 ) ;                                                                     |                                        |              |
| 986   | aSampler2 . add ( CUA , 0 . 1 ) ;                                                                     |                                        |              |
| 987   | aSampler2 . add ( one , 0 . 2 ) ;                                                                     |                                        |              |
| 989   | f i n a l R e f e r e eSa mp ler _P owe rs et                                                         | aSampler = aSampler1 . instance ( ) ;  |              |
| 994   | System . out . println (                                                                              |                                        |              |
| 995   | " ////////////// // // // // // /// // \ n " +                                                        |                                        |              |
| 996   | " //                                                                                                  | Samp l ing Method \n " +               |              |
| 997   | " ////////////////// // \ n " ) ;                                                                     |                                        |              |
| 1000  | i n t                                                                                                 | NbSamples =1000000 ;                   |              |
| 1002  | f i n a l R e f e r e eSa mp ler _P owe rs et                                                         | Samples= aSampler1 . instance ( ) ;    |              |
| 1004  | System . out . println ( " aSamp l e r1 " ) ;                                                         |                                        |              |
| 1005  | System . out . println ( aSampler1 . state ( printMode ) ) ;                                          |                                        |              |
| 1006  | System . out . println ( ) ;                                                                          |                                        |              |
| 1007  | System . out . println ( " aSamp l e r2 " ) ;                                                         |                                        |              |
| 1008  | System . out . println ( aSampler2 . state ( printMode ) ) ;                                          |                                        |              |
| 1009  | System . out . println ( ) ;                                                                          |                                        |              |
| 1011  | aSampler . setFuser ( aSampler1 ,                                                                     | aSampler2 ,                            | referee1 ) ; |
| 1013  | f o r ( n=0;n<NbSamples ; n++) Samples . add ( aSampler . makeFusedSample ( ) ) ;                     |                                        |              |
| 1014  | Z=aSampler . learnFrom ( Samples . toArray ( ) ) ;                                                    |                                        |              |
| 1015  | System . out . println ( " aSamp ler − Dempster −− " + NbSamples + "                                  | p a r t i c l e s " ) ;                |              |
| 1016  | System . out . println ( " C o n f l i c t Z = "+Z+" %" ) ;                                           |                                        |              |
| 1017  | System . out . println ( aSampler . state ( printMode ) ) ;                                           |                                        |              |
| 1018  | System . out . println ( ) ;                                                                          |                                        |              |
| 1020  | aSampler . setFuser ( aSampler1 ,                                                                     | aSampler2 ,                            | referee2 ) ; |
| 1022  | f o r ( n=0;n<NbSamples ; n++) Samples . add ( aSampler . makeFusedSample ( ) ) ;                     |                                        |              |
| 1023  | Z=aSampler . learnFrom ( Samples . toArray ( ) ) ;                                                    |                                        |              |
| 1024  | System . out . println ( " aSamp ler − D i s j u n c t i v e −− " + NbSamples + "                     | p a r t i c l e s "←֓                   |              |
| ) ;   |                                                                                                       |                                        |              |
| 1025  | System . out . println ( " C o n f l i c t Z = "+Z+" %" ) ;                                           |                                        |              |
| 1026  | System . out . println ( aSampler . state ( printMode ) ) ;                                           |                                        |              |
| 1027  | System . out . println ( ) ;                                                                          |                                        |              |
| 1029  | aSampler . setFuser ( aSampler1 ,                                                                     | aSampler2 ,                            | referee3 ) ; |
| 1031  | f o r ( n=0;n<NbSamples ; n++) Samples . add ( aSampler . makeFusedSample ( ) ) ;                     |                                        |              |
| 1032  | Z=aSampler . learnFrom ( Samples . toArray ( ) ) ;                                                    |                                        |              |
| 1033  | System . out . println ( " aSamp ler − Dubo is & Prade −− " + NbSamples + " ←֓ p a r t i c l e s " ) ; |                                        |              |
| 1034  | System . out . println ( " C o n f l i c t Z = "+Z+" %" ) ;                                           |                                        |              |
| 1035  | System . out . println ( aSampler . state ( printMode ) ) ;                                           |                                        |              |
| 1036  | System . out . println ( ) ;                                                                          |                                        |              |
| 1038  | aSampler . setFuser ( aSampler1 ,                                                                     | aSampler2 ,                            | referee4 ) ; |
| 1040  | f o r ( n=0;n<NbSamples ; n++) Samples . add ( aSampler . makeFusedSample ( ) ) ;                     |                                        |              |
| 1041  | Z=aSampler . learnFrom ( Samples . toArray ( ) ) ;                                                    |                                        |              |
| 1042  | System . out . println ( " aSamp ler − PCR6 −− " + NbSamples + "                                      | p a r t i c l e s " ) ;                |              |
| 1043  | System . out . println ( " C o n f l i c t Z = "+Z+" %" ) ;                                           |                                        |              |
| 1044  | System . out . println ( aSampler . state ( printMode ) ) ;                                           |                                        |              |
