-
Notifications
You must be signed in to change notification settings - Fork 0
tamathar/CS474-Traffic-Graph-Project
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
== Installation == Requires GraphViz to be installed in the system path. == Example Usage == Intersection a, b, c, d, e, f, g,h; Road ambler("Ambler"), judgely("Judge Ely"), sixteenth("16th St"), campusct("Campus Ct"), judgely2("Judge Ely"), judgely3("Judge Ely"), en10("EN 10th"), en10_2("EN 10th"); ambler.SetOneWay(true); judgely.SetBlocked(true); a.AddRoad(&ambler, &b); b.AddRoad(&judgely, &c); c.AddRoad(&sixteenth, &d); d.AddRoad(&campusct, &a); e.AddRoad(&judgely2, &b); f.AddRoad(&judgely3, &c); g.AddRoad(&en10, &f); h.AddRoad(&en10_2, &f); Graph newGraph(a, 1.8); Creates a graph of the intersections around Abilene Christian University