/// <summary> /// Generates instructions. /// </summary> /// <param name="point"></param> /// <param name="interpreter"></param> /// <param name="languageGenerator"></param> /// <returns></returns> public static List <Instruction> Generate(AggregatedPoint point, IRoutingInterpreter interpreter, ILanguageGenerator languageGenerator) { if (point == null) { throw new ArgumentNullException("route"); } if (interpreter == null) { throw new ArgumentNullException("interpreter"); } if (languageGenerator == null) { throw new ArgumentNullException("languageGenerator"); } MicroPlanning.MicroPlanner planner = new MicroPlanning.MicroPlanner(languageGenerator, interpreter); return(planner.Plan(point)); }
/// <summary> /// Generates instructions. /// </summary> /// <param name="point"></param> /// <param name="interpreter"></param> /// <param name="languageGenerator"></param> /// <returns></returns> public static List<Instruction> Generate(AggregatedPoint point, IRoutingInterpreter interpreter, ILanguageGenerator languageGenerator) { if (point == null) { throw new ArgumentNullException("route"); } if (interpreter == null) { throw new ArgumentNullException("interpreter"); } if (languageGenerator == null) { throw new ArgumentNullException("languageGenerator"); } MicroPlanning.MicroPlanner planner = new MicroPlanning.MicroPlanner(languageGenerator, interpreter); return planner.Plan(point); }
/// <summary> /// Generates instructions. /// </summary> /// <param name="point"></param> /// <param name="interpreter"></param> /// <param name="language_generator"></param> /// <returns></returns> public static List<Instruction> Generate(AggregatedPoint point, IRoutingInterpreter interpreter, ILanguageGenerator language_generator) { MicroPlanning.MicroPlanner planner = new MicroPlanning.MicroPlanner(language_generator, interpreter); return planner.Plan(point); }
/// <summary> /// Generates instructions. /// </summary> /// <param name="planner"></param> /// <param name="route"></param> /// <param name="point"></param> /// <returns></returns> public static List<Instruction> Generate(MicroPlanner planner, Route route, AggregatedPoint point) { if (point == null) { throw new ArgumentNullException("route"); } if (planner == null) { throw new ArgumentNullException("planner"); } return planner.Plan(route, point); }
/// <summary> /// Generates instructions. /// </summary> /// <param name="point"></param> /// <param name="interpreter"></param> /// <param name="language_generator"></param> /// <returns></returns> public static List <Instruction> Generate(AggregatedPoint point, IRoutingInterpreter interpreter, ILanguageGenerator language_generator) { MicroPlanning.MicroPlanner planner = new MicroPlanning.MicroPlanner(language_generator, interpreter); return(planner.Plan(point)); }