Skip to content

Generated Synthetic Root Feature Should be Abstract #14

@pmbittner

Description

@pmbittner

The generation of feature models from a list of feature names is implemented in FeatureModelUtils.FromOptionalFeatures and creates a synthetic root node to gather all given features as optional children. The generated root is not abstract which makes it configurable, biasing any analyses (such as #SAT). The root should be made mandatory and should probably also get a name that has a smaller changes of naming conflicts.

final Feature root = new Feature(fm, "Root");
fm.addFeature(root);
fm.getStructure().setRoot(root.getStructure());

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions