namespace SmartHomeAutomationSystem features Root {abstract} mandatory LightingControl or WiredLighting {Price 100, Efficiency 0.8} WirelessLighting {Price 150, Efficiency 0.9} SecuritySystem alternative BasicSecurity {Price 200, CoverageArea 500} AdvancedSecurity {Price 500, CoverageArea 1000} optional SurveillanceCameras {Price 300, Resolution 1080} MotionSensors {Price 50, DetectionRange 10} ClimateControl mandatory HeatingSystem {Price 800, PowerConsumption 2.5} CoolingSystem {Price 1000, PowerConsumption 3.0} or WindowUnits {Price 500, Efficiency 0.7} CentralAirConditioning {Price 2000, Efficiency 0.9} EntertainmentSystem alternative BasicEntertainment {Price 300, DisplaySize 40} AdvancedEntertainment {Price 1000, DisplaySize 75} optional SoundSystem {Price 500, SpeakerCount 5} GamingConsole {Price 400, PerformanceScore 1000} optional HomeAppliances mandatory Refrigerator {Price 1500, EnergyEfficiency 1.2} WashingMachine {Price 1000, WaterConsumption 50} or Dishwasher {Price 800, WaterConsumption 30} Microwave {Price 200, PowerConsumption 0.6} OutdoorFeatures alternative Pool {Price 10000, MaintenanceCost 500} Garden {Price 5000, MaintenanceCost 200} optional OutdoorLighting {Price 500, Brightness 1000} WeatherStation {Price 200, Accuracy 0.9} Utilities mandatory Electricity {Price 0.15, Availability 0.99} WaterSupply {Price 0.05, Availability 0.99} or GasSupply {Price 0.10, Availability 0.95} InternetConnection {Price 50, Speed 100} constraints LightingControl.WiredLighting.Price + SecuritySystem.BasicSecurity.Price < 1000 ClimateControl.HeatingSystem.Price * ClimateControl.CoolingSystem.Price > 1500000 EntertainmentSystem.BasicEntertainment.Price - HomeAppliances.Refrigerator.Price == 500 OutdoorFeatures.Pool.MaintenanceCost / Utilities.Electricity.Price <= 2000 LightingControl.WiredLighting.Efficiency + SecuritySystem.BasicSecurity.CoverageArea >= 1000 HomeAppliances.Refrigerator.EnergyEfficiency * Utilities.Electricity.Availability > 1.5 ClimateControl.WindowUnits.Price - EntertainmentSystem.BasicEntertainment.DisplaySize == 150 LightingControl.WirelessLighting.Price + SecuritySystem.AdvancedSecurity.CoverageArea < 2000 OutdoorFeatures.Garden.MaintenanceCost / Utilities.WaterSupply.Price <= 1000 EntertainmentSystem.SoundSystem.SpeakerCount * HomeAppliances.WashingMachine.WaterConsumption > 50000 ClimateControl.CentralAirConditioning.Efficiency + LightingControl.WiredLighting.Efficiency >= 1.7 SecuritySystem.SurveillanceCameras.Resolution / EntertainmentSystem.GamingConsole.PerformanceScore <= 10 HomeAppliances.Dishwasher.WaterConsumption * Utilities.WaterSupply.Availability > 40000 OutdoorFeatures.OutdoorLighting.Brightness / LightingControl.WirelessLighting.Price <= 20 EntertainmentSystem.GamingConsole.PerformanceScore - HomeAppliances.Refrigerator.EnergyEfficiency == 500 ClimateControl.HeatingSystem.PowerConsumption * Utilities.Electricity.Availability > 2.5 SecuritySystem.MotionSensors.DetectionRange + LightingControl.WiredLighting.Price >= 200 OutdoorFeatures.WeatherStation.Accuracy * Utilities.InternetConnection.Speed > 9000 HomeAppliances.Microwave.PowerConsumption / EntertainmentSystem.BasicEntertainment.DisplaySize <= 10 ClimateControl.CoolingSystem.Price - SecuritySystem.AdvancedSecurity.CoverageArea == 1000 LightingControl.WirelessLighting.Efficiency + SecuritySystem.BasicSecurity.CoverageArea >= 1100 EntertainmentSystem.SoundSystem.SpeakerCount * HomeAppliances.Refrigerator.EnergyEfficiency > 3000 OutdoorFeatures.Garden.MaintenanceCost / Utilities.Electricity.Price <= 6000 SecuritySystem.SurveillanceCameras.Resolution + EntertainmentSystem.GamingConsole.PerformanceScore >= 4000 HomeAppliances.WashingMachine.WaterConsumption * Utilities.WaterSupply.Availability > 70000 ClimateControl.WindowUnits.Efficiency + LightingControl.WiredLighting.Efficiency >= 1.8 EntertainmentSystem.BasicEntertainment.DisplaySize - HomeAppliances.Refrigerator.EnergyEfficiency == 60 OutdoorFeatures.OutdoorLighting.Brightness / LightingControl.WirelessLighting.Price <= 25 SecuritySystem.MotionSensors.DetectionRange + LightingControl.WiredLighting.Price >= 300 Utilities.Electricity.Availability * ClimateControl.CentralAirConditioning.Efficiency > 0.98 HomeAppliances.Dishwasher.WaterConsumption / Utilities.WaterSupply.Price <= 30 EntertainmentSystem.GamingConsole.PerformanceScore - HomeAppliances.Refrigerator.EnergyEfficiency == 2500 ClimateControl.HeatingSystem.PowerConsumption * Utilities.Electricity.Availability > 4.0 SecuritySystem.SurveillanceCameras.Resolution / EntertainmentSystem.BasicEntertainment.DisplaySize <= 80 OutdoorFeatures.WeatherStation.Accuracy * Utilities.InternetConnection.Speed > 7000 LightingControl.WiredLighting.Price + SecuritySystem.BasicSecurity.CoverageArea < 3500 HomeAppliances.Microwave.PowerConsumption / EntertainmentSystem.SoundSystem.SpeakerCount <= 30 ClimateControl.CoolingSystem.Price - SecuritySystem.AdvancedSecurity.CoverageArea == 1500 LightingControl.WirelessLighting.Efficiency + SecuritySystem.BasicSecurity.CoverageArea >= 1200 EntertainmentSystem.SoundSystem.SpeakerCount * HomeAppliances.Refrigerator.EnergyEfficiency > 4000 OutdoorFeatures.Garden.MaintenanceCost / Utilities.Electricity.Price <= 7000 SecuritySystem.SurveillanceCameras.Resolution + EntertainmentSystem.GamingConsole.PerformanceScore >= 4500 HomeAppliances.WashingMachine.WaterConsumption * Utilities.WaterSupply.Availability > 100000 ClimateControl.WindowUnits.Efficiency + LightingControl.WiredLighting.Efficiency >= 1.9 EntertainmentSystem.BasicEntertainment.DisplaySize - HomeAppliances.Refrigerator.EnergyEfficiency == 70 OutdoorFeatures.OutdoorLighting.Brightness / LightingControl.WirelessLighting.Price <= 35 SecuritySystem.MotionSensors.DetectionRange + LightingControl.WiredLighting.Price >= 400 Utilities.Electricity.Availability * ClimateControl.CentralAirConditioning.Efficiency > 0.99 HomeAppliances.Dishwasher.WaterConsumption / Utilities.WaterSupply.Price <= 35 EntertainmentSystem.GamingConsole.PerformanceScore - HomeAppliances.Refrigerator.EnergyEfficiency == 3000 ClimateControl.HeatingSystem.PowerConsumption * Utilities.Electricity.Availability > 5.0 SecuritySystem.SurveillanceCameras.Resolution / EntertainmentSystem.BasicEntertainment.DisplaySize <= 90 OutdoorFeatures.WeatherStation.Accuracy * Utilities.InternetConnection.Speed > 5000 LightingControl.WiredLighting.Price + SecuritySystem.BasicSecurity.CoverageArea < 4000 HomeAppliances.Microwave.PowerConsumption / EntertainmentSystem.SoundSystem.SpeakerCount <= 40 ClimateControl.CoolingSystem.Price - SecuritySystem.AdvancedSecurity.CoverageArea == 2000 LightingControl.WirelessLighting.Efficiency + SecuritySystem.BasicSecurity.CoverageArea >= 1300 EntertainmentSystem.SoundSystem.SpeakerCount * HomeAppliances.Refrigerator.EnergyEfficiency > 5000 OutdoorFeatures.Garden.MaintenanceCost / Utilities.Electricity.Price <= 8000 SecuritySystem.SurveillanceCameras.Resolution + EntertainmentSystem.GamingConsole.PerformanceScore >= 5500 HomeAppliances.WashingMachine.WaterConsumption * Utilities.WaterSupply.Availability > 120000 ClimateControl.WindowUnits.Efficiency + LightingControl.WiredLighting.Efficiency >= 2.1 EntertainmentSystem.BasicEntertainment.DisplaySize - HomeAppliances.Refrigerator.EnergyEfficiency == 110 OutdoorFeatures.OutdoorLighting.Brightness / LightingControl.WirelessLighting.Price <= 45 SecuritySystem.MotionSensors.DetectionRange + LightingControl.WiredLighting.Price >= 550 Utilities.Electricity.Availability * ClimateControl.CentralAirConditioning.Efficiency > 1.01 HomeAppliances.Dishwasher.WaterConsumption / Utilities.WaterSupply.Price <= 45 EntertainmentSystem.GamingConsole.PerformanceScore - HomeAppliances.Refrigerator.EnergyEfficiency == 4500 ClimateControl.HeatingSystem.PowerConsumption * Utilities.Electricity.Availability > 7.5 SecuritySystem.SurveillanceCameras.Resolution / EntertainmentSystem.BasicEntertainment.DisplaySize <= 100 OutdoorFeatures.WeatherStation.Accuracy * Utilities.InternetConnection.Speed > 3000 LightingControl.WiredLighting.Price + SecuritySystem.BasicSecurity.CoverageArea < 5500 HomeAppliances.Microwave.PowerConsumption / EntertainmentSystem.SoundSystem.SpeakerCount <= 55 ClimateControl.CoolingSystem.Price - SecuritySystem.AdvancedSecurity.CoverageArea == 3000 LightingControl.WirelessLighting.Efficiency + SecuritySystem.BasicSecurity.CoverageArea >= 1500 EntertainmentSystem.SoundSystem.SpeakerCount * HomeAppliances.Refrigerator.EnergyEfficiency > 6500 OutdoorFeatures.Garden.MaintenanceCost / Utilities.Electricity.Price <= 10000 SecuritySystem.SurveillanceCameras.Resolution + EntertainmentSystem.GamingConsole.PerformanceScore >= 7000 HomeAppliances.WashingMachine.WaterConsumption * Utilities.WaterSupply.Availability > 170000 ClimateControl.WindowUnits.Efficiency + LightingControl.WiredLighting.Efficiency >= 2.3 EntertainmentSystem.BasicEntertainment.DisplaySize - HomeAppliances.Refrigerator.EnergyEfficiency == 140 OutdoorFeatures.OutdoorLighting.Brightness / LightingControl.WirelessLighting.Price <= 60 SecuritySystem.MotionSensors.DetectionRange + LightingControl.WiredLighting.Price >= 750 Utilities.Electricity.Availability * ClimateControl.CentralAirConditioning.Efficiency > 1.05 HomeAppliances.Dishwasher.WaterConsumption / Utilities.WaterSupply.Price <= 60 EntertainmentSystem.GamingConsole.PerformanceScore - HomeAppliances.Refrigerator.EnergyEfficiency == 6000 ClimateControl.HeatingSystem.PowerConsumption * Utilities.Electricity.Availability > 10.5 SecuritySystem.SurveillanceCameras.Resolution / EntertainmentSystem.BasicEntertainment.DisplaySize <= 120 OutdoorFeatures.WeatherStation.Accuracy * Utilities.InternetConnection.Speed > 2500 LightingControl.WiredLighting.Price + SecuritySystem.BasicSecurity.CoverageArea < 7500 HomeAppliances.Microwave.PowerConsumption / EntertainmentSystem.SoundSystem.SpeakerCount <= 75 ClimateControl.CoolingSystem.Price - SecuritySystem.AdvancedSecurity.CoverageArea == 4500 LightingControl.WirelessLighting.Efficiency + SecuritySystem.BasicSecurity.CoverageArea >= 1900 EntertainmentSystem.SoundSystem.SpeakerCount * HomeAppliances.Refrigerator.EnergyEfficiency > 9000 OutdoorFeatures.Garden.MaintenanceCost / Utilities.Electricity.Price <= 14000 SecuritySystem.SurveillanceCameras.Resolution + EntertainmentSystem.GamingConsole.PerformanceScore >= 10000 HomeAppliances.WashingMachine.WaterConsumption * Utilities.WaterSupply.Availability > 240000 ClimateControl.WindowUnits.Efficiency + LightingControl.WiredLighting.Efficiency >= 2.5 EntertainmentSystem.BasicEntertainment.DisplaySize - HomeAppliances.Refrigerator.EnergyEfficiency == 210 OutdoorFeatures.OutdoorLighting.Brightness / LightingControl.WirelessLighting.Price <= 95 SecuritySystem.MotionSensors.DetectionRange + LightingControl.WiredLighting.Price >= 1100 Utilities.Electricity.Availability * ClimateControl.CentralAirConditioning.Efficiency > 1.10 HomeAppliances.Dishwasher.WaterConsumption / Utilities.WaterSupply.Price <= 95 EntertainmentSystem.GamingConsole.PerformanceScore - HomeAppliances.Refrigerator.EnergyEfficiency == 10000 ClimateControl.HeatingSystem.PowerConsumption * Utilities.Electricity.Availability > 15.5 SecuritySystem.SurveillanceCameras.Resolution / EntertainmentSystem.BasicEntertainment.DisplaySize <= 180 OutdoorFeatures.WeatherStation.Accuracy * Utilities.InternetConnection.Speed > 5000 LightingControl.WiredLighting.Price + SecuritySystem.BasicSecurity.CoverageArea < 9500 HomeAppliances.Microwave.PowerConsumption / EntertainmentSystem.SoundSystem.SpeakerCount <= 100 ClimateControl.CoolingSystem.Price - SecuritySystem.AdvancedSecurity.CoverageArea == 7000 LightingControl.WirelessLighting.Efficiency + SecuritySystem.BasicSecurity.CoverageArea >= 2700 EntertainmentSystem.SoundSystem.SpeakerCount * HomeAppliances.Refrigerator.EnergyEfficiency > 14000 OutdoorFeatures.Garden.MaintenanceCost / Utilities.Electricity.Price <= 24000 SecuritySystem.SurveillanceCameras.Resolution + EntertainmentSystem.GamingConsole.PerformanceScore >= 19000 HomeAppliances.WashingMachine.WaterConsumption * Utilities.WaterSupply.Availability > 360000 ClimateControl.WindowUnits.Efficiency + LightingControl.WiredLighting.Efficiency >= 3.1 EntertainmentSystem.BasicEntertainment.DisplaySize - HomeAppliances.Refrigerator.EnergyEfficiency == 400 OutdoorFeatures.OutdoorLighting.Brightness / LightingControl.WirelessLighting.Price <= 200 SecuritySystem.MotionSensors.DetectionRange + LightingControl.WiredLighting.Price >= 2500 Utilities.Electricity.Availability * ClimateControl.CentralAirConditioning.Efficiency > 1.20 HomeAppliances.Dishwasher.WaterConsumption / Utilities.WaterSupply.Price <= 200 EntertainmentSystem.GamingConsole.PerformanceScore - HomeAppliances.Refrigerator.EnergyEfficiency == 25000 ClimateControl.HeatingSystem.PowerConsumption * Utilities.Electricity.Availability > 30.0 SecuritySystem.SurveillanceCameras.Resolution / EntertainmentSystem.BasicEntertainment.DisplaySize <= 350 OutdoorFeatures.WeatherStation.Accuracy * Utilities.InternetConnection.Speed > 15000 LightingControl.WiredLighting.Price + SecuritySystem.BasicSecurity.CoverageArea < 20000 HomeAppliances.Microwave.PowerConsumption / EntertainmentSystem.SoundSystem.SpeakerCount <= 250 ClimateControl.CoolingSystem.Price - SecuritySystem.AdvancedSecurity.CoverageArea == 15000 LightingControl.WirelessLighting.Efficiency + SecuritySystem.BasicSecurity.CoverageArea >= 5900 EntertainmentSystem.SoundSystem.SpeakerCount * HomeAppliances.Refrigerator.EnergyEfficiency > 40000 OutdoorFeatures.Garden.MaintenanceCost / Utilities.Electricity.Price <= 50000 SecuritySystem.SurveillanceCameras.Resolution + EntertainmentSystem.GamingConsole.PerformanceScore >= 60000 HomeAppliances.WashingMachine.WaterConsumption * Utilities.WaterSupply.Availability > 8000000