I need one actorGraph for all the movies because this is the Kevin Bacon problem, so I need connections(vertices) between all actors in all movies. I know, this will be a lot of edges.
Yes I do have Boost available to me.
I changed mutable Graph actorGraph to
shared_ptr<Graph> actorGraph;
but that was an error. What's wrong with that declaration?
ok i changed it to boost::shared_ptr<Graph> actorGraph; and that worked but now I still have errors in my actorConnections and printPath functions.