-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.LinkingRule,java.io.Serializable
public final class ConnectViaAccessPoint<T extends Object, P extends Position<P>> extends ConnectWithinDistance<T, P>
-
-
Field Summary
Fields Modifier and Type Field Description private final MoleculeaccessPointId
-
Constructor Summary
Constructors Constructor Description ConnectViaAccessPoint(Double radius, Molecule accessPointId)
-
Method Summary
Modifier and Type Method Description final MoleculegetAccessPointId()Neighborhood<T>computeNeighborhood(Node<T> center, Environment<T, P> environment)Subclasses may change the way a neighborhood is computed. -
Methods inherited from class it.unibo.alchemist.model.implementations.linkingrules.ConnectWithinDistance
isLocallyConsistent, toString -
Methods inherited from class it.unibo.alchemist.model.implementations.linkingrules.ConnectViaAccessPoint
getRange -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAccessPointId
final Molecule getAccessPointId()
-
computeNeighborhood
Neighborhood<T> computeNeighborhood(Node<T> center, Environment<T, P> environment)
Subclasses may change the way a neighborhood is computed.
-
-
-
-