CombinedNetworkModel

A network model that combines multiple subRules all bound to the same environment. If any mandates a link, such link is created (union of all links).

Constructors

Link copied to clipboard
constructor(subRules: List<NetworkModel<T>>)
constructor(subRule1: NetworkModel<T>, subRule2: NetworkModel<T>, vararg otherSubRules: NetworkModel<T>)

Properties

Link copied to clipboard

The neighborhood of this node, as provided by neighborhoodOf.

Functions

Link copied to clipboard
open override fun neighborhoodOf(center: Node<T>): Observable<Neighborhood<T>>

The neighborhood of center, a node of the environment of this model, as an observable of immutable snapshots that emits whenever the neighborhood changes.

Link copied to clipboard
infix fun NetworkModel<*>.shouldEqual(other: NetworkModel<*>)
Link copied to clipboard
open override fun toString(): String