def enqueue(self, state):
<EOL>state_id = self._workspace.save_state(state)<EOL>self.put(state_id)<EOL>self._publish('<STR_LIT>', state_id, state)<EOL>return state_id<EOL>
Enqueue state.
Save state on storage, assigns an id to it, then add it to the
priority queue