Betty 1.1
|
Public Member Functions | |
VariabilityModel | generateFM (Characteristics ch) |
Protected Member Functions | |
void | generateTree (Feature root) |
void | generateCroosTreeConstraints (FAMAFeatureModel fm) |
int | getRandomRelationship () |
Class for the random generation of feature model using an iterative algorithm
void es.us.isa.generator.FM.FMGenerator.generateCroosTreeConstraints | ( | FAMAFeatureModel | fm | ) | [protected] |
Generate the cross-tree constraints fulfilling the following rules: (i) The origin and destination features of any constraint can not not be directly related in the tree, and (2) Any pair of features can only share a single constraint.
fm | Feature model in which the constraints will be added. |
VariabilityModel es.us.isa.generator.FM.FMGenerator.generateFM | ( | Characteristics | ch | ) |
Generate a variability model with the characteristic specified as input.
ch | The preferences of the user for the generation. |
BettyException |
Implements es.us.isa.generator.IGenerator.
void es.us.isa.generator.FM.FMGenerator.generateTree | ( | Feature | root | ) | [protected] |
Generate the tree (cross-tree constraints are ignored at this point)
root | Root feature. |
BettyException | |
BeTTyException |