コード例 #1
0
        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));
        }
コード例 #2
0
 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);
 }