Main Page   Files   Productions   Problem Spaces   Operators   Goal Hierarchy   Groups   Prod. By Type   Todo   All  


attack.soar

attack.soar [src]

Go to the documentation for this file...

00001 echo "\nLoading simple/attack.soar"
00002 
00003 ################################
00004 ### Propose attack operator
00005 ###   enemy-sensed on radar 
00006 ################################
00007 
00008 ##!
00009 # @brief Proposes attack operator
00010 # 
00011 # Proposes attack when an enemy tank is sensed
00012 # on radar and <i>^health-energy</i> is <b>low</b> 
00013 #
00014 # @problem-space tanksoar
00015 # @operator attack
00016 # @type proposal
00017 #
00018 # @todo Fix me!
00019 # @todo Fix me again!
00020  sp {propose*attack
00021    (state <s> ^name tanksoar
00022               ^io.input-link.radar.tank
00023              -^health-energy low)
00024    -->
00025    (<s> ^operator <o> + =)
00026    (<o> ^name attack)}
00027 
00028 pushd "attack"
00029 source "source.soar"
00030 popd
00031 
00032 

Generated with SoarDoc on Wed Jun 25 18:02:44 2003 by ray