docs: public GraphHopper setEncodingManager(EncodingManager em) {
          ensureNotLoaded();
          this.encodingManager = em;
          if (em.needsTurnCostsSupport())
              traversalMode = TraversalMode.EDGE_BASED_2DIR;
  
          return this;
      }