Uses of Class
uk.ac.manchester.spinnaker.machine.Direction
Package | Description |
---|---|
uk.ac.manchester.spinnaker.machine |
Describes a SpiNNaker machine.
|
uk.ac.manchester.spinnaker.machine.bean |
Beans used to describe a SpiNNaker machine in JSON.
|
uk.ac.manchester.spinnaker.machine.datalinks |
Describes a data link.
|
-
Uses of Direction in uk.ac.manchester.spinnaker.machine
Fields in uk.ac.manchester.spinnaker.machine declared as Direction Modifier and Type Field Description Direction
Link. sourceLinkDirection
The ID/Direction of the link in the source chip.Fields in uk.ac.manchester.spinnaker.machine with type parameters of type Direction Modifier and Type Field Description static Map<ChipLocation,EnumSet<Direction>>
MachineDefaults. FOUR_CHIP_DOWN_LINKS
Ignore Links info for a four chip board.Methods in uk.ac.manchester.spinnaker.machine that return Direction Modifier and Type Method Description static Direction
Direction. byId(int id)
The Direction with this ID when expressed as anint
.static Direction
Direction. byLabel(String label)
The Direction with this labelstatic Direction
Direction. valueOf(String name)
Returns the enum constant of this type with the specified name.static Direction[]
Direction. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in uk.ac.manchester.spinnaker.machine that return types with arguments of type Direction Modifier and Type Method Description Map<ChipLocation,EnumSet<Direction>>
Machine. findAbnormalLinks()
Returns a list of the abnormal links that are recommended for removal.Collection<Direction>
RoutingEntry. getLinkIDs()
The IDs of the processors that this entry routes to.Methods in uk.ac.manchester.spinnaker.machine with parameters of type Direction Modifier and Type Method Description Chip
Machine. getChipOverLink(HasChipLocation source, Direction direction)
Get the existing chip over the given link.Link
Router. getLink(Direction direction)
Obtains a link going in this direction.ChipLocation
Machine. getLocationOverLink(HasChipLocation source, Direction direction)
Get the coordinates of a possible chip over the given link.boolean
Machine. hasInverseLinkAt(ChipLocation chip, Direction direction)
Check if the inverse link to the one described exists.boolean
Router. hasLink(Direction direction)
Indicates if there is a link going in this direction.boolean
Machine. hasLinkAt(ChipLocation source, Direction link)
Determine if a link exists at the given coordinates.ChipLocation
Machine. normalizedMove(HasChipLocation source, Direction direction)
Returns the location you would get to from the source if you move in this direction, if required (and applicable) adjusting for wrap-around.Method parameters in uk.ac.manchester.spinnaker.machine with type arguments of type Direction Modifier and Type Method Description Machine
Machine. rebuild(Set<ChipLocation> ignoreChips, Map<ChipLocation,EnumSet<Direction>> ignoreLinks)
Provides a machine without ignored chips or links.Constructors in uk.ac.manchester.spinnaker.machine with parameters of type Direction Constructor Description Link(ChipLocation source, Direction sourceLinkDirection, ChipLocation destination)
Main Constructor which sets all parameters.Link(HasChipLocation source, Direction sourceLinkDirection, HasChipLocation destination)
Main Constructor which sets all parameters. -
Uses of Direction in uk.ac.manchester.spinnaker.machine.bean
Fields in uk.ac.manchester.spinnaker.machine.bean declared as Direction Modifier and Type Field Description @NotNull Direction
LinkBean. sourceDirection
What direction the link is going in.Methods in uk.ac.manchester.spinnaker.machine.bean that return types with arguments of type Direction Modifier and Type Method Description Set<Direction>
ChipDetails. getDeadDirections()
Methods in uk.ac.manchester.spinnaker.machine.bean with parameters of type Direction Modifier and Type Method Description ChipLocation
ChipDetails. getLinkDestination(Direction direction, HasChipLocation source, Machine machine)
Gets where a link is really going. -
Uses of Direction in uk.ac.manchester.spinnaker.machine.datalinks
Fields in uk.ac.manchester.spinnaker.machine.datalinks declared as Direction Modifier and Type Field Description Direction
AbstractDataLink. direction
Direction/ID for this link.Direction
FpgaEnum. direction
Direction of the link as it comes out of the source Chip.Methods in uk.ac.manchester.spinnaker.machine.datalinks with parameters of type Direction Modifier and Type Method Description static FpgaEnum
FpgaEnum. findId(int x, int y, Direction direction)
Find the enum by chip coordinates and the direction.Constructors in uk.ac.manchester.spinnaker.machine.datalinks with parameters of type Direction Constructor Description FPGALinkData(int fpgaLinkId, FpgaId fpgaId, HasChipLocation location, Direction linkId, InetAddress boardAddress)
Build an instance.SpinnakerLinkData(int spinnakerLinkId, HasChipLocation location, Direction linkId, InetAddress boardAddress)
Build an instance.