Package it.unibo.alchemist.model.implementations.linkingrules
Types
Link copied to clipboard
class CombinedLinkingRule<T, P : Position<P>>(val subRules: List<LinkingRule<T, P>>) : LinkingRule<T, P>
Content copied to clipboard
A meta-rule that combines multiple subRules. If any mandates a link, such link is created (union of all links).
Link copied to clipboard
class OffsetGraphStreamLinkingRule<T, P : Position<P>>(val offset: Int, val graph: Graph) : LinkingRule<T, P>
Content copied to clipboard
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.