These are the used cases bellow, but i want to use the 2 algorithms in the same time to optimise ANFIS: in series (one after one; optimize ANFIS a first time with ACO then optimize a second time with PSO) and in parallel (in the sime time and take the best result between the two at each iteration)
What will be the change ?
switch Selection
case 1, fis=TrainAnfisUsingACO(fis,data);
case 2, fis=TrainAnfisUsingPSO(fis,data);
end