#include <In_PersonalityPattern.h>
Public Member Functions | |
In_PersonalityPattern (void) | |
bool | translatePersonalityPattern (int patternID, int conditionID, std::vector< unsigned int > *moodIndeces, std::vector< unsigned int > *needIndeces, std::vector< unsigned int > *reactionIndeces, std::vector< float > *moodValues, std::map< unsigned int, std::vector< float >> *attitudeData, std::map< unsigned int, std::vector< float >> *standardData) |
Additional Inherited Members | |
![]() | |
Out_PersonalityPattern * | m_outputData |
![]() | |
B_eInputData (void) | |
Holds all the nescessary dtata to create a personality pattern pool
Documantation optimized for doxygen.
In_PersonalityPattern::In_PersonalityPattern | ( | void | ) |
Standard constructor
bool In_PersonalityPattern::translatePersonalityPattern | ( | int | patternID, |
int | conditionID, | ||
std::vector< unsigned int > * | moodIndeces, | ||
std::vector< unsigned int > * | needIndeces, | ||
std::vector< unsigned int > * | reactionIndeces, | ||
std::vector< float > * | moodValues, | ||
std::map< unsigned int, std::vector< float >> * | attitudeData, | ||
std::map< unsigned int, std::vector< float >> * | standardData | ||
) |
translates input data in an Out_PersonalityPatterns object.
patternID | the ID of the pattern, which gets created |
conditionID | the ID of the condition, this pattern is related to |
moodIndeces | a vector of all the feelings this patteren uses for a mood object |
needIndeces | a vector of all known needs, this pattern usese |
reactionIndeces | a vector of all known reaction, this pattern usese |
moodValues | a vector of all the default feeling values this patteren uses for a mood object |
attitudeData | a map key value pairs, which define and describe the attitudes of this pattern. key -> Attitude indece related to the conditions, value -> a vector of values definig the value of the related attitude. WARNING: COnsider the order of the values in the vector. The first will define the first value in the Attitude feelings vector, and so on. |
standardData | a map key value pairs, which define and describe the standards of this pattern. key -> Satdanrd indece related to the conditions, value -> a vector of values definig the value of the related standard. WARNING: COnsider the order of the values in the vector. The first will define the first value in the Attitude feelings vector, and so on. |