Converting type graphs to simple graphs in initialization.
Converting type graphs to simple graphs in initialization.

Converting in initialization to avoid running the convertion for every shortest path calculation.

onecue/OpenSfM,oscarlorentzon/OpenSfM,NicWayand/OpenSfM,oscarlorentzon/OpenSfM,onecue/OpenSfM,mapillary/OpenSfM,BrookRoberts/OpenSfM,oscarlorentzon/OpenSfM,onecue/OpenSfM,edgarriba/OpenSfM,NicWayand/OpenSfM,sunbingfengPI/OpenSFM_Test,BrookRoberts/OpenSfM,BrookRoberts/OpenSfM,sunbingfengPI/OpenSFM_Test,onecue/OpenSfM,mapillary/OpenSfM,oscarlorentzon/OpenSfM,edgarriba/OpenSfM,sunbingfengPI/OpenSFM_Test,NicWayand/OpenSfM,onecue/OpenSfM,BrookRoberts/OpenSfM,edgarriba/OpenSfM,edgarriba/OpenSfM,mapillary/OpenSfM,NicWayand/OpenSfM,NicWayand/OpenSfM,sunbingfengPI/OpenSFM_Test,mapillary/OpenSfM,oscarlorentzon/OpenSfM,mapillary/OpenSfM,BrookRoberts/OpenSfM,sunbingfengPI/OpenSFM_Test,edgarriba/OpenSfM