Changeset 914


Ignore:
Timestamp:
02/02/2011 04:44:13 PM (8 years ago)
Author:
joao.dias
Message:
 
Location:
AgentMind/branches/FAtiMA-Modular
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • AgentMind/branches/FAtiMA-Modular/AgentLauncher/src/AgentLauncher.java

    r858 r914  
    3535                        //aG.addComponent(new CulturalDimensionsComponent(cultureFile)); 
    3636                        //aG.addComponent(new SocialRelationsComponent(extraFiles)); 
    37                         //aG.addComponent(new MotivationalComponent(extraFiles)); 
     37                        aG.addComponent(new MotivationalComponent(extraFiles)); 
    3838                        //aG.addComponent(new ToMComponent(ConfigurationManager.getName())); 
    3939                        //aG.addComponent(new AdvancedMemoryComponent()); 
  • AgentMind/branches/FAtiMA-Modular/FAtiMA.AdvancedMemory/.classpath

    r895 r914  
    99        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 
    1010        <classpathentry combineaccessrules="false" kind="src" path="/FAtiMA"/> 
     11        <classpathentry kind="lib" path="/FAtiMA/xmlenc-0.52.jar"/> 
    1112        <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/Drools"/> 
    12         <classpathentry kind="lib" path="/FAtiMA/xmlenc-0.52.jar"/> 
    1313        <classpathentry kind="output" path="bin"/> 
    1414</classpath> 
  • AgentMind/branches/FAtiMA-Modular/FAtiMA.AdvancedMemory/src/main/java/FAtiMA/advancedMemoryComponent/RuleEngine.java

    r772 r914  
    11package FAtiMA.advancedMemoryComponent; 
    22 
    3 import java.io.FileInputStream; 
    43import java.io.IOException; 
    54import java.io.ObjectInputStream; 
     
    76import java.io.Serializable; 
    87import java.util.ArrayList; 
    9  
    108 
    119import org.drools.KnowledgeBase; 
  • 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;  
  • AgentMind/branches/FAtiMA-Modular/data/characters/minds/LIRECGoalLibrary.xml

    r801 r914  
    2424                        <OnSelect drive="Affiliation" target="[SELF]" value="+3"/> 
    2525                </ExpectedEffects>       
    26         </ActivePursuitGoal> 
     26        </ActivePursuitGoal>Click the centre of the hamster wheel! 
    2727        <ActivePursuitGoal name="PlayHideCoinWith([target])"> 
    2828                <PreConditions> 
Note: See TracChangeset for help on using the changeset viewer.