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

APT.all-test.HauntBot.behavior.eat.elaborations.soar Maven / Gradle / Ivy


# augment the priority of each behavior (higher #'s win)
#    0 = none
#    1 = low
#    2 = medium
#    3 = high
#
sp {eat*elaborate*priority
   (state  ^name haunt
              ^operator  +
              ^status.hunger 
              ^parameters.behavior-priority. )
   ( ^name << eat find-food drink find-drink >>)
-->
   ( ^priority )
}

sp {eat*elaborate*range
   (state  ^name haunt
              ^operator  +
              ^io.input-link.agent.position )
   ( ^target.position )
   ( ^x 
           ^y )
   ( ^x 
           ^y )
-->
   ( ^range (compute-range    ))
}