Class Link
java.lang.Object
uk.ac.manchester.spinnaker.machine.Link
Represents a directional link between SpiNNaker chips in the machine.
- Author:
- Christian-B
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @Valid ChipLocationThe coordinate of the destination chip of the link.final @Valid ChipLocationThe coordinates of the source chip of the link.final DirectionThe ID/Direction of the link in the source chip. -
Constructor Summary
ConstructorsConstructorDescriptionLink(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