diff --git a/src/mas/implementation/schedulers/ThreeStepCycling.java b/src/mas/implementation/schedulers/ThreeStepCycling.java index 61e579defb0693d044d0596cfd5aa659295a3a85..100923c8b14e3d0ab389504ac45e241f614b6336 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> { /**