Enum MachineDefinitionLoader.Link

java.lang.Object
java.lang.Enum<MachineDefinitionLoader.Link>
uk.ac.manchester.spinnaker.alloc.admin.MachineDefinitionLoader.Link
All Implemented Interfaces:
Serializable, Comparable<MachineDefinitionLoader.Link>
Enclosing class:
MachineDefinitionLoader

public static enum MachineDefinitionLoader.Link
extends Enum<MachineDefinitionLoader.Link>
Enumeration of links from a SpiNNaker chip, as used in the old spalloc.

Note that the numbers chosen have two useful properties:

  • The integer values assigned are chosen to match the numbers used to identify the links in the low-level software API and hardware registers.
  • The links are ordered consecutively in anticlockwise order meaning the opposite link is (link+3)%6.
Note that the new Spalloc uses a different notation for link directions!
Author:
Donal Fellows
See Also:
Direction