Class JobMachineInfo

java.lang.Object
uk.ac.manchester.spinnaker.spalloc.messages.JobMachineInfo

public final class JobMachineInfo extends Object
A description of a machine associated with a job, in terms of width, height, connections and its name.
  • 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

      public List<Connection> getConnections()
      Returns:
      How to talk to the allocated boards.
    • getMachineName

      public String getMachineName()
      Returns:
      The name of the machine handling the job.
    • getBoards

      public List<BoardCoordinates> getBoards()
      Returns:
      Locations of the allocated boards.
    • toString

      public String toString()
      Overrides:
      toString in class Object