Chapter 16: Introducing DisSModel¶
Part III — Discrete Spatial Modeling
Learning Objectives¶
By the end of this chapter you will be able to:
- Understand the dual-substrate paradigm (vector and raster)
- Navigate the dissmodel class hierarchy
- Run Game of Life on both substrates with the same salabim environment
{note}
Show the two env.run() blocks side by side — the symmetry is the key insight. Reference the benchmark from Ch 13.
In [ ]:
Copied!
# Standard imports — add chapter-specific imports below
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
# Standard imports — add chapter-specific imports below
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
The Dual-Substrate Idea¶
TODO: write content.
In [ ]:
Copied!
# Code for section: The Dual-Substrate Idea
# Code for section: The Dual-Substrate Idea
Class Hierarchy: SpatialModel and RasterModel¶
TODO: write content.
In [ ]:
Copied!
# Code for section: Class Hierarchy: SpatialModel and RasterModel
# Code for section: Class Hierarchy: SpatialModel and RasterModel
ola
graph TD
A[Notebook] --> B[MkDocs]
graph LR
A[GeoDataFrame] --> B[SpatialModel]
C[RasterBackend] --> D[RasterModel]
Game of Life: Vector Substrate¶
TODO: write content.
In [ ]:
Copied!
# Code for section: Game of Life: Vector Substrate
# Code for section: Game of Life: Vector Substrate
Game of Life: Raster Substrate¶
TODO: write content.
In [ ]:
Copied!
# Code for section: Game of Life: Raster Substrate
# Code for section: Game of Life: Raster Substrate
Symmetry at the Call Site¶
TODO: write content.
In [ ]:
Copied!
# Code for section: Symmetry at the Call Site
# Code for section: Symmetry at the Call Site
When to Use Each Substrate¶
TODO: write content.
In [ ]:
Copied!
# Code for section: When to Use Each Substrate
# Code for section: When to Use Each Substrate
Further Reading¶
- TODO: add references.