code: public AStarPathFactory<GP, ST, PT> setPathType(Class<? extends GP> type) {
  		final AStarPathFactory<GP, ST, PT> old = this.pathFactory;
  		this.pathFactory = new AStarReflectionPathFactory<>(type);
  		return old;
  	}
docs: Set the path factory used by the A* algorithm.
  
  @param type is the type of path to instance with a reflection-based factory.
  @return the old factory
  @see #setPathFactory(AStarPathFactory)