Show
Ignore:
Timestamp:
04/02/09 17:35:03 (15 years ago)
Author:
trnewman
Message:

Added sending current parameters in the libvt request optimization function.

Added guts to the CBR so it actually creates an sql db and searches it.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/src/include/vtcross/components.h

    r222 r228  
    260260         * and active. 
    261261         */ 
    262         void GetSolution(Observable *observables); 
    263         void GetSolution(Observable *observables, std::string service); 
     262        Parameter *GetSolution(Observable *observables, Parameter *currentParameters); 
     263        Parameter *GetSolution(Observable *observables, Parameter *currentParameters, std::string service); 
    264264 
    265265        /* Receive a feedback from the radio regarding the performance of a 
     
    275275        void ReceiveFeedback(Observable *observables, \ 
    276276                Parameter *parameters, Utility *utilities, std::string service); 
     277 
     278 
     279                /* BuildCognitiveEngine performs the CE implementation specific work 
     280                 * that defines the internals of a CE.  For example, a CBR CE engine 
     281                 * would build the case-base reasoner or create the database, a neural 
     282                 * network based CE may perform the initial training, a GA based CE 
     283                 * may build the chromosome structure. 
     284                 */ 
     285                void BuildCognitiveEngine(); 
    277286 
    278287        /* The SML_present bool reflects whether or not the remote component