Class ConnectViaAccessPoint
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.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 Molecule
accessPointId
-
Constructor Summary
Constructors Constructor Description ConnectViaAccessPoint(Double radius, Molecule accessPointId)
-
Method Summary
Modifier and Type Method Description final Molecule
getAccessPointId()
Neighborhood<T>
computeNeighborhood(Node<T> center, Environment<T, P> environment)
Subclasses may change the way a neighborhood is computed. -
-
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.
-
-
-
-