//サブリスト
this.candidateWordList = new Array();
this.wordList = new Array();
+ this.wordListLastModifiedDate = new Date();
this.patternList = new Array();
}
AI_Memory.prototype = {
return;
}
this.wordList.push(tag);
+ this.wordListLastModifiedDate = new Date();
}
if(tag instanceof AI_PatternTag){
this.patternList.push(tag);
removeMemoryTagByObject: function(obj){
this.root.removeAnObject(obj);
this.candidateWordList.removeAnObject(obj);
- this.wordList.removeAnObject(obj);
+ if(this.wordList.removeAnObject(obj)){
+ this.wordListLastModifiedDate = new Date();
+ }
},
verifyMemoryStructure: function(){
//メモリ構造検査・修復