Chapter 9 Graph Algorithm (9.1 ~ 9.3) Topological Sort/Shortest-Path
9.1DefinitionBasicComponent:AgraphG=(V,E)consistsofasetofvertices(顶点),V,andasetofedges,E.Eachedgeisapair(v,w),wherev,w∈V。Edgesaresometimesreferredtoasarcs.Ifthepairisordered,thenthegraphisdirected.Dir