Changeset 418 for vtcross/trunk
- Timestamp:
- 08/05/09 11:53:31 (15 years ago)
- Location:
- vtcross/trunk/src/cognitive_engines
- Files:
-
- 2 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); -
vtcross/trunk/src/cognitive_engines/OSSIE_DEMO_CE/OSSIE_CE.cpp
r417 r418 119 119 columnObsIndex++; 120 120 } 121 obsList[columnObsIndex] = "utility";121 obsList[columnObsIndex] = (char*) "utility"; 122 122 123 123 size_t columnIndex = 0; … … 270 270 LOG("Cognitive Engine:: Processing parameters....\n"); 271 271 272 Parameter *solutionSet;272 //Parameter *solutionSet; 273 273 274 274 //solutionSet = GetSolution(o,cp); … … 278 278 LOG("Cognitive Engine:: Sending Optimal Parameters to Application.\n"); 279 279 char numParametersChar[10]; 280 char solutionValue[50];280 //char solutionValue[50]; 281 281 sprintf(numParametersChar, "%i", radioInfo->numParameters); 282 282 SendMessage(commandSocketFD, numParametersChar); … … 730 730 allNameIndex++; 731 731 } 732 allNames[allNameIndex] = "utility";732 allNames[allNameIndex] = (char *) "utility"; 733 733 734 734 // Add row to CBR. … … 783 783 columnIndex++; 784 784 } 785 cols[columnIndex] = "utility";785 cols[columnIndex] = (char *)"utility"; 786 786 787 787 myCBR = cbr_create(filename, tablename, cols, numberColumns);