Class SpallocAPI.CreateDimensions

java.lang.Object
uk.ac.manchester.spinnaker.alloc.allocator.SpallocAPI.CreateDescriptor
uk.ac.manchester.spinnaker.alloc.allocator.SpallocAPI.CreateDimensions
Enclosing interface:
SpallocAPI

public static final class SpallocAPI.CreateDimensions extends SpallocAPI.CreateDescriptor
A request for a rectangle of boards. This is expressed in boards for reasons relating to the legacy API.
Author:
Donal Fellows
See Also:
  • Field Details

  • Constructor Details

    • CreateDimensions

      public CreateDimensions(int width, int height, Integer maxDeadBoards)
      Request a rectangle of boards. The service may over-allocate.
      Parameters:
      width - The width of rectangle to request, in triads.
      height - The height of rectangle to request, in triads.
      maxDeadBoards - The number of dead boards that can be tolerated in that rectangle.
  • Method Details