-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathElectre.java
More file actions
710 lines (563 loc) Β· 24.4 KB
/
Electre.java
File metadata and controls
710 lines (563 loc) Β· 24.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Project/Maven2/JavaApp/src/main/java/${packagePath}/${mainClassName}.java to edit this template
*/
//package com.raven.electre;
import static java.lang.Math.abs;
import static java.lang.Math.max;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Scanner;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Set;
import java.util.HashSet;
/**
*
* @author ryota
*/
public class Electre {
public double alternatives[][] = new double[][]{{-1,21400000,22400000,27200000,26200000,27400000,27400000,26200000},
{-1,185.1,63.3,96.1,77.7,76.2,78.5,71.1},
{-1,6,6,6,4,4,4,4},
{1,7,7,7,7,7,7,7},
{-1,852,-42,184,55,51,64,16},
{-1,2,3,2,2,2,2,2},
{1,5,1,5,5,5,5,5},
{-1,2,5,2,2,2,2,2},
{1,3,3,2,1,1,1,3},
{-1,4,6,2,2,2,2,2},
{-1,0.015410959,0.018181818,0.015410959,0.015410959,0.015410959,0.015410959,0.015410959},
{1,90,90,90,90,90,90,90},
{1,5,7,4,4,4,4,4},
{1,96.5,100,96.5,88.5,87,87,100},
{-1,15,0,15,2880,180,180,0},
{1,5,5,5,3,4,4,5},
{1,7,4,5,5,5,5,5},
{-1,5,4,5,5,5,5,5},
{-1,5,1,5,2,4,4,1},
{-1,3,4,4,5,5,5,5},
{-1,15,18,18,54,18,18,1},
{-1,0.00000162,0.000000599,0.000000821,0.000000524,0.000000533,0.000000536,0.000000547},
{-1,176,93,108,84,76,76,84},
{-1,50,24,29,22,19,19,23},
{-1,663,320,389,529,3450,3460,1100},
{-1,0.00169,0.000221,0.000574,0.000199,0.00019,0.000192,0.000221},
{-1,17995,10223,11612,8285,8170,8206,8163},
{-1,0.9,0.4,0.5,0.5,0.4,0.4,0.6},
{-1,0.0455,0.0216,0.0264,0.0179,0.0181,0.0182,0.0185},
{-1,0.00000726,0.00000341,0.00000419,0.00000368,0.00000313,0.00000306,0.00000447}
};
public final int SIZE = alternatives[0].length;
public final double SEUIL_PREFERENCE[] = new double[]{30,50,2,0,50,1,3,3,2,2,0.01,40,3,5,60,1,2,2,4,1,24,40,40,40,40,40,40,20,20,10};
public final double SEUIL_INDIFFIRENCE[] = new double[]{10,20,1,0,20,0,1,0,0,1,0.00167,0,1,1.5,15,0,1,1,1,0,6,40,10,40,40,40,40,20,20,10};
public final double SEUIL_VETO[] = new double[]{101,140,7,7,1100,3,5,5,5,3,1,70,7,20,3000,5,4,4,5,7,70,101,101,101,101,101,101,101,101,101};
public final int NATURE_SEUIL[] = new int[]{2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2};
public final static double WEIGHTS[] = new double[]{2.2,6.7,24.4,17.8,22.2,26.7};
public final static double ALL_WEIGHTS[] = new double[]{833.344,833.344,333.338,111.121,555.554,763.875,101.858,305.55,763.875,694.438,972.213,138.888,416.663,291.681,208.344,41.669,152.775,763.875,1069.425,458.325,222.222,206.349,430.476,79.361,349.213,79.361,285.71,79.361,79.361,206.349};
public final int SIZE_CRITERES = alternatives.length;
public int getSize(){
return SIZE;
}
public int getSizeCritere(){
return SIZE_CRITERES;
}
//testing data
/*public double alternatives[][]= new double[][]{{17800,14900},
{47.8,70.3},
{4,4.27},
{309000,299000},
{0.0508,0.0625},
{1.06E+09,1.28E+09},
{23.4,26.6}
};
public final double SEUIL_PREFERENCE[] = new double[]{5,5,15,10,10,10,5};
public final double SEUIL_INDIFFIRENCE[] = new double[]{10,10,20,15,20,20,10};
public final double SEUIL_VETO[] = new double[]{30,30,50,25,50,50,30};
public final int NATURE_SEUIL[] = new int[]{1,1,1,1,1,1,1};
public final int SIZE = NATURE_SEUIL.length;*/
//print table
public static void printTable(double alternatives[][]){
for(double[] rowAlternatives : alternatives ){
for(double value : rowAlternatives){
System.out.print(value +" ");
}
System.out.println("");
}
}
//Transform all table into ones values -> max problem
public void ConvertAllIntoMax(){
for(double[] rowAlternatives : alternatives){
for(int i=1;i<rowAlternatives.length;i++){
if(rowAlternatives[0] == 1)
continue;
else{
rowAlternatives[i] = -rowAlternatives[i];
}
}
}
}
public double calcIndifference(double a , double b, int pos){
double result= 0;
result = NATURE_SEUIL[pos] == 1 ? (SEUIL_INDIFFIRENCE[pos]/100)*max(abs(a),abs(b)) : SEUIL_INDIFFIRENCE[pos]*max(abs(a),abs(b));
return result;
}
public double calcPreference(double a , double b , int pos){
double result= 0;
result = NATURE_SEUIL[pos] == 1 ? (SEUIL_PREFERENCE[pos]/100)*max(abs(a),abs(b)) : SEUIL_PREFERENCE[pos]*max(abs(a),abs(b));
return result;
}
public double calcVeto(double a , double b , int pos){
double result= 0;
result = NATURE_SEUIL[pos] == 1 ? (SEUIL_VETO[pos]/100)*max(abs(a),abs(b)) : SEUIL_VETO[pos]*max(abs(a),abs(b));
return result;
}
public boolean isIndiffernce(int pos1 , int pos2 , int row){
return (alternatives[row][pos2]-alternatives[row][pos1]) <= calcIndifference(alternatives[row][pos1],alternatives[row][pos2],row);
}
public boolean isPreference(int pos1, int pos2 , int row){
return (alternatives[row][pos1] - alternatives[row][pos2]) > calcPreference(alternatives[row][pos1],alternatives[row][pos2],row);
}
public boolean isHesitation(int pos1 , int pos2 , int row){
return (
calcIndifference(alternatives[row][pos1],alternatives[row][pos2],row) < alternatives[row][pos2] - alternatives[row][pos1]
&& alternatives[row][pos2] - alternatives[row][pos1] <= calcPreference(alternatives[row][pos1],alternatives[row][pos2],row)
);
}
public boolean isVeto(int pos1 , int pos2 , int row){
return (alternatives[row][pos1]-alternatives[row][pos2]) > calcVeto(alternatives[row][pos1],alternatives[row][pos2],row);
}
public double calcCordondonce(int a , int b , int pos){
if(isIndiffernce(a,b,pos) || isPreference(a,b,pos))
return 1;
else if(isHesitation(b,a,pos))
return ((calcPreference(alternatives[pos][a],alternatives[pos][b],pos))-(alternatives[pos][b]-alternatives[pos][a])) /
((calcPreference(alternatives[pos][a],alternatives[pos][b],pos))-(calcIndifference(alternatives[pos][a],alternatives[pos][b],pos)));
else
return 0;
}
public double calcDiscordance(int a , int b , int pos){
if(isVeto(b,a,pos))
return 1;
else if ((isPreference(b,a,pos)) && !(isVeto(b,a,pos)))
return ((alternatives[pos][b]-alternatives[pos][a])-(calcPreference(alternatives[pos][a],alternatives[pos][b],pos)))
/
((calcVeto(alternatives[pos][a],alternatives[pos][b],pos))-(calcPreference(alternatives[pos][a],alternatives[pos][b],pos)));
else
return 0;
}
//calcul matrice concordance
public double[][] getConcordanceMatrix(int pos1, int pos2){
double result[][] = new double[SIZE_CRITERES][4];
for(int i=0;i<SIZE_CRITERES;i++){
for(int j=0;j<4;j++){
if(j == 0)
result[i][j] = alternatives[i][pos1] - alternatives[i][pos2];
else if(j == 1)
result[i][j] = calcPreference(alternatives[i][pos1],alternatives[i][pos2],i);
else if(j==2)
result[i][j] = calcIndifference(alternatives[i][pos1],alternatives[i][pos2],i);
else
result[i][j] = calcCordondonce(pos1,pos2,i);
}
}
return result;
}
//calcul matrice discordance
public double[][] getDiscordanceMatricx(int pos1 , int pos2){
double result[][] = new double[SIZE_CRITERES][4];
for(int i=0;i<SIZE_CRITERES;i++){
for(int j=0;j<4;j++){
if(j == 0)
result[i][j] = alternatives[i][pos1] - alternatives[i][pos2];
else if(j == 1)
result[i][j] = calcIndifference(alternatives[i][pos1],alternatives[i][pos2],i);
else if(j==2)
result[i][j] = calcVeto(alternatives[i][pos1],alternatives[i][pos2],i);
else
result[i][j] = calcDiscordance(pos1,pos2,i);
}
}
return result;
}
public static double sumWeight(){
double sum =0;
for(double val : ALL_WEIGHTS){
sum+=val;
}
return sum;
}
public double calcSumWeightCorcordance(int i , int j){
double currentCorcondance[][] = this.getConcordanceMatrix(i,j);
double sum = 0;
for(int k=0;k<SIZE_CRITERES;k++){
sum+=currentCorcondance[k][3]*ALL_WEIGHTS[k];
}
return sum;
}
//ensemble
public List<Integer> getDiscordanceEnsemble(int i , int j , double m1[][]){
List<Integer> res = new ArrayList<Integer>();
//double currentCorcondance[][] = this.getConcordanceMatrix(i,j);
double currentDiscordance[][] = this.getDiscordanceMatricx(i+1,j+1);
for(int k=0 ; k< SIZE_CRITERES; k++){
if( currentDiscordance[k][3] > m1[i][j])
res.add(k);
}
return res;
}
//calcul credibility Matrix
public ArrayList<double[][]> getCredibilityMatrix(){
ArrayList<double[][]> allTable = new ArrayList<double[][]>();
//first one : c(a,b)
double m1[][] = new double[SIZE-1][SIZE-1];
for(int i=0 ; i< SIZE-1 ; i++){
for(int j=0 ; j< SIZE-1 ; j++){
if( i == j)
continue;
else{
m1[i][j] = (1/sumWeight()) * (calcSumWeightCorcordance(i+1,j+1));
}
}
}
allTable.add(m1);
//second one : 1 - d(a,b)
double m2[][] = new double[SIZE-1][SIZE-1];
for(int i=0 ; i< SIZE-1 ; i++){
for(int j=0 ; j< SIZE-1 ; j++){
if( i == j)
continue;
else{
List<Integer> discordanceEnsemble = this.getDiscordanceEnsemble(i,j,m1);
if( discordanceEnsemble.size() == 0 )
m2[i][j] = 0;
else{
double current = 1;
double mul = 1;
for(int p : discordanceEnsemble){
double discordance[][] = this.getDiscordanceMatricx(i+1,j+1);
mul*= (1 - discordance[p][3]) / (1 - m1[i][j]);
}
current-=mul;
m2[i][j] = current;
}
}
}
}
allTable.add(m2);
//third one : Rs(a,b)
double m3[][] = new double[SIZE-1][SIZE-1];
for(int i=0 ; i< SIZE -1 ;i++){
for(int j=0; j< SIZE -1 ; j++){
if(i == j)
continue;
else{
m3[i][j] = (1 - m2[i][j])*m1[i][j];
}
}
}
allTable.add(m3);
return allTable;
}
//writing distillation algorithm
public Map<Integer, List<Integer>> getOrderDesc(){
Map<Integer , List<Integer>> order = new HashMap<Integer, List<Integer>>();
int[][] additionalInfo = new int[SIZE -1][3];
Set<Integer> allIndexes = new HashSet<Integer>();
int loopIndex = 0;
//start a loop
while( allIndexes.size() != SIZE -1 ){
//System.out.println("heeere");
//determine lamda Max
double lamdaMax = 0;
double[][] m3 = this.getCredibilityMatrix().get(2);
//update values as null
for(int val : allIndexes){
for(int i=0 ; i< SIZE -1 ; i++){
m3[i][val] = Double.NaN;
m3[val][i] = Double.NaN;
}
}
//print matrix test
System.out.println("*************************************");
for(double[] row : m3){
for(double val : row){
System.out.print(val+" ");
}
System.out.println();
}
System.out.println("*************************************");
for(double[] row : m3){
for(double val : row){
if( val > lamdaMax && val != Double.NaN)
lamdaMax = val;
}
}
//determine s(lamdaMax)
double SLamdaMax = 0.3 - ( 0.15 * lamdaMax );
//find lamda
double lamda = -9999;
for(double[] row : m3){
for(double val : row){
if((val != Double.NaN && val > lamda) && val < (lamdaMax - SLamdaMax ) )
lamda = val;
}
}
//update the existing m3
for(int i=0 ; i< SIZE -1 ; i++){
for(int j=0 ; j<SIZE -1 ; j++){
if(m3[i][j] > lamda)
m3[i][j] = 1;
else if(m3[i][j] != Double.NaN)
m3[i][j] = 0;
}
}
//add additionalInfo : os et od et q
int currentSum ;
for(int i = 0; i< SIZE -1 ; i++){
currentSum = 0;
for(int j=0 ; j< SIZE -1 ; j++){
if(i != j && m3[i][j] != Double.NaN)
currentSum+=m3[i][j];
else
continue;
}
additionalInfo[i][0] = currentSum;
}
for(int i = 0; i< SIZE -1 ; i++){
currentSum = 0;
for(int j=0 ; j< SIZE -1 ; j++){
if(i != j && m3[i][j] != Double.NaN)
currentSum+=m3[j][i];
else
continue;
}
additionalInfo[i][1] = currentSum;
}
//get the max
List<Integer> sameOrder = new ArrayList<Integer>();
int maxOver = -9999;
int bigIndex = 0;
for(int i=0 ; i < SIZE -1 ; i++){
additionalInfo[i][2] = additionalInfo[i][0] - additionalInfo[i][1];
if(additionalInfo[i][2] > maxOver){
maxOver = additionalInfo[i][2];
bigIndex = i;
}
}
if(allIndexes.contains(bigIndex) == false){
sameOrder.add(bigIndex);
}
allIndexes.add(bigIndex);
//check for other values exist with same rank
for(int i=0 ; i< SIZE -1 ; i++){
if(additionalInfo[i][2] == maxOver && (i != bigIndex)){
if(allIndexes.contains(i) == false){
sameOrder.add(i);
allIndexes.add(i);
}
}
}
//PRINT EVERY MATRIX
//System.out.println(allIndexes);
//here when we will see difference between asecnd and descend
//System.out.println(allIndexes.size());
order.put(loopIndex++, sameOrder);
}
return order;
}
//
public Map<Integer, List<Integer>> getOrderAsc(){
Map<Integer , List<Integer>> order = new HashMap<Integer, List<Integer>>();
int[][] additionalInfo = new int[SIZE -1][3];
Set<Integer> allIndexes = new HashSet<Integer>();
int loopIndex = 0;
//start a loop
while( allIndexes.size() != SIZE -1 ){
//System.out.println("heeere");
//determine lamda Max
double lamdaMax = 0;
double[][] m3 = this.getCredibilityMatrix().get(2);
//update values as null
for(int val : allIndexes){
for(int i=0 ; i< SIZE -1 ; i++){
m3[i][val] = Double.NaN;
m3[val][i] = Double.NaN;
}
}
//print matrix test
System.out.println("*************************************");
for(double[] row : m3){
for(double val : row){
System.out.print(val+" ");
}
System.out.println();
}
System.out.println("*************************************");
for(double[] row : m3){
for(double val : row){
if( val > lamdaMax && val != Double.NaN)
lamdaMax = val;
}
}
//determine s(lamdaMax)
double SLamdaMax = 0.3 - ( 0.15 * lamdaMax );
//find lamda
double lamda = -9999;
for(double[] row : m3){
for(double val : row){
if((val != Double.NaN && val > lamda) && val < (lamdaMax - SLamdaMax ) )
lamda = val;
}
}
//update the existing m3
for(int i=0 ; i< SIZE -1 ; i++){
for(int j=0 ; j<SIZE -1 ; j++){
if(m3[i][j] > lamda)
m3[i][j] = 1;
else if(m3[i][j] != Double.NaN)
m3[i][j] = 0;
}
}
//add additionalInfo : os et od et q
int currentSum ;
for(int i = 0; i< SIZE -1 ; i++){
currentSum = 0;
for(int j=0 ; j< SIZE -1 ; j++){
if(i != j && m3[i][j] != Double.NaN)
currentSum+=m3[i][j];
else
continue;
}
additionalInfo[i][0] = currentSum;
}
for(int i = 0; i< SIZE -1 ; i++){
currentSum = 0;
for(int j=0 ; j< SIZE -1 ; j++){
if(i != j && m3[i][j] != Double.NaN)
currentSum+=m3[j][i];
else
continue;
}
additionalInfo[i][1] = currentSum;
}
//get the min
List<Integer> sameOrder = new ArrayList<Integer>();
int minOver = 9999;
int smallIndex = 0;
for(int i=0 ; i < SIZE -1 ; i++){
additionalInfo[i][2] = additionalInfo[i][0] - additionalInfo[i][1];
if(additionalInfo[i][2] < minOver){
minOver = additionalInfo[i][2];
smallIndex = i;
}
}
if(allIndexes.contains(smallIndex) == false){
sameOrder.add(smallIndex);
}
allIndexes.add(smallIndex);
//check for other values exist with same rank
for(int i=0 ; i< SIZE -1 ; i++){
if(additionalInfo[i][2] == minOver && (i != smallIndex)){
if(allIndexes.contains(i) == false){
sameOrder.add(i);
allIndexes.add(i);
}
}
}
//PRINT EVERY MATRIX
System.out.println(allIndexes);
//here when we will see difference between asecnd and descend
//System.out.println(allIndexes.size());
order.put(loopIndex++, sameOrder);
}
return order;
}
public static void writeIntoCSV(double[][] table, String fileName) throws FileNotFoundException {
File csvFile = new File(fileName+".csv");
PrintWriter out = new PrintWriter(csvFile);
for(double[] row: table){
int repVal = 0;
for(double val : row){
if(repVal == 0)
out.printf("%f",val);
else
out.printf(",%f",val);
++repVal;
}
out.printf("%n");
}
out.close();
}
public static void writeIntoCSVList(ArrayList<double[][]> table) throws FileNotFoundException {
int rep = 1;
for(double[][] matrix: table){
String name = "matrix" + rep;
writeIntoCSV(matrix,name);
rep++;
}
}
public static void main(String[] args) throws FileNotFoundException{
Electre electre = new Electre();
//convert
//electre.ConvertAllIntoMax();
//print
//electre.printTable();
double cordance[][];
/*cordance = electre.getConcordanceMatrix(0, 1);
electre.printTable(cordance);
writeIntoCSV(cordance,"cordance");
System.out.println("************************");
cordance = electre.getDiscordanceMatricx(0, 1);
writeIntoCSV(cordance,"discordance");
electre.printTable(cordance);*/
//loop over all tries
double table[][];
//System.out.println(electre.getSize());
int SIZE = electre.getSize();
int SIZE_CRITERES = electre.getSizeCritere();
//print
/*ArrayList<double[][]> credibilityMatrix = electre.getCredibilityMatrix();
writeIntoCSVList(credibilityMatrix);*/
System.out.println("Desc : ");
Map <Integer , List<Integer>> res = electre.getOrderDesc();
System.out.println(res);
System.out.println("Asc : ");
res = electre.getOrderAsc();
System.out.println(res);
//System.out.println("Final Order : 3 -> 0,1,2,6 -> 4,5 ");
/*Desc :
{0=[4, 5], 1=[0, 1, 2, 3, 6]}
Asc :
{0=[3], 1=[0, 1, 2, 4, 5, 6]}*/
//Test credibility
/*List<double[][]> res = electre.getCredibilityMatrix();
double[][] credebility = res.get(2);
for(double[] row : credebility){
for(double val : row){
System.out.print(val+" ");
}
System.out.println();
}*/
//generate all excel files
/*for(int i=1;i<=7;i++){
for(int j=1;j<=7;j++){
if( i != j){
table = electre.getConcordanceMatrix(i,j);
String name ="concordance : " + Integer.toString(i) + " --> " + Integer.toString(j);
writeIntoCSV(table,name);
table = electre.getDiscordanceMatricx(i,j);
name ="discondance : " + Integer.toString(i) + " --> " + Integer.toString(j);
writeIntoCSV(table,name);
}
}
}*/
}
}