Im working with Software Product Lines modeling, and im researching on use well known software solutions to make simpler the computing of feature models.
Im my case want to see if its possible to model FODA feature diagrams using ElasticSearch
The thing is that this is a NP-hard problem and to compute very large features sets can take a lot of time.
And my goal is to answer questions like:
- Most probable feature
- How many valid products are
I will put an example:
I have this features to make a mobile phone:
With these relationships:
Computing the model we will get the following products:
mobilephone, screen, camera, lowrescam, flash
mobilephone, screen, camera, hirescam, flash
The probability of having a camera in a phone is: 2/3
The probability of having a screen in a phone is: 3/3
So the questions are:
- Is it possible to model this kind of behaviour in ElasticSearch?
- is it possible to create a module to do this? (I will do it)
Im new to ElasticSearch so this is a research question to see if I should dig more on ES.