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 Details

  • Constructor Details

    • Link

      public Link​(ChipLocation source, Direction sourceLinkDirection, ChipLocation destination)
      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

      public Link​(HasChipLocation source, Direction sourceLinkDirection, HasChipLocation destination)
      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

      public Link​(HasChipLocation source, int sourceLinkId, HasChipLocation destination)
      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