Co-Simulation/Sumo/sumo-1.7.0/src/jtrrouter/jtrrouter_main.cpp
/**
 * loads the net
 * The net is in this meaning made up by the net itself and the dynamic
 * weights which may be supplied in a separate file
 */
loads the net
The net is in this meaning made up by the net itself and the dynamic
weights which may be supplied in a separate file
loads the net The net is in this meaning made up by the net itself and the dynamic weights which may be supplied in a separate file
void
initNet(RONet& net, ROLoader& loader,
        const std::vector<double>& turnDefs) {
    ROJTREdgeBuilder builder;
    loader.loadNet(net, builder);
    for (const auto& i : net.getEdgeMap()) {
        static_cast<ROJTREdge*>(i.second)->setTurnDefaults(turnDefs);
    }
}
void initNet ( RONet & net , ROLoader & loader , const std :: vector < double > & turnDefs ) { ROJTREdgeBuilder builder ; loader . loadNet ( net , builder ) ; for ( const auto & i : net . getEdgeMap ( ) ) { static_cast < ROJTREdge * > ( i . second ) -> setTurnDefaults ( turnDefs ) ; } }
loads the net
 The net is in this meaning made up by the net itself and the dynamic
 weights which may be supplied in a separate file
loads the net The net is in this meaning made up by the net itself and the dynamic weights which may be supplied in a separate file
// load the net // set the turn defaults