Class JobMachineInfo
java.lang.Object
uk.ac.manchester.spinnaker.spalloc.messages.JobMachineInfo
A description of a machine associated with a job, in terms of width, height,
connections and its name.
-
Constructor Summary
ConstructorsConstructorDescriptionJobMachineInfo
(int width, int height, List<Connection> connections, String machineName, List<BoardCoordinates> boards) -
Method Summary
-
Constructor Details
-
JobMachineInfo
public JobMachineInfo(int width, int height, List<Connection> connections, String machineName, List<BoardCoordinates> boards) - Parameters:
width
- The width of the allocated machine chunk.height
- The height of the allocated machine chunk.connections
- How to talk to the allocated boards.machineName
- The name of the machine handling the job.boards
- Locations of the allocated boards.
-
-
Method Details
-
getWidth
public int getWidth()- Returns:
- The width of the allocated machine chunk.
-
getHeight
public int getHeight()- Returns:
- The height of the allocated machine chunk.
-
getConnections
- Returns:
- How to talk to the allocated boards.
-
getMachineName
- Returns:
- The name of the machine handling the job.
-
getBoards
- Returns:
- Locations of the allocated boards.
-
toString
-