From 6bb6dce9a75b5db6a6e741ed332a2e833e862d71 Mon Sep 17 00:00:00 2001 From: unknown <david.antunes-da-silva@irit.fr> Date: Wed, 13 Jul 2022 14:45:09 +0200 Subject: [PATCH] Add comment correction on ThreeStepCycling Scheduler --- src/mas/implementation/schedulers/ThreeStepCycling.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mas/implementation/schedulers/ThreeStepCycling.java b/src/mas/implementation/schedulers/ThreeStepCycling.java index 61e579d..100923c 100644 --- a/src/mas/implementation/schedulers/ThreeStepCycling.java +++ b/src/mas/implementation/schedulers/ThreeStepCycling.java @@ -3,12 +3,13 @@ package mas.implementation.schedulers; import mas.core.ThreeStepCyclable; import java.util.concurrent.CountDownLatch; +import java.util.concurrent.Executors; /** - * Execution cadencé en 3 phases (tous perception puis tous decision puis tous action) + * The ThreeStepCycling scheduler schedules tasks using a {@link Executors#newCachedThreadPool()}. + * It works like a {@link FairCycling} scheduler but it schedules {@link ThreeStepCyclable} + * In every cycle every cyclable does the perception phase then the decision phase and then the action phase */ - - public class ThreeStepCycling extends FairCycling<ThreeStepCyclable> { /** -- GitLab