Changeset 878


Ignore:
Timestamp:
01/25/2011 02:04:18 PM (10 years ago)
Author:
joao.dias
Message:
 
Location:
AgentMind/branches/FAtiMA-Modular/FAtiMA.culture/src/FAtiMA/culture
Files:
2 edited
1 copied

Legend:

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

    r870 r878  
    1 package FAtiMA.Core.util.enumerables; 
     1package FAtiMA.culture; 
    22 
    33import FAtiMA.Core.exceptions.InvalidDimensionTypeException; 
  • AgentMind/branches/FAtiMA-Modular/FAtiMA.culture/src/FAtiMA/culture/CulturalDimensionsComponent.java

    r867 r878  
    1313import FAtiMA.Core.IAppraisalDerivationComponent; 
    1414import FAtiMA.Core.Display.AgentDisplayPanel; 
     15import FAtiMA.Core.OCCAffectDerivation.OCCAppraisalVariables; 
    1516import FAtiMA.Core.OCCAffectDerivation.OCCComponent; 
    1617import FAtiMA.Core.conditions.Condition; 
     
    2526import FAtiMA.Core.util.AgentLogger; 
    2627import FAtiMA.Core.util.Constants; 
    27 import FAtiMA.Core.util.enumerables.CulturalDimensionType; 
    2828import FAtiMA.Core.wellFormedNames.Name; 
    2929import FAtiMA.Core.wellFormedNames.SubstitutionSet; 
     
    6767        { 
    6868                float desirabilityForOther = 0; 
    69                 float desirability = af.getAppraisalVariable(OCCComponent.DESIRABILITY); 
     69                float desirability = af.getAppraisalVariable(OCCAppraisalVariables.DESIRABILITY.name()); 
    7070                 
    7171                 
    7272                for(String variable : af.getAppraisalVariables()) 
    7373                { 
    74                         if(variable.startsWith(OCCComponent.DESFOROTHER)) 
     74                        if(variable.startsWith(OCCAppraisalVariables.DESFOROTHER.name())) 
    7575                        { 
    7676                                desirabilityForOther += af.getAppraisalVariable(variable); 
     
    8282                                desirabilityForOther); 
    8383                 
    84                 af.SetAppraisalVariable(NAME, (short)4, OCCComponent.PRAISEWORTHINESS, praiseWorthiness);        
     84                af.SetAppraisalVariable(NAME, (short)4, OCCAppraisalVariables.PRAISEWORTHINESS.name(), praiseWorthiness);        
    8585                 
    8686        } 
  • AgentMind/branches/FAtiMA-Modular/FAtiMA.culture/src/FAtiMA/culture/CultureLoaderHandler.java

    r867 r878  
    5353import FAtiMA.Core.sensorEffector.Event; 
    5454import FAtiMA.Core.util.AgentLogger; 
    55 import FAtiMA.Core.util.enumerables.CulturalDimensionType; 
    5655import FAtiMA.Core.util.parsers.ReflectXMLHandler; 
    5756import FAtiMA.Core.wellFormedNames.Name; 
Note: See TracChangeset for help on using the changeset viewer.