I am trying to use the Network Analyst to find the "best" route from A to B using the bus line. I have just a sample of the whole line, but my main concern at the moment is to find the best (in terms of time AND length) route such that I don't need to switch bus line.
For example (see figure below): to go from A to B I can use bus lines 1, 2, and 3, taking 10 minutes and 5 km. But I would likely waste time in changing from bus line 1 to 2 and again 3 (my 10 minutes would double!). Let's say bus line 4 is also close to my point A. I'd prefer to take bus line 4, which takes 15 minutes and 7 km, but I don't have to change any bus. This would be my "best route".
The "switching bus line" would become a variable contributing to change the "cost" of the route (as time and length). Is there a way I can retrieve my best route in such a way? Of course other variables will be as important for determining the best route, but at present this is the problem I would like to solve (hopefully).