Changeset 217
- Timestamp:
- 03/26/09 17:05:14 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
vtcross/trunk/src/include/vtcross/components.h
r213 r217 228 228 ~CognitiveEngine(); 229 229 230 /* Overloaded constructor that creates a cognitive engine object and 231 * connects it to either the shell or an SML, depening on the SML bool. 232 */ 233 CognitiveEngine(const char* serverName, const char* serverPort, \ 234 const bool SML); 235 230 236 void SendComponentType(); 231 237 void ConnectToRemoteComponent(const char* serverName, \ … … 260 266 * certain set of parameters, possibly associated with a service. 261 267 * 262 * TODO what is the difference between experiences and feedback, 263 * exactly? we should explain that explicitly here. 268 * Feedback is a single set of performance statistics that is achieved 269 * corresponding to a specific set of transmission parameters. Feedback 270 * helps a Cognitive Engine make better future decisions based upon 271 * more accurate performance statistics. 264 272 */ 265 273 void ReceiveFeedback(Observable *observables,\ 266 274 Parameter *parameters, Utility *utilities); 267 275 void ReceiveFeedback(Observable *observables, \ 268 Parameter *parameters, std::string service);276 Parameter *parameters, Utility *utilities, std::string service); 269 277 270 278 /* The SML_present bool reflects whether or not the remote component … … 275 283 bool SML_present; 276 284 int32_t commandSocketFD; 285 286 Utility * uList; 287 Parameter * pList; 288 Observable * oList; 289 struct Radio_Info * radioInfo; 277 290 }; 278 291 … … 328 341 void GetOptimalParameters(int32_t socketFD); 329 342 330 voidSendRadioConfiguration(int32_t socketFD);331 voidSendRadioExperience(int32_t socketFD);343 bool SendRadioConfiguration(int32_t socketFD); 344 bool SendRadioExperience(int32_t socketFD); 332 345 333 346 bool SML_present;