Class CreateJob.Dimensions

java.lang.Object
uk.ac.manchester.spinnaker.alloc.client.CreateJob.Dimensions
Enclosing class:
CreateJob

public static final class CreateJob.Dimensions
extends Object
Used when asking for a rectangle of boards.
  • Constructor Details

    • Dimensions

      public Dimensions​(int width, int height)
      Parameters:
      width - The width of rectangle to ask for, in triads.
      height - The height of rectangle to ask for, in triads.
  • Method Details

    • getWidth

      public int getWidth()
      Returns:
      The width of the allocation, in triads.
    • getHeight

      public int getHeight()
      Returns:
      The height of the allocation, in triads.