Betty 1.1
es.us.isa.generator.FM.FMGenerator Class Reference
Inheritance diagram for es.us.isa.generator.FM.FMGenerator:
es.us.isa.generator.FM.AbstractFMGenerator es.us.isa.generator.IGenerator

List of all members.

Public Member Functions

VariabilityModel generateFM (Characteristics ch)

Protected Member Functions

void generateTree (Feature root)
void generateCroosTreeConstraints (FAMAFeatureModel fm)
int getRandomRelationship ()

Detailed Description

Class for the random generation of feature model using an iterative algorithm


Member Function Documentation

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.

Parameters:
fmFeature 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.

Parameters:
chThe preferences of the user for the generation.
Returns:
a variability model.
Exceptions:
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)

Parameters:
rootRoot feature.
Exceptions:
BettyException
BeTTyException

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables