public class MindfulnessKnowledge
extends java.lang.Object
Constructor and Description |
---|
MindfulnessKnowledge()
It creates the knowledge about mindfulness influences with
the default values, and then establishes the known influences
|
Modifier and Type | Method and Description |
---|---|
void |
applyPractice(PractitionerAgent practitioner,
Practice practice)
It applies a mindfulness practice on a practitioner simulating its
influence in the emotions of the practitioner.
|
void |
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.
|
void |
createKnownInfluences()
It creates the known influences of some mindfulness practices.
|
public MindfulnessKnowledge()
public void createKnownInfluences()
public void applyPracticeWhenProgress(PractitionerAgent practitioner, Practice practice, int numAgents)
practitioner
- the practitionerpractice
- the mindfulness practicenumAgents
- the number of agents of the simulationpublic void applyPractice(PractitionerAgent practitioner, Practice practice)
practitioner
- the practitionerpractice
- the mindfulness practice