Cross Compiler
Behaviour description with dominancy
# Universes universe "stay_at_home" "low" 0 0 "high" 1 1 end universe "play_football" "low" 0 0 "high" 1 1 end universe "play_in_the_sand" "low" 0 0 "high" 1 1 end universe "raining" "false" 0 0 "true" 1 1 end universe "playmates_exist" "false" 0 0 "true" 1 1 end # Rulebases rulebase "stay_at_home" rule "high" when "raining" is "true" end dominates rule # Default rule "low" end end end rulebase "play_football" rule "low" when "stay_at_home" is "high" end dominates rule "high" when "playmates_exist" is "true" end dominates rule # Default rule "low" end end end end rulebase "play_in_the_sand" rule "low" when "stay_at_home" is "high" end rule "low" when "play_football" is "high" end dominates rule # Default rule "high" end end end
Flat behaviour description