
APT.all-test.Book-robot.count-blocks.count-object.soar Maven / Gradle / Ivy
sp {count-blocks*propose*count-object
(state ^name count-blocks
-^counted-block-ids
^initiate-count yes
^io.input-link.object )
( ^type block
^id )
-->
( ^operator + =)
( ^name count-object
^id )
}
sp {apply*count-object
(state ^operator
^block-count )
( ^name count-object
^id )
-->
(write (crlf) |New count: | (+ 1) | new id | )
( ^block-count -
(+ 1)
^counted-block-ids )
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy