HT tutorial trace 6: Learning in Soar
soar> excise -task
###############soar> source ht2.s7
learn -off;
watch set to 0; init-soar done
*********#*
#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*learn -off;
#*******#*#*
soar> learn -on
soar> watch -chunks on
soar> d
0: ==>S: S1
1: ==>S: S2 (operator tie)
2: O: O4 (evaluate-object O2 (eat))
3: O: O3 (evaluate-object O1 (drink))
4: O: O5 (pass-up)
Building chunk-1
(sp chunk-1
:chunk
(state ^desired ^operator +)
( ^hungry no)
( ^name eat)
-->
( ^operator >))
Building chunk-2
Ignoring chunk-2 because it is a duplicate of chunk-1
5: O: O2 (eat)
chomp chomp...
goal for S1 achieved
ht-state achieved
Goal ht-state succeeded.
Retracting chunk-1
System halted.
Return to main page of:
Introduction to Psychological
Soar Tutorial
(or use the Back button to return to where you just were).