| ?- run(2, [(hamiltonAndCollegeave, cACStudentCenter), (route18AndGeorge, scott), (hamiltonAndGeorge, busch), (cACStudentCenter, trainstation)], [(somersetAndGeorge, somersetAndEaston), (cACStudentCenter, scott)]). cab 2 is directed to pick up person 1 who wants to go from hamiltonAndCollegeave to cACStudentCenter cab 1 is directed to pick up person 2 who wants to go from route18AndGeorge to scott cab 1 is moving from dispatchoffice, north, Down path e1, to somersetAndEaston, a distance of 1 miles, to get passenger 2 at route18AndGeorge who wants to go to scott cab 2 is moving from dispatchoffice, north, Down path e1, to somersetAndEaston, a distance of 1 miles, to get passenger 1 at hamiltonAndCollegeave who wants to go to cACStudentCenter cab 2 is moving from somersetAndEaston, north, Down path e2, to eastonAndHamilton, a distance of 1 miles, to get passenger 1 at hamiltonAndCollegeave who wants to go to cACStudentCenter cab 1 is moving from somersetAndEaston, north, Down path e2, to eastonAndHamilton, a distance of 1 miles, to get passenger 2 at route18AndGeorge who wants to go to scott cab 1 is moving from eastonAndHamilton, east, Down path e3, to hamiltonAndCollegeave, a distance of 1 miles, to get passenger 2 at route18AndGeorge who wants to go to scott cab 2 is moving from eastonAndHamilton, east, Down path e3, to hamiltonAndCollegeave, a distance of 1 miles, to get passenger 1 at hamiltonAndCollegeave who wants to go to cACStudentCenter cab 2 is Picking up person 1 cab 2 is moving from hamiltonAndCollegeave, north, Down path h5, to cACStudentCenter, a distance of 3 miles, with passenger 1 to take that person tocACStudentCenter cab 1 is moving from hamiltonAndCollegeave, east, Down path h1, to hamiltonAndGeorge, a distance of 1 miles, to get passenger 2 at route18AndGeorge who wants to go to scott cab 2 is dropping off person 1 cab 1 is moving from hamiltonAndGeorge, north, Down path r2, to route18AndGeorge, a distance of 4 miles, to get passenger 2 at route18AndGeorge who wants to go to scott cab 2 has nothing better to do, so it is moving from cACStudentCenter to route18AndGeorge to find new customers cab 2 is directed to pick up person 3 who wants to go from hamiltonAndGeorge to busch cab 1 is Picking up person 2 cab 2 is moving from route18AndGeorge, south, Down path r2, to hamiltonAndGeorge, a distance of 4 miles, to get passenger 3 at hamiltonAndGeorge who wants to go to busch cab 1 is moving from route18AndGeorge, south, Down path r1, to cACStudentCenter, a distance of 2 miles, with passenger 2 to take that person toscott cab 2 is Picking up person 3 cab 1 is moving from cACStudentCenter, south, Down path h5, to hamiltonAndCollegeave, a distance of 3 miles, with passenger 2 to take that person toscott cab 2 is moving from hamiltonAndGeorge, north, Down path r2, to route18AndGeorge, a distance of 4 miles, with passenger 3 to take that person tobusch cab 2 is moving from route18AndRiver, west, Down path rr2, to busch, a distance of 5 miles, with passenger 3 to take that person tobusch cab 1 is directed to pick up person 4 who wants to go from cACStudentCenter to trainstation cab 2 is dropping off person 3 cab 1 is moving from hamiltonAndCollegeave, north, Down path h5, to cACStudentCenter, a distance of 3 miles, to get passenger 4 at cACStudentCenter who wants to go to trainstation cab 2 has nothing better to do, so it is moving from busch to route18AndRiver to find new customers cab 2 is directed to pick up person 6 who wants to go from cACStudentCenter to scott cab 1 is Picking up person 4 cab 2 is moving from route18AndRiver, south, Down path r3, to route18AndGeorge, a distance of 6 miles, to get passenger 6 at cACStudentCenter who wants to go to scott cab 1 is moving from cACStudentCenter, south, Down path h5, to hamiltonAndCollegeave, a distance of 3 miles, with passenger 4 to take that person totrainstation cab 1 is moving from hamiltonAndCollegeave, south, Down path h4, to hamiltonAndSomerset, a distance of 1 miles, with passenger 4 to take that person totrainstation cab 2 is moving from route18AndGeorge, south, Down path r1, to cACStudentCenter, a distance of 2 miles, to get passenger 6 at cACStudentCenter who wants to go to scott cab 2 is Picking up person 6 cab 2 is moving from cACStudentCenter, south, Down path h5, to hamiltonAndCollegeave, a distance of 3 miles, with passenger 6 to take that person toscott cab 1 is moving from hamiltonAndSomerset, east, Down path g1, to somersetAndGeorge, a distance of 1 miles, with passenger 4 to take that person totrainstation new customer (customer 5) spotted by cab 1 cab 1 is moving from somersetAndGeorge, west, Down path g2, to trainstation, a distance of 1 miles, with passenger 4 to take that person totrainstation cab 2 is moving from hamiltonAndCollegeave, north, Down path h4, to scott, a distance of 1 miles, with passenger 6 to take that person toscott cab 2 is dropping off person 6 cab 1 is dropping off person 4 cab 1 is directed to pick up person 5 who wants to go from somersetAndGeorge to somersetAndEaston cab 1 is moving from trainstation, east, Down path g2, to somersetAndGeorge, a distance of 1 miles, to get passenger 5 at somersetAndGeorge who wants to go to somersetAndEaston cab 1 is Picking up person 5 cab 1 is moving from somersetAndGeorge, south, Down path g3, to georgeAndAlbany, a distance of 2 miles, with passenger 5 to take that person tosomersetAndEaston cab 1 is moving from georgeAndAlbany, west, Down path a1, to rutgersBookstore, a distance of 1 miles, with passenger 5 to take that person tosomersetAndEaston cab 1 is moving from rutgersBookstore, north, Down path a2, to somersetAndEaston, a distance of 1 miles, with passenger 5 to take that person tosomersetAndEaston cab 1 is dropping off person 5 yes | ?- run(addpeople, [(somersetAndGeorge, somersetAndEaston), (cACStudentCenter, scott)]). cab 1 is directed to pick up person 7 who wants to go from somersetAndGeorge to somersetAndEaston cab 2 is directed to pick up person 8 who wants to go from cACStudentCenter to scott cab 2 is moving from scott, south, Down path h4, to hamiltonAndCollegeave, a distance of 1 miles, to get passenger 8 at cACStudentCenter who wants to go to scott cab 1 is moving from somersetAndEaston, south, Down path a2, to rutgersBookstore, a distance of 1 miles, to get passenger 7 at somersetAndGeorge who wants to go to somersetAndEaston | ?- rc. {EXISTENCE ERROR: rc: procedure user:rc/0 does not exist} | ?- run(cont). cab 1 is moving from rutgersBookstore, east, Down path a1, to georgeAndAlbany, a distance of 1 miles, to get passenger 7 at somersetAndGeorge who wants to go to somersetAndEaston cab 2 is moving from hamiltonAndCollegeave, north, Down path h5, to cACStudentCenter, a distance of 3 miles, to get passenger 8 at cACStudentCenter who wants to go to scott cab 2 is Picking up person 8 cab 2 is moving from cACStudentCenter, south, Down path h5, to hamiltonAndCollegeave, a distance of 3 miles, with passenger 8 to take that person toscott cab 1 is moving from georgeAndAlbany, north, Down path g3, to somersetAndGeorge, a distance of 2 miles, to get passenger 7 at somersetAndGeorge who wants to go to somersetAndEaston cab 1 is Picking up person 7 cab 1 is moving from somersetAndGeorge, south, Down path g3, to georgeAndAlbany, a distance of 2 miles, with passenger 7 to take that person tosomersetAndEaston cab 2 is moving from hamiltonAndCollegeave, north, Down path h4, to scott, a distance of 1 miles, with passenger 8 to take that person toscott cab 2 is dropping off person 8 cab 1 is moving from georgeAndAlbany, west, Down path a1, to rutgersBookstore, a distance of 1 miles, with passenger 7 to take that person tosomersetAndEaston cab 1 is moving from rutgersBookstore, north, Down path a2, to somersetAndEaston, a distance of 1 miles, with passenger 7 to take that person tosomersetAndEaston cab 1 is dropping off person 7 yes | ?-