# Uses of Class
madkit.kernel.Activator

Packages that use Activator
Package
Description
madkit.kernel
Provides classes that are fundamental to the design of MaDKit applications.
madkit.simulation.activator
Contains activators for simulation authoring.
madkit.simulation.scheduler
Contains specialized Scheduler agents

- ## Uses of Activator in madkit.kernel

  Methods in madkit.kernel with parameters of type Activator
  Modifier and Type
  Method
  Description
  `void`
  Scheduler.`addActivator(Activator<? extends AbstractAgent> activator)`
  Adds an activator to the simulation engine.
  `void`
  Scheduler.`executeAndLog(Activator<? extends AbstractAgent> activator, Object... args)`
  Triggers the execute method of this `activator` and logs it using the `Level.FINER` logging level
  `void`
  Scheduler.`removeActivator(Activator<? extends AbstractAgent> activator)`
  Removes an activator from the simulation engine.
  `void`
  Scheduler.`setActivatorPriority(Activator<? extends AbstractAgent> activator, int priority)`
  Sets the priority of an `Activator`.

- ## Uses of Activator in madkit.simulation.activator

  Subclasses of Activator in madkit.simulation.activator
  Modifier and Type
  Class
  Description
  `class`
  `DateBasedDiscreteEventActivator<A extends AbstractAgent>`
  A behavior activator that is designed to work with a `DateBasedDiscreteEventScheduler`, that is following a discrete-event simulation scheme.
  `class`
  `DiscreteEventAgentsActivator<A extends AbstractAgent>`
  An activator that works using a discrete-event simulation scheme.
  `class`
  `GenericBehaviorActivator<A extends AbstractAgent>`
  An activator that invokes a single method with no parameters on a group of agents.

- ## Uses of Activator in madkit.simulation.scheduler

  Methods in madkit.simulation.scheduler with parameters of type Activator
  Modifier and Type
  Method
  Description
  `void`
  DateBasedDiscreteEventScheduler.`addActivator(Activator<? extends AbstractAgent> activator)`