SimulationSurrogate

data class SimulationSurrogate<T, P : Position<out P>>(val origin: Simulation<T, P>) : GraphQLSurrogate<Simulation<T, P>>

A surrogate for Simulation.

Parameters

T

the concentration type

P

the position

Constructors

Link copied to clipboard
constructor(origin: Simulation<T, P>)

Properties

Link copied to clipboard
open override val origin: Simulation<T, P>

Functions

Link copied to clipboard

The environment of the simulation.

Link copied to clipboard
fun status(): String

The time of the simulation.

Link copied to clipboard
fun time(): Double

The time of the simulation.