Uses of Class
uk.ac.manchester.spinnaker.machine.ChipLocation
Packages that use ChipLocation
Package
Description
Describes a SpiNNaker machine.
Beans used to describe a SpiNNaker machine in JSON.
Classes relating to boards in a SpiNNaker machine.
Describes a data link.
Describes IPtags and reverse IPtags.
-
Uses of ChipLocation in uk.ac.manchester.spinnaker.machine
Fields in uk.ac.manchester.spinnaker.machine declared as ChipLocationModifier and TypeFieldDescriptionfinal @Valid ChipLocationMachine.bootThe coordinates of the chip used to boot the machine.final @Valid ChipLocationLink.destinationThe coordinate of the destination chip of the link.final @Valid ChipLocationChip.nearestEthernetThe nearest Ethernet-enabled chip coordinates, ornullif none known.static final ChipLocationChipLocation.ONE_ZEROThe location (1,0), which is the one to the east/right of the bottom/left corner.final @Valid ChipLocationLink.sourceThe coordinates of the source chip of the link.static final ChipLocationChipLocation.ZERO_ZEROThe location (0,0), which is in the bottom/left corner and typically the Ethernet-enabled chip for the lead board of an allocation.Fields in uk.ac.manchester.spinnaker.machine with type parameters of type ChipLocationModifier and TypeFieldDescriptionstatic final Map<ChipLocation,EnumSet<Direction>> MachineDefaults.FOUR_CHIP_DOWN_LINKSIgnore Links info for a four chip board.Methods in uk.ac.manchester.spinnaker.machine that return ChipLocationModifier and TypeMethodDescriptionChip.asChipLocation()ChipLocation.asChipLocation()default ChipLocationHasChipLocation.asChipLocation()Converts (if required) this to a simple X, Y tuple.SpiNNakerTriadGeometry.getLocalChipCoordinate(HasChipLocation chip) Converts whole machine coordinates into local ones.final ChipLocationMachine.getLocationOverLink(HasChipLocation source, Direction direction) Get the coordinates of a possible chip over the given link.SpiNNakerTriadGeometry.getRootChip(HasChipLocation chip, int width, int height) Finds the root Chip for the board this Chip is on.final ChipLocationMachine.normalizedLocation(int x, int y) Converts x and y to a chip location, if required (and applicable) adjusting for wrap around.final ChipLocationMachine.normalizedLocation(HasChipLocation location) Returns this location adjusted for wrap-arounds.final ChipLocationMachine.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.Methods in uk.ac.manchester.spinnaker.machine that return types with arguments of type ChipLocationModifier and TypeMethodDescriptionfinal Set<ChipLocation>Machine.chipCoordinates()A set of all the locations of the chips in this machine.final SortedMap<ChipLocation,Chip> Machine.chipsMap()An unmodifiable view over the map from locations to chips.Machine.findAbnormalChips()Returns a list of the abnormal chips that are recommended for removal.Machine.findAbnormalLinks()Returns a list of the abnormal links that are recommended for removal.CoreSubsets.getChips()Returns theChipLocations for which there is at least oneCoreLocationin the subsets.SpiNNakerTriadGeometry.getPotentialRootChips(MachineDimensions dimensions) Get the coordinates of bottom left chip on each board.Router.iterNeighbouringChipsCoords()Iterable over the destinations of each link.Router.neighbouringChipsCoords()List of the destination for all links.SpiNNakerTriadGeometry.singleBoard()An Collection all the chips on a Single board with a root of 0, 0.SpiNNakerTriadGeometry.singleBoardIterator()An Iterator all the chips on a Single board with a root of 0, 0.Router.streamNeighbouringChipsCoords()Stream of the destinations of each link.Methods in uk.ac.manchester.spinnaker.machine with parameters of type ChipLocationModifier and TypeMethodDescriptionvoidCoreSubsets.addCore(ChipLocation chip, int p) Adds the processor for this chip, creating a new subset if required.voidCoreSubsets.addCores(ChipLocation chip, Iterable<Integer> processors) Adds the processors for this chip, creating a new subset if required.intChipLocation.compareTo(ChipLocation other) CoreSubsets.coreByChip(ChipLocation chip) Provides theCoreLocations for just a single chip.final ChipMachine.getChipAt(ChipLocation location) Get the chip at a specific (x, y) location.final booleanMachine.hasChipAt(ChipLocation location) Determine if a chip exists at the given coordinates.booleanMachine.hasInverseLinkAt(ChipLocation chip, Direction direction) Check if the inverse link to the one described exists.final booleanMachine.hasLinkAt(ChipLocation source, Direction link) Determine if a link exists at the given coordinates.booleanCoreSubsets.isChip(ChipLocation chip) Determine if the chip with coordinates (x, y) is in the subset.CoreSubsets.pByChip(ChipLocation chip) Provides the processor identifiers for just a single chip.Method parameters in uk.ac.manchester.spinnaker.machine with type arguments of type ChipLocationModifier and TypeMethodDescriptionMachine.rebuild(Set<ChipLocation> ignoreChips, Map<ChipLocation, EnumSet<Direction>> ignoreLinks) Provides a machine without ignored chips or links.Machine.rebuild(Set<ChipLocation> ignoreChips, Map<ChipLocation, EnumSet<Direction>> ignoreLinks) Provides a machine without ignored chips or links.voidSpiNNakerTriadGeometry.singleBoardForEach(Consumer<ChipLocation> action) Allows forEach to be called on all ChipLocations in SingleBoardCoordinates.Constructors in uk.ac.manchester.spinnaker.machine with parameters of type ChipLocationModifierConstructorDescriptionChip(ChipLocation location, Iterable<Processor> processors, Router router, int sdram, InetAddress ipAddress, List<Integer> tagIds, ChipLocation nearestEthernet) Main constructor which sets all parameters.Chip(ChipLocation location, Iterable<Processor> processors, Router router, int sdram, InetAddress ipAddress, ChipLocation nearestEthernet) Constructor which fills in some default values.Chip(ChipLocation location, Iterable<Processor> processors, Router router, InetAddress ipAddress, ChipLocation nearestEthernet) Constructor for a chip with non-default processors.Chip(ChipLocation location, Router router, InetAddress ipAddress, ChipLocation nearestEthernet) Constructor for a chip with the default processors.Link(ChipLocation source, Direction sourceLinkDirection, ChipLocation destination) Main Constructor which sets all parameters.Constructor parameters in uk.ac.manchester.spinnaker.machine with type arguments of type ChipLocationModifierConstructorDescriptionVirtualMachine(MachineDimensions machineDimensions, Set<ChipLocation> ignoreChips, Map<ChipLocation, Set<Integer>> ignoreCores, Map<ChipLocation, EnumSet<Direction>> ignoreLinks) Creates a virtual machine to fill the machine dimensions.VirtualMachine(MachineDimensions machineDimensions, Set<ChipLocation> ignoreChips, Map<ChipLocation, Set<Integer>> ignoreCores, Map<ChipLocation, EnumSet<Direction>> ignoreLinks) Creates a virtual machine to fill the machine dimensions. -
Uses of ChipLocation in uk.ac.manchester.spinnaker.machine.bean
Fields in uk.ac.manchester.spinnaker.machine.bean declared as ChipLocationModifier and TypeFieldDescriptionfinal @Valid ChipLocationLinkBean.destinationWhere the link is going.final @Valid ChipLocationChipDetails.ethernetLocation of the nearest Ethernet-enabled chip.final @Valid ChipLocationChipBean.locationThe location of this Chip.Methods in uk.ac.manchester.spinnaker.machine.bean that return ChipLocationModifier and TypeMethodDescriptionChipDetails.getEthernet()ChipDetails.getLinkDestination(Direction direction, HasChipLocation source, Machine machine) Gets where a link is really going.ChipBean.getLocation()MachineBean.getRoot()Constructors in uk.ac.manchester.spinnaker.machine.bean with parameters of type ChipLocationModifierConstructorDescriptionChipDetails(int cores, ChipLocation ethernet, String ipAddress, List<LinkBean> links, List<Integer> deadLinks) Make an instance.MachineBean(int height, int width, ChipLocation root, ChipResources ethernetResources, ChipResources standardResources, List<ChipBean> chips) Make an instance. -
Uses of ChipLocation in uk.ac.manchester.spinnaker.machine.board
Methods in uk.ac.manchester.spinnaker.machine.board that return ChipLocationModifier and TypeMethodDescriptionTriadCoords.asChipLocation()Convert these coordinates into a machine-global chip location. -
Uses of ChipLocation in uk.ac.manchester.spinnaker.machine.datalinks
Fields in uk.ac.manchester.spinnaker.machine.datalinks declared as ChipLocationModifier and TypeFieldDescriptionfinal @Valid ChipLocationAbstractDataLink.locationCoordinates of the location/chip being linked to.Methods in uk.ac.manchester.spinnaker.machine.datalinks that return ChipLocation -
Uses of ChipLocation in uk.ac.manchester.spinnaker.machine.tags
Methods in uk.ac.manchester.spinnaker.machine.tags that return ChipLocationConstructors in uk.ac.manchester.spinnaker.machine.tags with parameters of type ChipLocationModifierConstructorDescriptionIPTag(InetAddress boardAddress, ChipLocation destination, int tagID, InetAddress targetAddress) Create an IP tag.IPTag(InetAddress boardAddress, ChipLocation destination, int tagID, InetAddress targetAddress, boolean stripSDP) IPTag(InetAddress boardAddress, ChipLocation destination, int tagID, InetAddress targetAddress, Integer udpPort) Create an IP tag.IPTag(InetAddress boardAddress, ChipLocation destination, int tagID, InetAddress targetAddress, Integer udpPort, boolean stripSDP) IPTag(InetAddress boardAddress, ChipLocation destination, int tagID, InetAddress targetAddress, Integer udpPort, boolean stripSDP, TrafficIdentifier trafficIdentifier)