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.
See Also:
V1CompatService
  • Field Details

    • width

      @ValidTriadWidth public final @uk.ac.manchester.spinnaker.machine.board.ValidTriadWidth int width
      Width requested, in triads.
    • height

      @ValidTriadHeight public final @uk.ac.manchester.spinnaker.machine.board.ValidTriadHeight int height
      Height requested, in triads.
  • 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