java.lang.Object
uk.ac.manchester.spinnaker.nmpi.machinemanager.responses.JobMachineInfo

public class JobMachineInfo
extends Object
A description of a machine associated with a job, in terms of width, height, connections and its name.
  • Constructor Details

  • Method Details

    • getWidth

      public int getWidth()
      Get the width of the machine.
      Returns:
      The width in chips
    • setWidth

      public void setWidth​(int width)
      Set the width of the machine.
      Parameters:
      width - The width in chips
    • getHeight

      public int getHeight()
      Get the height of the machine.
      Returns:
      The height in chips
    • setHeight

      public void setHeight​(int height)
      Set the height of the machine.
      Parameters:
      height - The height in chips
    • getConnections

      public List<Connection> getConnections()
      Get the connections to the machine.
      Returns:
      The connections
    • setConnections

      public void setConnections​(List<Connection> connections)
      Set the connection to the machine.
      Parameters:
      connections - The connections to set
    • getMachineName

      public String getMachineName()
      Get the name of the machine.
      Returns:
      The name
    • setMachineName

      public void setMachineName​(String machineName)
      Set the name of the machine.
      Parameters:
      machineName - The name to set