Difference between revisions of "Defining the population control: foxes require hares"
Line 1: | Line 1: | ||
− | |||
1. Drag two variable nodes in the diagram. Type ‘Hares needed by 1 fox’ and ‘Foxes surviving’ for each node. | 1. Drag two variable nodes in the diagram. Type ‘Hares needed by 1 fox’ and ‘Foxes surviving’ for each node. | ||
Line 6: | Line 5: | ||
[[Image:Foxes and Hares diagram 12.jpg]] | [[Image:Foxes and Hares diagram 12.jpg]] | ||
− | 3. Double click on ‘Hares needed by 1 fox’ to open its object window. Click on the Identifier field, change it to ‘Hares_needed’. Press tab. In the Description field type ‘Number of hares that one fox must capture in a time period to survive.’ | + | 3. Double click on ‘Hares needed by 1 fox’ to open its object window. Click on the Identifier field, change it to ‘Hares_needed’. Press tab. In the Description field type ‘Number of hares that one fox must capture in a time period to survive.’ Press tab. In the Definition field key in 10. Click on green green check button to accept definition. |
+ | |||
+ | '''Expected:You should have the same result as the screenshot below''' | ||
[[Image:Object Hares needed.jpg]] | [[Image:Object Hares needed.jpg]] | ||
Line 19: | Line 20: | ||
6. Select Populations, click on the result button. | 6. Select Populations, click on the result button. | ||
− | |||
− | |||
7. Select Foxes at end, click on its key icon. Select Definition from the Attribute popup menu. Type ‘Max([2,Min([Foxes_surviving,Foxes_at_start])])’ | 7. Select Foxes at end, click on its key icon. Select Definition from the Attribute popup menu. Type ‘Max([2,Min([Foxes_surviving,Foxes_at_start])])’ | ||
Line 28: | Line 27: | ||
8. Select Populations, click on the result button. A result window should appear. | 8. Select Populations, click on the result button. A result window should appear. | ||
− | [[Image:Result Populations | + | [[Image:Result Populations end.jpg]] |
Revision as of 05:40, 2 June 2010
1. Drag two variable nodes in the diagram. Type ‘Hares needed by 1 fox’ and ‘Foxes surviving’ for each node.
2. Draw arrow from ‘Hares needed by 1 fox’ to ‘Foxes surviving’, from ‘Hares captured’ to ‘Fox surviving’; and from ‘Foxes surviving’ to ‘Foxes at end’.
3. Double click on ‘Hares needed by 1 fox’ to open its object window. Click on the Identifier field, change it to ‘Hares_needed’. Press tab. In the Description field type ‘Number of hares that one fox must capture in a time period to survive.’ Press tab. In the Definition field key in 10. Click on green green check button to accept definition.
Expected:You should have the same result as the screenshot below
4. Double click on Foxes surviving to open its Object window. In the Description field type ‘Number of foxes surviving a time period, by eating the numbers of hares captured’. Press tab. In the Definition field type ‘Hares_captured/Hares_needed’.
5. Select Foxes at end. Click on the key icon to open the attribute panel. Click on the popup menu, select Definition. Type ‘Min([Foxes_surviving,Foxes_at_start])’
6. Select Populations, click on the result button.
7. Select Foxes at end, click on its key icon. Select Definition from the Attribute popup menu. Type ‘Max([2,Min([Foxes_surviving,Foxes_at_start])])’
8. Select Populations, click on the result button. A result window should appear.
Enable comment auto-refresher