-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.LinkingRule
,java.io.Serializable
public final class OffsetGraphStreamLinkingRule<T extends Object, P extends Position<P>> implements LinkingRule<T, P>
-
-
Constructor Summary
Constructors Constructor Description OffsetGraphStreamLinkingRule(Integer offset, Graph graph)
-
Method Summary
Modifier and Type Method Description Neighborhood<T>
computeNeighborhood(Node<T> center, Environment<T, P> environment)
Boolean
isLocallyConsistent()
final Integer
getOffset()
final Graph
getGraph()
-
-
Constructor Detail
-
OffsetGraphStreamLinkingRule
OffsetGraphStreamLinkingRule(Integer offset, Graph graph)
-
-
Method Detail
-
computeNeighborhood
Neighborhood<T> computeNeighborhood(Node<T> center, Environment<T, P> environment)
-
isLocallyConsistent
Boolean isLocallyConsistent()
-
getGraph
final Graph getGraph()
-
-
-
-