SHARE
TWEET

Untitled

a guest Dec 7th, 2019 108 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. C:\Users\khoad\CLionProjects\program5\cmake-build-debug\program5.exe
  2. Enter graph file name: flightdist.txt
  3. graph[
  4.   BOS -> LocalInfo[
  5.          out_nodes = set[JFK,MIA,SFO,ORD]
  6.          out_edges = set[->BOS(867),->BOS(2704),->BOS(1258),->BOS(187)]
  7.          in_nodes = set[SFO,ORD,JFK,MIA]
  8.          in_edges = set[MIA(1258)->,JFK(187)->,ORD(867)->,SFO(2704)->]]
  9.   BWI -> LocalInfo[
  10.          out_nodes = set[MIA,ORD,JFK]
  11.          out_edges = set[->BWI(184),->BWI(621),->BWI(946)]
  12.          in_nodes = set[ORD,JFK,MIA]
  13.          in_edges = set[MIA(946)->,JFK(184)->,ORD(621)->]]
  14.   DFW -> LocalInfo[
  15.          out_nodes = set[ORD,JFK,MIA,SFO,LAX]
  16.          out_edges = set[->DFW(1235),->DFW(1464),->DFW(1121),->DFW(1391),->DFW(802)]
  17.          in_nodes = set[SFO,LAX,ORD,JFK,MIA]
  18.          in_edges = set[MIA(1121)->,JFK(1391)->,ORD(802)->,LAX(1235)->,SFO(1464)->]]
  19.   JFK -> LocalInfo[
  20.          out_nodes = set[BWI,MIA,DFW,ORD,BOS,PVD]
  21.          out_edges = set[->JFK(144),->JFK(187),->JFK(740),->JFK(1391),->JFK(1090),->JFK(184)]
  22.          in_nodes = set[DFW,ORD,BOS,PVD,BWI,MIA]
  23.          in_edges = set[MIA(1090)->,BWI(184)->,PVD(144)->,BOS(187)->,ORD(740)->,DFW(1391)->]]
  24.   LAX -> LocalInfo[
  25.          out_nodes = set[DFW,MIA,SFO]
  26.          out_edges = set[->LAX(337),->LAX(2342),->LAX(1235)]
  27.          in_nodes = set[SFO,DFW,MIA]
  28.          in_edges = set[MIA(2342)->,DFW(1235)->,SFO(337)->]]
  29.   MIA -> LocalInfo[
  30.          out_nodes = set[LAX,DFW,BOS,JFK,BWI]
  31.          out_edges = set[->MIA(946),->MIA(1090),->MIA(1258),->MIA(1121),->MIA(2342)]
  32.          in_nodes = set[LAX,DFW,BOS,JFK,BWI]
  33.          in_edges = set[BWI(946)->,JFK(1090)->,BOS(1258)->,DFW(1121)->,LAX(2342)->]]
  34.   ORD -> LocalInfo[
  35.          out_nodes = set[BOS,PVD,JFK,BWI,SFO,DFW]
  36.          out_edges = set[->ORD(802),->ORD(1846),->ORD(621),->ORD(740),->ORD(849),->ORD(867)]
  37.          in_nodes = set[SFO,DFW,BOS,PVD,JFK,BWI]
  38.          in_edges = set[BWI(621)->,JFK(740)->,PVD(849)->,BOS(867)->,DFW(802)->,SFO(1846)->]]
  39.   PVD -> LocalInfo[
  40.          out_nodes = set[JFK,ORD]
  41.          out_edges = set[->PVD(849),->PVD(144)]
  42.          in_nodes = set[ORD,JFK]
  43.          in_edges = set[JFK(144)->,ORD(849)->]]
  44.   SFO -> LocalInfo[
  45.          out_nodes = set[LAX,DFW,ORD,BOS]
  46.          out_edges = set[->SFO(2704),->SFO(1846),->SFO(1464),->SFO(337)]
  47.          in_nodes = set[LAX,DFW,ORD,BOS]
  48.          in_edges = set[BOS(2704)->,ORD(1846)->,DFW(1464)->,LAX(337)->]]
  49. ]Enter valid starting Node:  (must be in graph): BWI
  50. Enter valid end Node: (must be in graph or QUIT): ORD
  51. queue[BWI,ORD]:rearEnter valid end Node: (must be in graph or QUIT):
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top