Changeset 1040


Ignore:
Timestamp:
04/07/2011 01:25:35 PM (9 years ago)
Author:
muk7
Message:

added methods for next event id

Location:
AgentMind/branches/FAtiMA-Modular/FAtiMA/src/FAtiMA/Core/memory/episodicMemory
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • AgentMind/branches/FAtiMA-Modular/FAtiMA/src/FAtiMA/Core/memory/episodicMemory/EpisodicMemory.java

    r1028 r1040  
    7979                _newRecords = new ArrayList<ActionDetail>(); 
    8080                _previousLocation = Constants.EMPTY_LOCATION; 
     81        } 
     82         
     83        // 07/04/11 Matthias 
     84        public int getNextEventID() { 
     85                return _stm.GetEventID(); 
     86        } 
     87         
     88        // 07/04/11 Matthias 
     89        public void setNextEventID(int nextEventID) { 
     90                _stm.SetEventID(nextEventID); 
    8191        } 
    8292         
  • AgentMind/branches/FAtiMA-Modular/FAtiMA/src/FAtiMA/Core/memory/episodicMemory/ShortTermEpisodicMemory.java

    r1028 r1040  
    2626 * History:  
    2727 * Meiyii Lim: 11/03/09 - File created 
    28  * Matthias Keysermann: 09/03/2011 - added retrieval storage to VerifiesKey/s, GetDetailsByKey/s  
     28 * Matthias Keysermann: 09/03/2011 - added retrieval storage to VerifiesKey/s, GetDetailsByKey/s 
     29 * Matthias Keysermann: 07/04/2011 - added GetEventID  
    2930 */ 
    3031 
     
    9899                return this._details.size(); 
    99100        } 
    100          
     101 
     102        // 07/04/11 Matthias 
     103        public int GetEventID() { 
     104                return ShortTermEpisodicMemory.eventID; 
     105        } 
     106 
    101107        public void SetEventID(int eventID) 
    102108        { 
Note: See TracChangeset for help on using the changeset viewer.