Class Link
java.lang.Object
uk.ac.manchester.spinnaker.machine.Link
@Immutable public final class Link extends Object
Represents a directional link between SpiNNaker chips in the machine.
- Author:
- Christian-B
- See Also:
- Python Version
-
Field Summary
Fields Modifier and Type Field Description @Valid ChipLocation
destination
The coordinate of the destination chip of the link.@Valid ChipLocation
source
The coordinates of the source chip of the link.Direction
sourceLinkDirection
The ID/Direction of the link in the source chip. -
Constructor Summary
Constructors Constructor Description Link(ChipLocation source, Direction sourceLinkDirection, ChipLocation destination)
Main Constructor which sets all parameters.Link(HasChipLocation source, int sourceLinkId, HasChipLocation destination)
Link(HasChipLocation source, Direction sourceLinkDirection, HasChipLocation destination)
Main Constructor which sets all parameters. -
Method Summary
-
Field Details
-
source
The coordinates of the source chip of the link. -
sourceLinkDirection
The ID/Direction of the link in the source chip. -
destination
The coordinate of the destination chip of the link.
-
-
Constructor Details
-
Link
Main Constructor which sets all parameters.Specifically there is no check that the destination is the typical one for this source and direction pair.
- Parameters:
source
- The coordinates of the source chip of the link.destination
- The coordinate of the destination chip of the link.sourceLinkDirection
- The Direction of the link in the source chip.
-
Link
Main Constructor which sets all parameters.Specifically there is no check that the destination is the typical one for this source and direction pair.
- Parameters:
source
- The coordinates of the source chip of the link.destination
- The coordinate of the destination chip of the link.sourceLinkDirection
- The Direction of the link in the source chip.
-
Link
- Parameters:
source
- The coordinates of the source chip of the link.destination
- The coordinate of the destination chip of the link.sourceLinkId
- The ID of the link in the source chip.
-
-
Method Details