Discrete Maths II - Simulations Flashcards
1
Q
What are discrete simulations?
A
- Seek to model a physical process
- Using discrete data structures
- Agent-based models
- Random Walks
- Cellular automata
2
Q
What is the basic Model of Discrete Simulations?
A
3
Q
What is the basic weighted model of a discrete simulation?
A
- Agent resides at A
- Can move to B or C
- Change of picking edge
- Weight of edge/weight of all edges connected to agents location
4
Q
What is the Random Walk Algorithm?
A
5
Q
What are the applications of random walk algorithms?
A
Random walks can be applied to approximate a variety of phenomena
- NPC movement
- Fluctuation of share prices
- Brownian (molecule) motion
6
Q
What is cellular Automata?
A
- A cellular automaton is a form of discrete simulation.
- It is based on a grid of cells, each with a finite number of states (e.g., on or off).
- The transition to a new generation (or time step) is determined by a fixed rule.
- This fixed rule is typically dependent on the current state of a cell and the states of its neighboring cells.
- Often, the rule only considers adjacent cells for determining the state of a cell in the new generation.
7
Q
What is Conway’s Game of Life?
A
Example of a cellular automaton. In this game:
- Any live cell with fewer than two live neighbours dies, as if caused by underpopulation.
- Any live cell with two or three live neighbours lives on to the next generation.
- Any live cell with more than three live neighbours dies, as if by overpopulation.
- Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.