Changeset 478 for vtcross/trunk/src
- Timestamp:
- 09/09/09 16:04:18 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
vtcross/trunk/src/cognitive_engines/OSSIE_DEMO_CE/OSSIE_CE.cpp
r477 r478 9 9 10 10 11 #include <cmath> 11 12 #include <cstdlib> 12 13 #include <cstring> 13 14 #include <stdint.h> 14 #include <math.h>15 15 #include <string> 16 16 … … 127 127 128 128 129 // update a row130 129 int32_t 131 130 ossieCBR::Update(string _where[], string _set[], float *_wherevals, float *_setvals, … … 267 266 for(size_t i = 0; i < radioInfo->numUtilities; i++) { 268 267 269 // This is a special case because the observable is also the utility268 /* This is a special case because the observable is also the utility. */ 270 269 newUtilityVals[newUtilityValueIndex] = observables[i].value; 271 270 newUtilityValueIndex++; … … 286 285 } 287 286 288 // cbr_update(database,where,set,whereval,setval,..)289 287 myCBR->Update(nameList, utilList, valList, newUtilityVals, 290 288 numberColumns, utilColumns);