| 1 | = Cognitive Radio API = |
| 2 | |
| 3 | === Public Member Functions === |
| 4 | |
| 5 | {{{ |
| 6 | #!cpp |
| 7 | bool ParseRadioConfiguration(char* fileName) |
| 8 | }}} |
| 9 | |
| 10 | {{{ |
| 11 | #!cpp |
| 12 | void ListCurrentRadioConfiguration() |
| 13 | }}} |
| 14 | |
| 15 | {{{ |
| 16 | #!cpp |
| 17 | Observables* GetRadioObservables() |
| 18 | }}} |
| 19 | |
| 20 | {{{ |
| 21 | #!cpp |
| 22 | Parameters* GetRadioParameters() |
| 23 | }}} |
| 24 | |
| 25 | {{{ |
| 26 | #!cpp |
| 27 | Utilities* GetRadioUtilities() |
| 28 | }}} |
| 29 | |
| 30 | |
| 31 | {{{ |
| 32 | #!cpp |
| 33 | uint32_t* GetConnectedCognitiveEngines() |
| 34 | }}} |
| 35 | |
| 36 | {{{ |
| 37 | #!cpp |
| 38 | uint32_t* GetConnectedPolicyEngines() |
| 39 | }}} |
| 40 | |
| 41 | {{{ |
| 42 | #!cpp |
| 43 | uint32_t* GetConnectedManagementServiceLayers() |
| 44 | }}} |
| 45 | |
| 46 | {{{ |
| 47 | #!cpp |
| 48 | uint32_t* GetConnectedComponents() |
| 49 | }}} |
| 50 | |
| 51 | {{{ |
| 52 | #!cpp |
| 53 | Component* GetComponentInformation(uint32_t ID) |
| 54 | }}} |
| 55 | |
| 56 | {{{ |
| 57 | #!cpp |
| 58 | Parameters* GetOptimalParameters(Observables* radioObservables) |
| 59 | }}} |
| 60 | |
| 61 | {{{ |
| 62 | #!cpp |
| 63 | bool UpdateParameterPerformance(Parameters* radioParameters, Observables* radioObservables, Utilities* radioUtilities) |
| 64 | }}} |
| 65 | Update the actual utility values in response to a previous parameter optimization. |
| 66 | |
| 67 | This method is called when performance feedback is available for a recent parameter optimization. This allows the Cognitive Engine to better understand the relationships between the operating parameters and the objective performance. |
| 68 | |
| 69 | {{{ |
| 70 | #!cpp |
| 71 | bool DeactivateComponent(uint32_t ID) |
| 72 | }}} |
| 73 | |
| 74 | {{{ |
| 75 | #!cpp |
| 76 | bool ActivateComponent(uint32_t ID) |
| 77 | }}} |
| 78 | |
| 79 | {{{ |
| 80 | #!cpp |
| 81 | bool DisconnectComponent(uint32_t ID) |
| 82 | }}} |
| 83 | |
| 84 | {{{ |
| 85 | #!cpp |
| 86 | bool Shutdown() |
| 87 | }}} |
| 88 | Shutdown the Cognitive Radio System. |
| 89 | |
| 90 | This method will perform a clean shutdown of the entire Cognitive Radio System. This includes calls to disconnect each attached component. |
| 91 | |
| 92 | === Private Member Functions === |
| 93 | |
| 94 | {{{ |
| 95 | #!cpp |
| 96 | bool SendExperience(uint32_t ID) |
| 97 | }}} |
| 98 | |
| 99 | Sends the local cache of past experience to the Cognitive Engine with unique identification number ''ID''. |
| 100 | |
| 101 | This method is called by the RegisterCE method. It is one stage of the initialization of a Cognitive Engine. The single experience consists of a set of Parameter, Observables, and Utilities. This stage is used to provide optional ''recent'' information to the Cognitive Engine so that it may make better decisions for parameter optimization. |