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

APT.all-test.clean-house-new.re-record-object.soar Maven / Gradle / Ivy

sp {clean-house*propose*re-record-object
   (state  ^name robot
              ^current-location 
              ^objects.object 
           #   ^parameters.objects-held-in smem
              ^io.input-link.objects.object )
   ( ^id 
            ^area <> )
   ( ^id 
          ^visible true)
-->
   ( ^operator  + =, >)
   ( ^name re-record-object
         ^object )
}

sp {clean-house*propose*re-record-object*storage
   (state  ^name robot
              ^current-location 
              ^objects.object )
           #   ^parameters.objects-held-in smem)
   ( ^area 
            ^in-storage-room no)
   ( ^storage-area yes)
-->
   ( ^operator  + =, >)
   ( ^name re-record-object
         ^object )
}

sp {apply*re-recorded-block*storage
   (state  ^operator 
              ^current-location.storage-area yes)
   ( ^name re-record-object
         ^object )
   ( ^in-storage-room no)
-->
   ( ^in-storage-room no - yes)
}

sp {apply*re-recorded-block*area
   (state  ^operator 
              ^current-location )
   ( ^name re-record-object
         ^object )
   ( ^area {  <>  })
-->
   ( ^area  - )
}

sp {apply*re-record-object*store-new
   (state  ^operator 
              ^smem.command )
   ( ^name re-record-object
         ^object )
-->
   (write (crlf) |Re-record block |  )
   ( ^store )
}

sp {clean-house*compare*re-record-object
   (state  ^name robot
              ^operator  +
                         +)
   ( ^name re-record-object)
   ( ^name get-object)
-->
   ( ^operator  > )
}