Changeset 764


Ignore:
Timestamp:
12/10/2010 01:29:54 PM (10 years ago)
Author:
joao.dias
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • AgentMind/branches/FAtiMA-Modular/FAtiMA.AdvancedMemory/src/main/java/FAtiMA/advancedMemoryComponent/AdvancedMemoryComponent.java

    r751 r764  
    4343import FAtiMA.Core.AgentSimulationTime; 
    4444import FAtiMA.Core.IComponent; 
     45import FAtiMA.Core.IAppraisalComponent; 
    4546import FAtiMA.Core.IProcessExternalRequestComponent; 
    4647import FAtiMA.Core.Display.AgentDisplayPanel; 
    47 import FAtiMA.Core.emotionalState.AppraisalStructure; 
     48import FAtiMA.Core.OCCAffectDerivation.OCCComponent; 
     49import FAtiMA.Core.emotionalState.AppraisalFrame; 
    4850import FAtiMA.Core.memory.episodicMemory.ActionDetail; 
    4951import FAtiMA.Core.memory.episodicMemory.EpisodicMemory; 
     
    5456 
    5557 
    56 public class AdvancedMemoryComponent implements Serializable, IComponent, IProcessExternalRequestComponent { 
     58public class AdvancedMemoryComponent implements Serializable, IAppraisalComponent, IProcessExternalRequestComponent { 
    5759 
    5860        private static final long serialVersionUID = 1L; 
     
    195197 
    196198        @Override 
    197         public void appraisal(AgentModel am, Event e, AppraisalStructure as) { 
     199        public void startAppraisal(AgentModel am, Event e, AppraisalFrame as) { 
    198200                 
    199201                //appraisal from memory 
     
    212214                        if(desirability != 0) 
    213215                        { 
    214                                 as.SetAppraisalVariable(AdvancedMemoryComponent.NAME, (short)3, AppraisalStructure.DESIRABILITY, desirability); 
     216                                as.SetAppraisalVariable(AdvancedMemoryComponent.NAME, (short)3, OCCComponent.DESIRABILITY, desirability); 
    215217                        }        
    216218                } 
     
    306308                        } 
    307309                } 
    308         }        
     310        } 
     311 
     312        @Override 
     313        public void continueAppraisal(AgentModel am) { 
     314        } 
     315         
     316         
    309317} 
Note: See TracChangeset for help on using the changeset viewer.