All Downloads are FREE. Search and download functionalities are using the official Maven repository.

APT.all-test.HauntBot.behavior.flee.selection.soar Maven / Gradle / Ivy

echo "\nLoading flee/selection"
                

#
# select move-to-area operator that with the largest away-vector
# (simulating the agent's desire to run in a direction as directly away
# from the threat as possible)
#
sp {flee*select*greatest-away-angle
   (state  ^name flee
              ^operator  +
                         +)
   ( ^away-angle )
   ( ^away-angle < )
-->
   ( ^operator  > )
}