(New question added) 102.2: How the people choose their interchange station? July 06, 2010, 10:06:25 am Let say, there is a bus route: A<->B<->C<->Dpeople from B and C can interchange the same series of routes to get to their final destinations on both A and Dso, what factors the people will consider when they choose their interchange station? Quote Selected Last Edit: July 09, 2010, 05:59:49 am by im359
Re: 102.2: How the people choose their interchange station? Reply #1 – July 06, 2010, 10:27:53 am Welcome to the forum!Quotepeople from B and C can interchange the same series of routes to get to their final destinations on both A and DI'm not sure I understand what you mean.Quoteso, what factors the people will consider when they choose their interchange station?In standard Simutrans the only thing they do is minimize the number of interchanges needed. So, if they can choose a route of 1000 tiles without interchanges they will prefer that over a combined route of 300 tiles with one interchange. If the number of interchanges is equal, people will take one of them, not necessarily the shortest one. In the experimental Simutrans branch they consider other things as well, but I don't know the details of that. Quote Selected
Re: 102.2: How the people choose their interchange station? Reply #2 – July 06, 2010, 10:47:45 am Quote from: Combuijs – on July 06, 2010, 10:27:53 amWelcome to the forum!I'm not sure I understand what you mean.In standard Simutrans the only thing they do is minimize the number of interchanges needed. So, if they can choose a route of 1000 tiles without interchanges they will prefer that over a combined route of 300 tiles with one interchange. If the number of interchanges is equal, people will take one of them, not necessarily the shortest one. In the experimental Simutrans branch they consider other things as well, but I don't know the details of that.Yes, the thing I would like to know is, out of number of interchange, how they make their decisionIn my example, no matter the people choose A or D as their interchange station, the number of interchange is also 1If I offer two choices with the same number of interchange, what factors they will consider to determine their choice? Quote Selected
Re: 102.2: How the people choose their interchange station? Reply #3 – July 06, 2010, 11:07:05 am QuoteIf I offer two choices with the same number of interchange, what factors they will consider to determine their choice?None, it is random, though consistently the same. If you remove the "winning" route and then add it again, things might be different. 50% chance though...Edit: It is of course not really random, but there are hardly factors involved you can influence. Such as removing complete stations or removing complete route possibilities. Quote Selected
Re: 102.2: How the people choose their interchange station? Reply #4 – July 06, 2010, 03:01:54 pm Any stations has a list of next stations sorted by number of stops needed. So far, it will go via the first stop which allows transfer to a stop which allows transfers to destination. Thus it will somehow try to minimize intermediate stops. Quote Selected
Re: 102.2: How the people choose their interchange station? Reply #5 – July 06, 2010, 03:45:28 pm and it's very bad.In a map where is a sea on the center, p****engers prefer make a 3/4 turn around the sea instead of changing at one station. Maybe the way of choosing path in Simutrans experimental could be included in the main game (as far as I know it's the purpose of Simutrans experimental). Quote Selected
Re: 102.2: How the people choose their interchange station? Reply #6 – July 06, 2010, 09:01:16 pm Most of the time is wasted in simutrans for route search. SE uses much much more amount on calculation time for that. I have lots of games that just barely run in normal simutrans. Those are large games, as expected for network games. Since in network games the slowest computer sets the limit, performance is an issue. Quote Selected
Re: 102.2: How the people choose their interchange station? Reply #7 – July 06, 2010, 09:43:32 pm I don't know much things in C++ and calculation time (I'm just a C newbie ... ) but I have an idea to make the calculation time shorter (maybe it's a crap ... I don't know)Why not, for each line, pre-calculate an average time to go from a station to another ? (based on the average waiting time to take a train/bus/etc ... and the time to go based on speed, power, path of the way OR already done runs) so the p****engers'choice will be done according to these pre-calculations which will be modified each time you modify the line, by adding/removing trains, changing them, changing the path, etc ...Plus : it's a real-like way of calculating : when I'm in Paris, I take the metro and RER lines (RER = regional network) which will take me the fastest to my destination.Is that feasible ? Quote Selected
Re: 102.2: How the people choose their interchange station? Reply #8 – July 07, 2010, 08:06:50 pm Use experimental if you want this. It does exactly that. Quote Selected
Re: 102.2: How the people choose their interchange station? Reply #9 – July 07, 2010, 08:33:23 pm oh ... ok, and it's so calculation unfriendly ? strange ... Quote Selected
Re: (New question added) 102.2: How the people choose their interchange station? Reply #10 – July 09, 2010, 06:06:23 am firstly thanks all of your help, now another question comes lolnow the simutrans calculate the income by the displacement of peopleif the displacement is negative (travel away from the destination), the income will be negative for those peopleIF ONLY consider displacement as the only factor to determine income is the income fixed no matter how much "negative income" were received???for example, if the travel involved two trips, the 2nd trip with +ve income will overcome the 1st trip with -ve incomeand the overall income based on displacement will be unchanged? Quote Selected
Re: (New question added) 102.2: How the people choose their interchange station? Reply #11 – July 09, 2010, 09:20:14 am The displacement cannot be negative. The income is simply the distance travelled, no matter in what direction. So, let's use another ABC diagram A <------> B C<----^If someone needs to go from A to C here, they will need to travel to B first. However, when they reach B, they will need to travel backwards in order to reach their destination. This, however, doesn't mean they don't need to pay for going there. Instead, they are charged double for the part between B and C.Hope you followed me Quote Selected
Re: (New question added) 102.2: How the people choose their interchange station? Reply #12 – July 09, 2010, 09:54:17 am So how come my 102.2 save will have negative incomeThe vehicle reach a station and a negative value comes upjust like the trip of C to B will become negatively chargedI remember that simutrans has already change its calculation method, from distance to displacement, hasn't it? Quote Selected
Re: (New question added) 102.2: How the people choose their interchange station? Reply #13 – July 09, 2010, 11:26:08 am There are several revenue systems in Simutrans. See this topic: http://forum.simutrans.com/index.php?topic=5489.0 Quote Selected
Re: (New question added) 102.2: How the people choose their interchange station? Reply #14 – July 09, 2010, 11:35:13 am Quote from: Combuijs – on July 09, 2010, 11:26:08 amThere are several revenue systems in Simutrans. See this topic: http://forum.simutrans.com/index.php?topic=5489.0oh, it seems that there is no way to change the behavior of the save Quote Selected