Android Phone Example with four Objectives
Back to Introduction
Here’s a simple example of a model suitable for optimization using ClaferMoo. In order to analyze the model and explore the Pareto front in ClaferMoo Visualizer, click the link below:
If you’re not sure what you can do in the analyzer, try the following workflow.
In this model, we have a product line of phones that consists of
Features
and SecurityFeatures
. We want to find
all optimal configurations of aPhone
.
From the graph, we can see that the phone product line consists of four features and two security features.
Modeling the Optimization Problem
First, we need to define features with some quality attributes
performance
, energy
, and
mass
:
There’s also a special kind of feature, SecurityFeature
,
which has another quality attribute security
:
Next, we need to write a model of our product line with some variability regarding the features. We need to set the values for quality attributes of each feature.
Next, we define our product aPhone
.
The product is underspecified allowing for all possible valid combinations of features.
Finally, we define the following four optimization goals.
“Minimize total energy”:
“Maximize total performance”:
“Minimize total mass”:
“Maximize total security”:
In order to analyze the model and explore the Pareto front in ClaferMoo Visualizer, click the link below: