OffsetGraphStreamLinkingRule
class OffsetGraphStreamLinkingRule<T, P : Position<P>>(val offset: Int, val graph: Graph) : LinkingRule<T, P> (source)
A LinkingRule that statically connects nodes as they were configured by GraphStream. An offset is used to determine the id of the environment's nodes when compared to the one of the provided graph.
Properties
Functions
Link copied to clipboard
open override fun computeNeighborhood(center: Node<T>, environment: Environment<T, P>): Neighborhood<T>
Link copied to clipboard