code: public void addAStarListener(AStarListener<ST, PT> listener) {
  		if (this.listeners == null) {
  			this.listeners = new ArrayList<>();
  		}
  		this.listeners.add(listener);
  	}
docs: Add listener on A* algorithm events.
  
  @param listener the listener.