Research Article
Fuzzy Dynamic Parameter Adaptation in ACO and PSO for Designing Fuzzy Controllers: The Cases of Water Level and Temperature Control
FOR each ant i | Initialize ant i | END FOR | Iteration k=1 | DO | FOR each particle i | Construct the trail | Select the next node | Calculate the value with the fuzzy inference system | Update the local pheromone trail | IF the trail is complete | Calculate the value with the fuzzy inference system | Update the global pheromone trail | ELSE | GO to Select the next node | END IF | END FOR | k = k + 1 | WHILE Maximum iterations or mínimum error criteria are not attained |
|