Synthesized Feature Model Generator
v1.3
fm_gen
is a Java jar
tool that generates synthesized feature models on the basis of the Betty framework.
Parameters
The tool supports the following parameters:
parameter | required | default value | description |
---|---|---|---|
-h | no | - | prints the app’s usage info |
-c |
yes | - | number of relationships and cross tree constraints |
-fm |
yes | - | number of generated feature models |
-ctc |
no | 0.8 |
ratio of cross tree constraints |
-g |
no | 5 |
maximum of generations, used in the evolutionary generator |
-out |
no | ./ |
folder saving generated feature models |
How it works
The number of features in each generated feature model is specified by the following formula:
numFeatures = numConstraints * 3 / 4;
In case of numFeatures < 10
, the tool uses the Random generation.
Otherwise, it uses an Evolutionary generator.
Generated feature models are saved in the SPLOT format.
Usage
Download: Latest (v1.3)
Requirements: Latest Java
Syntax:
java -jar fm_gen.jar [-h] -c <#constraints> -fm <#generated_feature_models> [-ctc <ratio_cross_tree_constraints>] [-g <#max_generations>] [-out <path_to_folder>]