# Neighborhoods

“How are neighborhoods defined?”

## Types of Neighborhoods

Types of neighborhood are used:

• SpaceLatticeNeighborhood: This is the default Neighborhood for the lattice. It ist used by the NeighborhoodReporter and fallback for all other Neighborhood definitions.
• CPMMonteCarloSamplerNeighborhood: Updates for the CPM simulation are chosen from this Neighborhood.
• CPMShapeSurfaceNeighborhood: Cell surface length and interface lengths of cell interactons are approximated using this kernel.

## Order and Distance

The number of neighboring nodes to include can be specified in two different units.

### Distance

All neighboring nodes of distance less or equal the given distane are included in the neighborhood.

### Order

The “order” of a neighborhood is a measure of neighborhood size that expands in an alternating way axially and radially.

In a square lattice:

• Order 1: 4-member, axial (von Neumann)
• Order 2: 8-member, radial (Moore)
• Order 3: 12-member, axial
Previous