The main functionality of the Planner component is “solving” problems. As such, its nature is depended on the reasoning approach that COSMOS follows. We developed an ontology-based Case-Base Reasoning Planner and adopted the Flat Memory and the Category Exemplar model. When the Planner “senses” a situation or accepts a query, it means that there is a new problem to solve. The Planner creates a target case and compares it with the cases available in the Case-Base. If the Planner does not find a case similar enough to the target case, the Thing can ask other Things for assistance, thus experience sharing and communication between autonomic managers takes place. The choice of the solution is made by taking under consideration social criteria too, such as the reputation of the Things that offer the solutions.
Download Planner functional component from COSMOS GitHub repository (https://github.com/COSMOSFP7/COSMOS-VE-Side/tree/master/Planner)