Package-level declarations
Types
Link copied to clipboard
object ToConcentrationSurrogate
A set of functions to map the concentrations to the corresponding surrogate classes.
Link copied to clipboard
object ToPositionSurrogate
A set of functions to map the Position to the corresponding surrogate classes.
Functions
Link copied to clipboard
fun <T, P : Position<out P>, TS : Any> Environment<T, P>.toEnvironmentSurrogate(toConcentrationSurrogate: (T) -> TS): EnvironmentSurrogate<TS, PositionSurrogate>
A function that maps an Environment to its surrogate class (EnvironmentSurrogate). Use the toSuitablePositionSurrogate strategy for PositionSurrogate mapping.
fun <T, P : Position<out P>, TS : Any, PS : PositionSurrogate> Environment<T, P>.toEnvironmentSurrogate(toConcentrationSurrogate: (T) -> TS, toPositionSurrogate: (P) -> PS): EnvironmentSurrogate<TS, PS>
A function that maps an Environment to its surrogate class (EnvironmentSurrogate).
Link copied to clipboard
A function that maps a it.unibo.alchemist.model.Molecule to its surrogate class MoleculeSurrogate.
Link copied to clipboard
fun <T, P : Position<out P>, TS : Any, PS : PositionSurrogate> Node<T>.toNodeSurrogate(environment: Environment<T, P>, toConcentrationSurrogate: (T) -> TS, toPositionSurrogate: (P) -> PS): NodeSurrogate<TS, PS>
A function that maps a it.unibo.alchemist.model.Node to its surrogate class it.unibo.alchemist.boundary.webui.common.model.surrogate.NodeSurrogate.
Link copied to clipboard
Map a Status to StatusSurrogate.