Public Member Functions

de.fraunhofer.isst.axbench.axlang.elements.featuremodel.Configuration Class Reference

Configuration models a specific configuration of a feature model. More...

List of all members.

Public Member Functions

 Configuration ()
 Constructor.
Collection< FeaturegetDeSelectedFeatures ()
 getter method for the collection of referenced selected features
FeatureModel getFeatureModel ()
 getter method for the reference feature model
Collection< FeaturegetSelectedFeatures ()
 getter method for the collection of referenced selected features
Selection getSelection (Feature axlFeature, boolean bCompute)
 Returns selection for the given feature.
Selection getSelection (Feature axlFeature)
 Returns selection for the given feature with computation.

Detailed Description

Configuration models a specific configuration of a feature model.

Referenced elements
Author:
ekleinod
Version:
0.7.2
Since:
0.7.0

Constructor & Destructor Documentation

de.fraunhofer.isst.axbench.axlang.elements.featuremodel.Configuration.Configuration (  ) 

Constructor.


Member Function Documentation

Collection<Feature> de.fraunhofer.isst.axbench.axlang.elements.featuremodel.Configuration.getDeSelectedFeatures (  ) 

getter method for the collection of referenced selected features

Returns:
the collection of referenced selected features
FeatureModel de.fraunhofer.isst.axbench.axlang.elements.featuremodel.Configuration.getFeatureModel (  ) 

getter method for the reference feature model

Returns:
the reference feature model
Collection<Feature> de.fraunhofer.isst.axbench.axlang.elements.featuremodel.Configuration.getSelectedFeatures (  ) 

getter method for the collection of referenced selected features

Returns:
the collection of referenced selected features
Selection de.fraunhofer.isst.axbench.axlang.elements.featuremodel.Configuration.getSelection ( Feature  axlFeature,
boolean  bCompute 
)

Returns selection for the given feature.

This method computes the selected and deselected features. Cardinalities are interpreted as follows:

  • open subfeatures are selected if #all - (#sel + #desel) <= minimum cardinality - #sel
  • open subfeatures are deselected if #all - (#sel + #desel) <= (#all - maximum cardinality) - #desel
Todo:
check computation
Parameters:
axlFeature given feature
bCompute compute selection? (true == compute; false == no computation)
Returns:
selection
Selection de.fraunhofer.isst.axbench.axlang.elements.featuremodel.Configuration.getSelection ( Feature  axlFeature  ) 

Returns selection for the given feature with computation.

Parameters:
axlFeature given feature
Returns:
selection