public static Result <Route> TryBuild(RouterDb db, Profile profile, Func <ushort, Factor> getFactor, RouterPoint source, RouterPoint target, Path path) { List <uint> uintList = new List <uint>(); path.AddToList(uintList); return(FastRouteBuilder.TryBuild(db, profile, getFactor, source, target, uintList)); }
public static Route Build(RouterDb db, Profile profile, Func <ushort, Factor> getFactor, RouterPoint source, RouterPoint target, List <uint> path) { return(FastRouteBuilder.TryBuild(db, profile, getFactor, source, target, path).Value); }