Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cd8147d

Browse files
committed
Remove redundant constructor.
1 parent 19e7acf commit cd8147d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

agents.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,6 @@ def make_agent_program(self):
143143
class ReflexVacuumAgent(Agent):
144144
"A reflex agent for the two-state vacuum environment. [Fig. 2.8]"
145145

146-
def __init__(self):
147-
super(ReflexVacuumAgent, self).__init__()
148-
149146
def make_agent_program(self):
150147
def program((location, status)):
151148
if status == 'Dirty': return 'Suck'

0 commit comments

Comments
 (0)