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

APT.all-test.clean-house-new.update-object-data.soar Maven / Gradle / Ivy

sp {clean-house-new*propose*update-object-data
   (state  ^name robot
             # ^top-state.parameters.objects-held-in wm
              ^io.input-link.objects.object.id 
              ^current-location 
              ^objects.object )
   ( ^storage-area yes)
   ( ^in-storage-room no
           ^id 
           ^area {  <>  })
-->
   ( ^operator  + =, >)
   ( ^name update-object-data
         ^object )
}
sp {apply*update-object-data
   (state  ^operator 
              ^current-location )
   ( ^name update-object-data
         ^object )
   ( ^area )
-->
   ( ^in-storage-room no - 
                           yes
          ^area  - 
                )
}

sp {clean-house-new*compare*update-object-data
   (state  ^name robot
              ^operator  +
                         +)
   ( ^name update-object-data)
   ( ^name << get-object >>)
-->
   ( ^operator  > )
}