Changeset 914
- Timestamp:
- 02/02/2011 04:44:13 PM (10 years ago)
- Location:
- AgentMind/branches/FAtiMA-Modular
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
AgentMind/branches/FAtiMA-Modular/AgentLauncher/src/AgentLauncher.java
r858 r914 35 35 //aG.addComponent(new CulturalDimensionsComponent(cultureFile)); 36 36 //aG.addComponent(new SocialRelationsComponent(extraFiles)); 37 //aG.addComponent(new MotivationalComponent(extraFiles));37 aG.addComponent(new MotivationalComponent(extraFiles)); 38 38 //aG.addComponent(new ToMComponent(ConfigurationManager.getName())); 39 39 //aG.addComponent(new AdvancedMemoryComponent()); -
AgentMind/branches/FAtiMA-Modular/FAtiMA.AdvancedMemory/.classpath
r895 r914 9 9 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 10 10 <classpathentry combineaccessrules="false" kind="src" path="/FAtiMA"/> 11 <classpathentry kind="lib" path="/FAtiMA/xmlenc-0.52.jar"/> 11 12 <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/Drools"/> 12 <classpathentry kind="lib" path="/FAtiMA/xmlenc-0.52.jar"/>13 13 <classpathentry kind="output" path="bin"/> 14 14 </classpath> -
AgentMind/branches/FAtiMA-Modular/FAtiMA.AdvancedMemory/src/main/java/FAtiMA/advancedMemoryComponent/RuleEngine.java
r772 r914 1 1 package FAtiMA.advancedMemoryComponent; 2 2 3 import java.io.FileInputStream;4 3 import java.io.IOException; 5 4 import java.io.ObjectInputStream; … … 7 6 import java.io.Serializable; 8 7 import java.util.ArrayList; 9 10 8 11 9 import org.drools.KnowledgeBase; -
AgentMind/branches/FAtiMA-Modular/FAtiMA/src/FAtiMA/Core/OCCAffectDerivation/OCCEmotionType.java
r896 r914 4 4 5 5 public enum OCCEmotionType { 6 ADMIRATION (EmotionValence.POSITIVE){public String[] getAppraisalVariables(){return a dmirationVariables;}},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;}}, 10 10 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;}}, 16 16 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;}}; 27 27 28 28 29 29 public abstract String[] getAppraisalVariables(); 30 30 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 35 37 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 52 41 53 42 private final EmotionValence valence; -
AgentMind/branches/FAtiMA-Modular/data/characters/minds/LIRECGoalLibrary.xml
r801 r914 24 24 <OnSelect drive="Affiliation" target="[SELF]" value="+3"/> 25 25 </ExpectedEffects> 26 </ActivePursuitGoal> 26 </ActivePursuitGoal>Click the centre of the hamster wheel! 27 27 <ActivePursuitGoal name="PlayHideCoinWith([target])"> 28 28 <PreConditions>
Note: See TracChangeset
for help on using the changeset viewer.