I've prepared a document which describes the algorithm that is going to
be used to determine the rating that a VIP will give for a hospital as
otherwise these things can be quite mysterious. The document can be
found at the link below.
http://www.jpirie.com/vip-algorithm.pdf
All comments are very welcome, let me know any thoughts that you might
have on this. I dare say some things will be tweaked and we certainly
can play around with some of the numbers.
Cheers,
John
Thanks. :-)
> I have three queries:
> - The VIP may not wish to visit all rooms in the hospital and I
> believe he does not in the original game. Maybe a 50% chance he will
> visit each room?
That seems reasonable to me, I'll add that in.
> - I gather from the document that any vomit anywhere in the hospital
> will affect the VIPs opinion. Perhaps to be more realistic we should
> only count the vomit that the VIP sees? Any that is within an 8 tile
> radius or similar?
I like this, I'll add that in too. I'll set it to an 8-tile radius for
now, if we want to change it later then it'll be easy to do so.
> - You didn't mention how the VIP decides on his route around the
> hospital. Is it to the nearest room that he has on his list, that he
> hasn't already visited?
Good question.
At the moment there is no planning on the route at all. In the
implementation there is a list held of all the rooms that are in the
hospital, and the VIP will seek each room as it appears in the list.
This means that in theory, the VIP could visit rooms all over the
hospital in the worst possible order.
Something should be done about this, but at the moment it's a low
priority task as it could be a bit time consuming and it's often not
noticable. Once I get the main bits of the algorithm implemented I'll
see about create some smarter room finding.
I've updated the document (jpirie.com/vip-algorithm.pdf) to include
these notes.
Thanks for the comments! :-)
John
> Steve
Thanks. :o)
> Second thing, sorry for my English.
> Then my ideas:
> - I think that plants:room ratio is not realistic. I mean, if I have 20
> rooms, then I put 20 plants in the same corner of the hospital will be
> the same that if I put a plant on each room?
> I think that would be more ralistic that if each room have plants (and
> the plants looks healthy!) good puntuation.
> Maybe is better evaluate each single room (plants + machine status +
> trash + fire extinguishers + windows...). Then you got a puntuation for
> each room and you can calculate de average.
> - There is no evaluation for windows -> windows are not important?
This is a good idea. I'll change it so that we look at each room
individually, looking at the criteria of plants, windows, machine
status, fire extinguishers, windows, and the skill of the doctor in the
room. This will be much better, thanks!
> - WC: apart from queues, one Wc on each building/floor would be a good
> puntuation beacause it's easy to go to bathroom.
I'll add that in too.
> - Vomit -> tiles radius seems a good idea Steve.
Agreed.
Thanks for the comments! I've updated the document
(jpirie.com/vip-algorithm.pdf).
> Thanks
>
> 2011/8/17 Steve <stephen....@gmail.com
> <mailto:stephen....@gmail.com>>
>
> That's pretty awesome, well done!
>
> I have three queries:
> - The VIP may not wish to visit all rooms in the hospital and I
> believe he does not in the original game. Maybe a 50% chance he will
> visit each room?
> - I gather from the document that any vomit anywhere in the hospital
> will affect the VIPs opinion. Perhaps to be more realistic we should
> only count the vomit that the VIP sees? Any that is within an 8 tile
> radius or similar?
> - You didn't mention how the VIP decides on his route around the
> hospital. Is it to the nearest room that he has on his list, that he
> hasn't already visited?
>
> Steve
>
>
> On Aug 17, 1:10 am, John Pirie <jpiri...@gmail.com
/Edvin