| Algorithm 1. birth and death of coyotes |
| Start |
| Calculate and |
| If |
| Then, the newborn coyote survives, the only coyote in dies, and the age of the superior coyote is 0. |
| If |
| The newborn coyote survived, the oldest coyote with the worst social adaptability in died, and the age of the excellent coyote was 0 |
| Otherwise |
| The newborn coyote died |
| End |