def TableDrivenVacuumAgent():
table = {((loc_A, '<STR_LIT>'),): '<STR_LIT>',<EOL>((loc_A, '<STR_LIT>'),): '<STR_LIT>',<EOL>((loc_B, '<STR_LIT>'),): '<STR_LIT>',<EOL>((loc_B, '<STR_LIT>'),): '<STR_LIT>',<EOL>((loc_A, '<STR_LIT>'), (loc_A, '<STR_LIT>')): '<STR_LIT>',<EOL>((loc_A, '<STR_LIT>'), (loc_A, '<STR_LIT>')): '<STR_LIT>',<EOL>((loc_A, '<STR_LIT>'), (loc_A, '<STR_LIT>'), (loc_A, '<STR_LIT>')): '<STR_LIT>',<EOL>((loc_A, '<STR_LIT>'), (loc_A, '<STR_LIT>'), (loc_A, '<STR_LIT>')): '<STR_LIT>',<EOL>}<EOL>return Agent(TableDrivenAgentProgram(table))<EOL>
[Fig. 2.3]