Changeset 418 for vtcross/trunk/src/cognitive_engines/CBR_CE
- Timestamp:
- 08/05/09 11:53:31 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
vtcross/trunk/src/cognitive_engines/CBR_CE/CognitiveEngine.cpp
r411 r418 124 124 columnObsIndex++; 125 125 } 126 obsList[columnObsIndex] = "utility";126 obsList[columnObsIndex] = (char *) "utility"; 127 127 128 128 size_t columnIndex = 0; … … 273 273 LOG("Cognitive Engine:: Processing parameters....\n"); 274 274 275 Parameter *solutionSet;275 //Parameter *solutionSet; 276 276 277 277 //solutionSet = GetSolution(o,cp); … … 281 281 LOG("Cognitive Engine:: Sending Optimal Parameters to Application.\n"); 282 282 char numParametersChar[10]; 283 char solutionValue[50];283 //char solutionValue[50]; 284 284 sprintf(numParametersChar, "%i", radioInfo->numParameters); 285 285 SendMessage(commandSocketFD, numParametersChar); … … 736 736 allNameIndex++; 737 737 } 738 allNames[allNameIndex] = "utility";738 allNames[allNameIndex] = (char *)"utility"; 739 739 740 740 // Add row to CBR. … … 789 789 columnIndex++; 790 790 } 791 cols[columnIndex] = "utility";791 cols[columnIndex] = (char *) "utility"; 792 792 793 793 myCBR = cbr_create(filename, tablename, cols, numberColumns);