Ignore:
Timestamp:
02/02/2011 04:44:13 PM (8 years ago)
Author:
joao.dias
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • AgentMind/branches/FAtiMA-Modular/FAtiMA/src/FAtiMA/Core/OCCAffectDerivation/OCCEmotionType.java

    r896 r914  
    44 
    55public enum OCCEmotionType { 
    6         ADMIRATION (EmotionValence.POSITIVE){public String[] getAppraisalVariables(){return admirationVariables;}}, 
    7         ANGER (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return angerVariables;}}, 
    8         DISAPPOINTMENT (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return disappointmentVariables;}}, 
    9         DISTRESS (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return distressVariables;}}, 
     6        ADMIRATION (EmotionValence.POSITIVE){public String[] getAppraisalVariables(){return attribution;}}, 
     7        ANGER (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return composed;}}, 
     8        DISAPPOINTMENT (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return prospectBased;}}, 
     9        DISTRESS (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return wellBeing;}}, 
    1010        FEAR (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return fearVariables;}}, 
    11         FEARS_CONFIRMED (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return fearsConfirmedVariables;}}, 
    12         GRATIFICATION (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return gratificationVariables;}}, 
    13         GLOATING (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return gloatingVariables;}}, 
    14         HAPPY_FOR(EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return happyForVariables;}}, 
    15         HATE (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return hateVariables;}}, 
     11        FEARS_CONFIRMED (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return prospectBased;}}, 
     12        GRATIFICATION (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return composed;}}, 
     13        GLOATING (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return fortuneOfOthers;}}, 
     14        HAPPY_FOR(EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return fortuneOfOthers;}}, 
     15        HATE (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return attraction;}}, 
    1616        HOPE (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return hopeVariables;}}, 
    17         JOY (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return joyVariables;}}, 
    18         LOVE (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return loveVariables;}}, 
    19         PITTY (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return pittyVariables;}}, 
    20         PRIDE (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return prideVariables;}}, 
    21         RELIEF (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return reliefVariables;}}, 
    22         REMORSE (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return remorseVariables;}}, 
    23         REPROACH (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return reproachVariables;}}, 
    24         RESENTMENT (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return resentmentVariables;}}, 
    25         SATISFACTION (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return satisfactionVariables;}}, 
    26         SHAME (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return shameVariables;}}; 
     17        JOY (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return wellBeing;}}, 
     18        LOVE (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return attraction;}}, 
     19        PITTY (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return fortuneOfOthers;}}, 
     20        PRIDE (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return attribution;}}, 
     21        RELIEF (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return prospectBased;}}, 
     22        REMORSE (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return composed;}}, 
     23        REPROACH (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return attribution;}}, 
     24        RESENTMENT (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return fortuneOfOthers;}}, 
     25        SATISFACTION (EmotionValence.POSITIVE) {public String[] getAppraisalVariables(){return prospectBased;}}, 
     26        SHAME (EmotionValence.NEGATIVE) {public String[] getAppraisalVariables(){return attribution;}}; 
    2727         
    2828         
    2929        public abstract String[] getAppraisalVariables(); 
    3030 
    31         private static String[] admirationVariables = {OCCAppraisalVariables.PRAISEWORTHINESS.name()}; 
    32         private static String[] angerVariables = {null}; 
    33         private static String[] disappointmentVariables = {OCCAppraisalVariables.GOALCONDUCIVENESS.name(),OCCAppraisalVariables.GOALSTATUS.name()}; 
    34         private static String[] distressVariables = {OCCAppraisalVariables.DESIRABILITY.name()}; 
     31        private static String[] attribution = {OCCAppraisalVariables.PRAISEWORTHINESS.name()}; 
     32        private static String[] wellBeing = {OCCAppraisalVariables.DESIRABILITY.name()}; 
     33        private static String[] fortuneOfOthers = {OCCAppraisalVariables.DESIRABILITY.name(),OCCAppraisalVariables.DESFOROTHER.name()}; 
     34        private static String[] attraction = {OCCAppraisalVariables.DESIRABILITY.name()}; 
     35        private static String[] composed = {OCCAppraisalVariables.DESIRABILITY.name(),OCCAppraisalVariables.PRAISEWORTHINESS.name()}; 
     36         
    3537        private static String[] fearVariables = {OCCAppraisalVariables.GOALCONDUCIVENESS.name(),OCCAppraisalVariables.FAILUREPROBABILITY.name()}; 
    36         private static String[] fearsConfirmedVariables = {OCCAppraisalVariables.GOALCONDUCIVENESS.name(),OCCAppraisalVariables.GOALSTATUS.name()}; 
    37         private static String[] gloatingVariables = {OCCAppraisalVariables.DESIRABILITY.name(),OCCAppraisalVariables.DESFOROTHER.name()}; 
    38         private static String[] gratificationVariables = {null}; 
    39         private static String[] happyForVariables = {OCCAppraisalVariables.DESIRABILITY.name(),OCCAppraisalVariables.DESFOROTHER.name()}; 
    40         private static String[] hateVariables = {OCCAppraisalVariables.LIKE.name()}; 
    41         private static String[] hopeVariables = {OCCAppraisalVariables.GOALCONDUCIVENESS.name(),OCCAppraisalVariables.SUCCESSPROBABILITY.name()}; 
    42         private static String[] joyVariables = {OCCAppraisalVariables.DESIRABILITY.name()}; 
    43         private static String[] loveVariables = {OCCAppraisalVariables.LIKE.name()}; 
    44         private static String[] pittyVariables = {OCCAppraisalVariables.DESIRABILITY.name(),OCCAppraisalVariables.DESFOROTHER.name()}; 
    45         private static String[] prideVariables = {OCCAppraisalVariables.PRAISEWORTHINESS.name()}; 
    46         private static String[] reliefVariables = {OCCAppraisalVariables.GOALCONDUCIVENESS.name(),OCCAppraisalVariables.GOALSTATUS.name()}; 
    47         private static String[] remorseVariables = {null}; 
    48         private static String[] reproachVariables = {OCCAppraisalVariables.PRAISEWORTHINESS.name()}; 
    49         private static String[] resentmentVariables = {OCCAppraisalVariables.DESIRABILITY.name(),OCCAppraisalVariables.DESFOROTHER.name()}; 
    50         private static String[] satisfactionVariables = {null}; 
    51         private static String[] shameVariables = {OCCAppraisalVariables.PRAISEWORTHINESS.name()}; 
     38        private static String[] hopeVariables = {OCCAppraisalVariables.GOALCONDUCIVENESS.name(),OCCAppraisalVariables.SUCCESSPROBABILITY.name()};        
     39        private static String[] prospectBased = {OCCAppraisalVariables.GOALCONDUCIVENESS.name(),OCCAppraisalVariables.GOALSTATUS.name()}; 
     40 
    5241         
    5342        private final EmotionValence valence;  
Note: See TracChangeset for help on using the changeset viewer.