public abstract class InstructorAgent extends java.lang.Object implements Agent
| Constructor and Description |
|---|
InstructorAgent(Simulation simulation)
It creates instructor agent with the necessary mindfulness knowledge.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyPractice(Practice practice)
This method applies a mindfulness practice in all the practitioner
agents of the simulation.
|
int |
getSession()
It returns the session of the practice.
|
abstract void |
live()
This method is periodically called within the agent-based simulator, and
is used for defining mindfulness instructor plangs.
|
java.lang.String |
toString()
It returns the name of the class that represents the mame of
the instructor mindfulness plan.
|
public InstructorAgent(Simulation simulation)
protected void applyPractice(Practice practice)
public int getSession()
public abstract void live()
public java.lang.String toString()
toString in class java.lang.Object