Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "C:\Swift\bin\bin\swiftc.exe" -swift-version 4 "C:\Swift\bin\bin\main.swift" -o "C:\Swift\bin\RuntimeEnv\main.exe"
- C:\Swift\bin\bin\main.swift:17:13: error: use of unresolved identifier 'Map'
- let world = Map.createMap()
- ^~~
- Swift.swap:1:13: note: did you mean 'swap'?
- public func swap<T>(_ a: inout T, _ b: inout T)
- ^
- C:\Swift\bin\bin\main.swift:19:16: error: use of unresolved identifier 'Dijkstra'
- let dijkstra = Dijkstra(world)
- ^~~~~~~~
- C:\Swift\bin\bin\main.swift:21:13: error: use of undeclared type 'City'
- let source: City
- ^~~~
- C:\Swift\bin\bin\main.swift:22:18: error: use of undeclared type 'City'
- let destination: City
- ^~~~
- C:\Swift\bin\bin\main.swift:24:15: error: use of unresolved identifier 'City'
- if let from = City(rawValue: args[1]) {
- ^~~~
- C:\Swift\bin\bin\main.swift:30:13: error: use of unresolved identifier 'City'
- if let to = City(rawValue: args[2]) {
- ^~~~
- C:\Swift\bin\bin\main.swift:37:79: error: use of unresolved identifier 'Dijkstra'
- let fastestPath = dijkstra.getRoute(from: source, to: destination, searchFor: Dijkstra.Parameter.fastest)
- ^~~~~~~~
- C:\Swift\bin\bin\main.swift:19:5: note: did you mean 'dijkstra'?
- let dijkstra = Dijkstra(world)
- ^
- C:\Swift\bin\bin\main.swift:38:86: error: use of unresolved identifier 'Dijkstra'
- let fastestNoPlanePath = dijkstra.getRoute(from: source, to: destination, searchFor: Dijkstra.Parameter.fastest, exclude: Route.Method.Plane)
- ^~~~~~~~
- C:\Swift\bin\bin\main.swift:19:5: note: did you mean 'dijkstra'?
- let dijkstra = Dijkstra(world)
- ^
- C:\Swift\bin\bin\main.swift:38:123: error: use of unresolved identifier 'Route'
- let fastestNoPlanePath = dijkstra.getRoute(from: source, to: destination, searchFor: Dijkstra.Parameter.fastest, exclude: Route.Method.Plane)
- ^~~~~
- C:\Swift\bin\bin\main.swift:39:80: error: use of unresolved identifier 'Dijkstra'
- let cheapestPath = dijkstra.getRoute(from: source, to: destination, searchFor: Dijkstra.Parameter.cheapest)
- ^~~~~~~~
- C:\Swift\bin\bin\main.swift:19:5: note: did you mean 'dijkstra'?
- let dijkstra = Dijkstra(world)
- ^
- C:\Swift\bin\bin\main.swift:40:85: error: use of unresolved identifier 'Dijkstra'
- let cheapestNoBusPath = dijkstra.getRoute(from: source, to: destination, searchFor: Dijkstra.Parameter.cheapest, exclude: Route.Method.Bus)
- ^~~~~~~~
- C:\Swift\bin\bin\main.swift:19:5: note: did you mean 'dijkstra'?
- let dijkstra = Dijkstra(world)
- ^
- C:\Swift\bin\bin\main.swift:40:123: error: use of unresolved identifier 'Route'
- let cheapestNoBusPath = dijkstra.getRoute(from: source, to: destination, searchFor: Dijkstra.Parameter.cheapest, exclude: Route.Method.Bus)
- ^~~~~
- C:\Swift\bin\bin\main.swift:45:1: error: use of unresolved identifier 'Dijkstra'
- Dijkstra.prettyPrint(fastestPath)
- ^~~~~~~~
- C:\Swift\bin\bin\main.swift:19:5: note: did you mean 'dijkstra'?
- let dijkstra = Dijkstra(world)
- ^
- C:\Swift\bin\bin\main.swift:48:1: error: use of unresolved identifier 'Dijkstra'
- Dijkstra.prettyPrint(cheapestPath)
- ^~~~~~~~
- C:\Swift\bin\bin\main.swift:19:5: note: did you mean 'dijkstra'?
- let dijkstra = Dijkstra(world)
- ^
- C:\Swift\bin\bin\main.swift:51:1: error: use of unresolved identifier 'Dijkstra'
- Dijkstra.prettyPrint(cheapestNoBusPath)
- ^~~~~~~~
- C:\Swift\bin\bin\main.swift:19:5: note: did you mean 'dijkstra'?
- let dijkstra = Dijkstra(world)
- ^
- C:\Swift\bin\bin\main.swift:54:1: error: use of unresolved identifier 'Dijkstra'
- Dijkstra.prettyPrint(fastestNoPlanePath)
- ^~~~~~~~
- C:\Swift\bin\bin\main.swift:19:5: note: did you mean 'dijkstra'?
- let dijkstra = Dijkstra(world)
- ^
- Compilation Failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement