-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
119 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<featureModel> | ||
<properties/> | ||
<struct> | ||
<and name="Car"> | ||
<feature name="Carbody"/> | ||
<and mandatory="true" name="Radio"> | ||
<or mandatory="true" name="Ports"> | ||
<feature mandatory="true" name="USB"/> | ||
<feature mandatory="true" name="CD"/> | ||
</or> | ||
<and mandatory="true" name="Navigation"> | ||
<alt mandatory="true" name="DigitalCards"> | ||
<feature mandatory="true" name="Europe"/> | ||
<feature mandatory="true" name="USA"/> | ||
</alt> | ||
<feature name="GPSAntenna"/> | ||
</and> | ||
<feature mandatory="true" name="Bluetooth"/> | ||
</and> | ||
<alt name="Gearbox"> | ||
<feature mandatory="true" name="Manual"/> | ||
<feature mandatory="true" name="Automatic"/> | ||
</alt> | ||
<feature name="GearboxTest"/> | ||
</and> | ||
</struct> | ||
<constraints> | ||
<rule> | ||
<imp> | ||
<var>Navigation</var> | ||
<var>USB</var> | ||
</imp> | ||
</rule> | ||
<rule> | ||
<imp> | ||
<var>Europe</var> | ||
<var>Gearbox</var> | ||
</imp> | ||
</rule> | ||
<rule> | ||
<imp> | ||
<var>GPSAntenna</var> | ||
<var>USB</var> | ||
</imp> | ||
</rule> | ||
<rule> | ||
<conj> | ||
<var>Carbody</var> | ||
<var>Gearbox</var> | ||
</conj> | ||
</rule> | ||
<rule> | ||
<imp> | ||
<conj> | ||
<var>Gearbox</var> | ||
<var>Radio</var> | ||
</conj> | ||
<var>Navigation</var> | ||
</imp> | ||
</rule> | ||
<rule> | ||
<imp> | ||
<var>Carbody</var> | ||
<conj> | ||
<var>Automatic</var> | ||
<not> | ||
<var>Bluetooth</var> | ||
</not> | ||
</conj> | ||
</imp> | ||
</rule> | ||
</constraints> | ||
<calculations Auto="true" Constraints="true" Features="true" Redundant="true" Tautology="true"/> | ||
<comments/> | ||
<featureOrder userDefined="false"/> | ||
</featureModel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<featureModel> | ||
<properties/> | ||
<struct> | ||
<and abstract="true" name="DB"> | ||
<alt abstract="true" name="OS"> | ||
<feature mandatory="true" name="NutOS"/> | ||
<feature mandatory="true" name="Win"/> | ||
</alt> | ||
<alt abstract="true" name="BufferMgr"> | ||
<and abstract="true" mandatory="true" name="Persistent"> | ||
<alt abstract="true" name="MemAlloc"> | ||
<feature mandatory="true" name="Static"/> | ||
<feature mandatory="true" name="Dynamic"/> | ||
</alt> | ||
<alt abstract="true" name="PageRepl"> | ||
<feature mandatory="true" name="LRU"/> | ||
<feature mandatory="true" name="LFU"/> | ||
</alt> | ||
</and> | ||
<feature mandatory="true" name="InMemory"/> | ||
</alt> | ||
<feature mandatory="true" name="DebugLogging"/> | ||
<and abstract="true" name="Storage"> | ||
<or abstract="true" name="API"> | ||
<feature mandatory="true" name="get"/> | ||
<feature mandatory="true" name="put"/> | ||
<feature mandatory="true" name="delete"/> | ||
</or> | ||
<alt abstract="true" name="Index"> | ||
<feature mandatory="true" name="BTree"/> | ||
<feature mandatory="true" name="Unindexed"/> | ||
</alt> | ||
</and> | ||
</and> | ||
</struct> | ||
<constraints/> | ||
<calculations Auto="true" Constraints="true" Features="true" Redundant="true" Tautology="true"/> | ||
<comments/> | ||
<featureOrder userDefined="false"/> | ||
</featureModel> |