Class Placement
java.lang.Object
uk.ac.manchester.spinnaker.front_end.download.request.Placement
- All Implemented Interfaces:
HasChipLocation
,HasCoreLocation
public class Placement extends Object implements HasCoreLocation
Vertex placement information.
- Author:
- Christian-B
-
Field Summary
Fields Modifier and Type Field Description static TypeReference<List<Placement>>
LIST
Type reference for deserializing a list of placements. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface uk.ac.manchester.spinnaker.machine.HasChipLocation
asChipLocation, getScampCore, onSameChipAs
Methods inherited from interface uk.ac.manchester.spinnaker.machine.HasCoreLocation
asCoreLocation, onSameCoreAs
-
Field Details
-
LIST
Type reference for deserializing a list of placements.
-
-
Method Details
-
getX
public int getX()- Specified by:
getX
in interfaceHasChipLocation
- Returns:
- The X coordinate of the chip.
-
getY
public int getY()- Specified by:
getY
in interfaceHasChipLocation
- Returns:
- The Y coordinate of the chip.
-
getP
public int getP()- Specified by:
getP
in interfaceHasCoreLocation
- Returns:
- The processor coordinate of the core on its chip.
-
getVertex
- Returns:
- The information about the vertex.
-