Weather Rules - Gnorion/BizVR GitHub Wiki

Determine Humidity: R1: if its_hot = 'yes' and its_wet = 'yes' then its_humid is 'yes'
Determine Humidity: R2: if its_hot = 'no' then its_humid is 'no'
Determine Humidity: R3: if its_wet = 'no' then its_humid is 'no'
Determine Season: R1: if month = 'June' or = 'July' or = 'August' then season is 'summer'
Determine Season: R2: if month = 'December' or = 'January' or = 'February' then season is 'winter'
Determine if it is raining: R1: if drops_of_water_falling = 'yes' and its_cold = 'no' then it_is_raining is 'yes'
Determine if it is raining: R2: if drops_of_water_falling = 'yes' and its_freezing = 'yes' then its_snowing is 'yes'
Determine if it is raining: R3: if drops_of_water_falling = 'no' then it_is_raining is 'no'
Determine if it is raining: R4: if drops_of_water_falling = 'yes' and its_freezing = 'no' then its_snowing is 'no'
Determine if it might rain: R1: if weatherman_says_sunny = 'yes' then it_may_rain is 'yes'
Determine if it might rain: R2: if dark_clouds_in_the_sky = 'yes' then it_may_rain is 'yes'
Determine if it might rain: R3: if red_sky_this_morning = 'yes' then it_may_rain is 'yes'
Determine if it might rain: R4: if weatherman_says_sunny = 'no' and dark_clouds_in_the_sky = 'no' and red_sky_this_morning = 'no' then it_may_rain is 'no'
Determine if its hot or cold based on location: R1: if location = 'Dallas' and season = 'summer then its_hot is 'yes'
Determine if its hot or cold based on location: R2: if location = 'Dallas' and season = 'winter' then its_cold is 'yes'
Determine if its hot or cold based on location: R3: if location = 'Alaska' then its_cold is 'yes'
Determine if its hot or cold based on location: R4: if location = 'Alaska' and season = 'winter' then its_cold is 'yes' and its_freezing is 'yes'
Determine if its hot or cold based on temperature: R1: if temperature > 100 then its_hot is 'yes'
Determine if its hot or cold based on temperature: R2: if temperature < 50 then its_cold is 'yes'
Determine if its hot or cold based on temperature: R3: if temperature < 32 then its_freezing is 'yes'
Determine if its hot or cold based on temperature: R4: if temperature in [50..100] then its_hot is 'no' and its_cold is 'no' and its_freezing is 'no'
Should I go out: R1: if it_may_rain = 'yes' then go_out is 'no and take_an_umbrella is 'yes'
Should I go out: R2: if it_is_raining = 'yes' then go_out is 'no' and take_an_umbrella is 'yes'
Should I go out: R3: if it_is_snowing = 'yes' then go_out is 'no and take_a_warm_coat is 'yes' and take_gloves is 'yes'
Should I go out: R4: if its_hot = 'yes' then go_out is 'no' and take_sunscreen is 'yes'
Should I go out: R5: if its_cold = 'yes' and its_humid = 'yes' then go_out is 'no' and take_a_warm_coat is 'yes' and take_gloves is 'yes'
Should I go out: R6: if its_humid = 'yes then go_out is 'np'
Should I go out: R7: if it_may_rain = 'no' and it_is_raining = 'no' and it_is_snowing = 'no' and its_hot = 'no' and its_cold = 'no' and its_humid = 'no' then go_out is 'yes'