Class Placement
java.lang.Object
uk.ac.manchester.spinnaker.front_end.download.request.Placement
- All Implemented Interfaces:
HasChipLocation,HasCoreLocation
Vertex placement information.
- Author:
- Christian-B
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypeReference<List<Placement>>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, waitMethods inherited from interface uk.ac.manchester.spinnaker.machine.HasChipLocation
asChipLocation, getScampCore, onSameChipAsMethods 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:
getXin interfaceHasChipLocation- Returns:
- The X coordinate of the chip.
-
getY
public int getY()- Specified by:
getYin interfaceHasChipLocation- Returns:
- The Y coordinate of the chip.
-
getP
public int getP()- Specified by:
getPin interfaceHasCoreLocation- Returns:
- The processor coordinate of the core on its chip.
-
getVertex
- Returns:
- The information about the vertex.
-