示例#1
0
 def fn(state, goal, operators):
   h, ha = ff(state, goal, operators)
   yield h, ha
   yield h, set(ha_applicable(state, goal, operators)) - set(ha)
示例#2
0
 def fn(state, goal, operators):
   h, ha = ff(state, goal, operators)
   yield h, ha
   yield h, set(ha_applicable(state, goal, operators)) - set(ha)
示例#3
0
 def fn(state, goal, operators):
   h, ha = ff(state, goal, operators)
   return h, ha + list(set(ha_applicable(state, goal, operators)) - set(ha))
示例#4
0
 def fn(state, goal, operators):
   h, ha = ff(state, goal, operators)
   return h, ha + list(set(ha_applicable(state, goal, operators)) - set(ha))