We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef8918 commit ce3196bCopy full SHA for ce3196b
src/aima/basic/vaccum/ModelBasedTVEVaccumAgentProgram.java
@@ -1,5 +1,6 @@
1
package aima.basic.vaccum;
2
3
+import aima.basic.Agent;
4
import aima.basic.AgentProgram;
5
import aima.basic.Percept;
6
@@ -21,7 +22,7 @@ public String execute(Percept percept) {
21
22
myModel.setLocationStatus(location, locationStatus);
23
24
if (myModel.bothLocationsClean()) {
- return "NoOp";
25
+ return Agent.NO_OP;
26
} else if (locationStatus.equals("Dirty")) {
27
return "Suck";
28
} else if (location.equals("A")) {
0 commit comments