NodeSubscriptions

class NodeSubscriptions<T, P : Position<out P>>(environment: Environment<T, P>) : <ERROR CLASS> ERROR CLASS: Symbol not found for Subscription

Exposes alchemist it.unibo.alchemist.model.Nodes as GraphQL subscriptions.

Parameters

environment

the environment.

Constructors

Link copied to clipboard
constructor(environment: Environment<T, P>)

Functions

Link copied to clipboard
fun neighborhood(nodeId: Int): ERROR CLASS: Symbol not found for Flow<it/unibo/alchemist/boundary/graphql/schema/model/surrogates/NeighborhoodSurrogate<T>>

Returns a Flow with the updated value of the it.unibo.alchemist.boundary.graphql.schema.model.surrogates.NeighborhoodSurrogate with the given node as a part of the neighborhood.

Link copied to clipboard
fun node(nodeId: Int): ERROR CLASS: Symbol not found for Flow<it/unibo/alchemist/boundary/graphql/schema/model/surrogates/NodeSurrogate<T>>

Returns a Flow with the updated value of the it.unibo.alchemist.boundary.graphql.schema.model.surrogates.NodeSurrogate with the given Id.