
APT.all-test.HauntBot.behavior.unlock.selection.soar Maven / Gradle / Ivy
#prefer the unlock operator that requires the least movement
sp {unlock*prefer*shorter-path
(state ^operator +
^operator { <> } +)
( ^type { << use-tool >> }
^path-distance )
( ^type
^path-distance > )
-->
( ^operator > )
}
# reject any attempt to use a key that has already
# failed on a given object
sp {unlock*reject*bad-key
(state ^operator +)
( ^type use-tool
^tool
^target.bad-key )
-->
( ^operator -)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy