Class WhereIs
java.lang.Object
uk.ac.manchester.spinnaker.spalloc.messages.WhereIs
The description of where some resource is on a SpiNNaker system.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionWhereIs
(ChipLocation jobChip, Integer jobId, ChipLocation chip, BoardCoordinates logical, String machine, ChipLocation boardChip, BoardPhysicalCoordinates physical) Create. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the chip location relative to the board.getChip()
Get the chip.Get the chip location relative to the job's allocation.getJobId()
Get the job id.Get the logical board coordinates.Get the machine.Get the physical board coordinates.int
hashCode()
toString()
-
Constructor Details
-
WhereIs
public WhereIs(ChipLocation jobChip, Integer jobId, ChipLocation chip, BoardCoordinates logical, String machine, ChipLocation boardChip, BoardPhysicalCoordinates physical) Create.- Parameters:
jobChip
- the chip location relative to the job's allocation.jobId
- the job id.chip
- the absolute chip location.logical
- the logical coordinates of the boardmachine
- the name of the machineboardChip
- the chip location relative to its boardphysical
- the physical coordinates of the board
-
-
Method Details
-
getJobChip
Get the chip location relative to the job's allocation.- Returns:
- the job-relative chip location
-
getJobId
Get the job id.- Returns:
- the job id
-
getChip
Get the chip.- Returns:
- the chip
-
getLogical
Get the logical board coordinates.- Returns:
- the logical board coordinates
-
getMachine
Get the machine.- Returns:
- the machine
-
getBoardChip
Get the chip location relative to the board.- Returns:
- the board chip location
-
getPhysical
Get the physical board coordinates.- Returns:
- the physical board coordinates
-
equals
-
hashCode
public int hashCode() -
toString
-