Changeset 255
- Timestamp:
- 12/15/2009 03:57:06 PM (11 years ago)
- Location:
- AgentMind/trunk/AgentMind/MemoryProcesses/src/main/java/MemoryProcesses
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
AgentMind/trunk/AgentMind/MemoryProcesses/src/main/java/MemoryProcesses/CCQuery.java
r240 r255 63 63 64 64 public void setQuery(ActionDetail actionDetail){ 65 65 this._results.clear(); 66 66 this._actionDetail = actionDetail; 67 67 } -
AgentMind/trunk/AgentMind/MemoryProcesses/src/main/java/MemoryProcesses/RuleEngine.java
r240 r255 68 68 CandidateEvent cad; 69 69 70 _ksession = _kbase.newStatefulKnowledgeSession(); 71 70 72 ArrayList<MemoryEpisode> episodes = episodicMemory.GetAllEpisodes(); 71 73 for (int i = 0; i < episodes.size(); i++) … … 92 94 t.printStackTrace(); 93 95 } 94 } 95 96 96 } 97 97 } -
AgentMind/trunk/AgentMind/MemoryProcesses/src/main/java/MemoryProcesses/SAQuery.java
r240 r255 65 65 String queryType; 66 66 67 this.resetQuery(); 67 68 for (int i = 0; i < info.size(); i++) 68 69 { … … 106 107 _question = question; 107 108 } 108 109 110 private void resetQuery(){ 111 this._question = ""; 112 this._subject = ""; 113 this._target = ""; 114 this._action = ""; 115 this._location = ""; 116 this._numKnownVar = 0; 117 this._results.clear(); 118 } 119 109 120 public String getSubject(){ 110 121 return this._subject;
Note: See TracChangeset
for help on using the changeset viewer.