psionic
10-11-2007, 09:25 PM
G'Day,
Just thought I might ask this group if they might remember what might the problem domain is. :dunno
Many years ago when I was learning C programming at TAFE or specially about arrays. An :motz2: engineering teacher gave us a programming homework to work on and hand in within two weeks to re-enforce programming concepts.
The program was along several lines like "Party Simulation" or "Cockatail Party Simulation".
The problem was given something like....
You are required to simulate a party where some members do not like one another. There is a say 30x 30 room where a 6x4 table in the middle of the room of finger foods and drinks left for anyone who want to eat/drink. There is about 6-10 people named A, B, C, D, E, F and P, Q, R, S, T, U (I'll stick to 6 for now) people who will meet other members who showed up.
I was then given a drawn configuration which all starts out.
Unfortunately I threw out my notes when cleaning out my house thinking I didn't needed it but oops so I cannot remember much.
There are constraints which you are not to have a certain person in the personal space of another person (you know a extravert in the way of an introvert, etc) so some people are more interested in one person while the other is trying to repel and so on.....
This was created to simulate a good party and to apply the maths formula of calculating the distance between two points and translating that back into an array.
I was interested to see if I could simiate this as an VBA programming excerise.
I tried finding under different on the web but not much like.
Thanks,
Psionic.
Just thought I might ask this group if they might remember what might the problem domain is. :dunno
Many years ago when I was learning C programming at TAFE or specially about arrays. An :motz2: engineering teacher gave us a programming homework to work on and hand in within two weeks to re-enforce programming concepts.
The program was along several lines like "Party Simulation" or "Cockatail Party Simulation".
The problem was given something like....
You are required to simulate a party where some members do not like one another. There is a say 30x 30 room where a 6x4 table in the middle of the room of finger foods and drinks left for anyone who want to eat/drink. There is about 6-10 people named A, B, C, D, E, F and P, Q, R, S, T, U (I'll stick to 6 for now) people who will meet other members who showed up.
I was then given a drawn configuration which all starts out.
Unfortunately I threw out my notes when cleaning out my house thinking I didn't needed it but oops so I cannot remember much.
There are constraints which you are not to have a certain person in the personal space of another person (you know a extravert in the way of an introvert, etc) so some people are more interested in one person while the other is trying to repel and so on.....
This was created to simulate a good party and to apply the maths formula of calculating the distance between two points and translating that back into an array.
I was interested to see if I could simiate this as an VBA programming excerise.
I tried finding under different on the web but not much like.
Thanks,
Psionic.