namespace VideoStreamingService features Root {abstract} mandatory VideoQuality or HD {Price 5, Resolution 1080} FullHD {Price 10, Resolution 1440} UltraHD {Price 20, Resolution 2160} AudioQuality alternative Stereo {Price 1, Channels 2} Surround {Price 3, Channels 5.1} DolbyAtmos {Price 5, Channels 7.1} optional Subtitles or English {Price 0.5, Language "English"} Spanish {Price 0.5, Language "Spanish"} French {Price 0.5, Language "French"} ClosedCaptions mandatory Enabled {Price 1, Format "SRT"} Root2 {abstract} [2..3] Personalization or Recommendations {Price 2, Algorithm "Collaborative Filtering"} WatchHistory {Price 1, Limit 100} Search {Price 0.5, Results 20} SocialFeatures alternative Comments {Price 1,MaxLength 200} Ratings {Price 0.5, MaxRating 5} Forums {Price 2, Topics 10} optional Notifications or Email {Price 0.25, Frequency "Daily"} Push {Price 0.5, Frequency "Instant"} constraints HD.Price + FullHD.Price < 20 Stereo.Channels * Surround.Channels > 10 UltraHD.Resolution / HD.Resolution >= 2 English.Language != Spanish.Language DolbyAtmos.Channels - Stereo.Channels == 5 Root => (VideoQuality.HD.Price + AudioQuality.Surround.Price < 15) Root2 => (Personalization.Recommendations.Price + SocialFeatures.Comments.Price > 3) Subtitles.English.Price + ClosedCaptions.Enabled.Price < 2 WatchHistory.Limit / Search.Results >= 5 Recommendations.Algorithm != "Content-Based Filtering"