Talk:Boids: Difference between revisions
Content added Content deleted
(Remove some stuff that I put in there before I read the last post completely) |
(what I think is required) |
||
Line 9: | Line 9: | ||
::: This Python version is readable and it doesn't have obstacles. http://code.activestate.com/recipes/502240-boids-version-11/ Removing the GUI code it's about 120 lines of non-comment Python code. Is this too much for a RosettaCode Task? |
::: This Python version is readable and it doesn't have obstacles. http://code.activestate.com/recipes/502240-boids-version-11/ Removing the GUI code it's about 120 lines of non-comment Python code. Is this too much for a RosettaCode Task? |
||
::::It's not very good practice to rely on code as an explanation for an entire task. Explaining things in English, pseudocode, or diagrams/tables is preferred. Not everybody can read Python (including me). --[[User:Mwn3d|Mwn3d]] 04:27, 8 January 2013 (UTC) |
::::It's not very good practice to rely on code as an explanation for an entire task. Explaining things in English, pseudocode, or diagrams/tables is preferred. Not everybody can read Python (including me). --[[User:Mwn3d|Mwn3d]] 04:27, 8 January 2013 (UTC) |
||
::: A few things would be helpful: |
|||
:::# What each bird would consider its ''local'' flock; |
|||
:::# How much does individuals in a local flock affect a bird's steering (how close is crowded, by how much does a bird adjust its current heading to fit into its local flock, etc) |
|||
:::# You asked for the birds to fly from left to right and avoid obstacles, again how much does each weigh in each bird's steering consideration. |
|||
::: I haven't looked into it carefully, but I think these should be mandated by the task for consistent implementations. Also it's questionable if a console text representation has enough spatial resolution to make the simulation workable, but that's a separate issue. --[[User:Ledrug|Ledrug]] 07:16, 8 January 2013 (UTC) |
Revision as of 07:16, 8 January 2013
Should the task define specific rules the birds follow, so implementations won't be too arbitrary? --Ledrug 18:40, 7 January 2013 (UTC)
- There are several variants of the three rules of boids movements, but the original ones should be enough for this task. -bearophile 23:29, 7 January 2013 (UTC)
- Yep. We really do need something concrete to implement rather than a vague link to a Wikipedia article that does not seem to have any pseudo-code to follow. --Paddy3118 19:58, 7 January 2013 (UTC)
- I agree the Task specification is incomplete and needs improvements. (I think a Boids task is good for RosettaCode because the code needed for such simulation is not too much long, and it's a kind of task not overrepresented in RC.) -bearophile 23:29, 7 January 2013 (UTC)
- This Python version is readable and it doesn't have obstacles. http://code.activestate.com/recipes/502240-boids-version-11/ Removing the GUI code it's about 120 lines of non-comment Python code. Is this too much for a RosettaCode Task?
- It's not very good practice to rely on code as an explanation for an entire task. Explaining things in English, pseudocode, or diagrams/tables is preferred. Not everybody can read Python (including me). --Mwn3d 04:27, 8 January 2013 (UTC)
- This Python version is readable and it doesn't have obstacles. http://code.activestate.com/recipes/502240-boids-version-11/ Removing the GUI code it's about 120 lines of non-comment Python code. Is this too much for a RosettaCode Task?
- A few things would be helpful:
- What each bird would consider its local flock;
- How much does individuals in a local flock affect a bird's steering (how close is crowded, by how much does a bird adjust its current heading to fit into its local flock, etc)
- You asked for the birds to fly from left to right and avoid obstacles, again how much does each weigh in each bird's steering consideration.
- I haven't looked into it carefully, but I think these should be mandated by the task for consistent implementations. Also it's questionable if a console text representation has enough spatial resolution to make the simulation workable, but that's a separate issue. --Ledrug 07:16, 8 January 2013 (UTC)
- A few things would be helpful: