Package | Description |
---|---|
instructor |
In this package, the user can implement their own mindfulness
programs by extending the "InstructorAgent" class and
implementing the "live" method.
|
mindfulness |
This package includes the classes that are specefically
related with mindful activities and their influence on
emotions.
|
Modifier and Type | Method and Description |
---|---|
protected void |
InstructorAgent.applyPractice(Practice practice)
This method applies a mindfulness practice in all the practitioner
agents of the simulation.
|
Modifier and Type | Method and Description |
---|---|
static Practice |
Practice.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Practice[] |
Practice.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
MindfulnessKnowledge.applyPractice(PractitionerAgent practitioner,
Practice practice)
It applies a mindfulness practice on a practitioner simulating its
influence in the emotions of the practitioner.
|
void |
MindfulnessKnowledge.applyPracticeWhenProgress(PractitionerAgent practitioner,
Practice practice,
int numAgents)
It applies a mindfulness practice on a practitioner considering
they can progress or not with the corresponding Deck random generator.
|