Class SpallocAPI.CreateDimensionsAt
java.lang.Object
uk.ac.manchester.spinnaker.alloc.allocator.SpallocAPI.CreateDescriptor
uk.ac.manchester.spinnaker.alloc.allocator.SpallocAPI.HasBoardCoords
uk.ac.manchester.spinnaker.alloc.allocator.SpallocAPI.CreateDimensionsAt
- Enclosing interface:
- SpallocAPI
A request for a rectangle of triads rooted at a particular triad. No
 option for using physical coordinates is supported with this method.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal @uk.ac.manchester.spinnaker.machine.board.ValidTriadHeight intHeight requested, in triads.final @uk.ac.manchester.spinnaker.machine.board.ValidTriadWidth intWidth requested, in triads.Fields inherited from class uk.ac.manchester.spinnaker.alloc.allocator.SpallocAPI.HasBoardCoordsip, physical, triadFields inherited from class uk.ac.manchester.spinnaker.alloc.allocator.SpallocAPI.CreateDescriptormaxDead
- 
Constructor SummaryConstructorsConstructorDescriptionCreateDimensionsAt(int width, int height, int x, int y, int z, Integer maxDeadBoards) Create a request for a rectangle at a specific board.CreateDimensionsAt(int width, int height, int x, int y, Integer maxDeadBoards) Create a request for a rectangle at a specific board.CreateDimensionsAt(int width, int height, Integer x, Integer y, Integer maxDeadBoards) Create a request for a rectangle at a specific board.CreateDimensionsAt(int width, int height, Integer x, Integer y, Integer z, Integer maxDeadBoards) Create a request for a rectangle at a specific board.CreateDimensionsAt(int width, int height, String ip, Integer maxDeadBoards) Create a request for a rectangle at a specific board.
- 
Method SummaryMethods inherited from class uk.ac.manchester.spinnaker.alloc.allocator.SpallocAPI.CreateDescriptorvisit
- 
Field Details- 
width@ValidTriadWidth public final @uk.ac.manchester.spinnaker.machine.board.ValidTriadWidth int widthWidth requested, in triads.
- 
height@ValidTriadHeight public final @uk.ac.manchester.spinnaker.machine.board.ValidTriadHeight int heightHeight requested, in triads.
 
- 
- 
Constructor Details- 
CreateDimensionsAtCreate a request for a rectangle at a specific board. The board will have a Z coordinate of 0.- Parameters:
- width- Width requested, in triads.
- height- Height requested, in triads.
- x- The X coordinate of the root board of the request.
- y- The Y coordinate of the root board of the request.
- maxDeadBoards- The maximum number of dead boards tolerated in the allocation. Ignored when asking for a single board.
 
- 
CreateDimensionsAtCreate a request for a rectangle at a specific board. The board will have a Z coordinate of 0.- Parameters:
- width- Width requested, in triads.
- height- Height requested, in triads.
- x- The X coordinate of the root board of the request.
- y- The Y coordinate of the root board of the request.
- maxDeadBoards- The maximum number of dead boards tolerated in the allocation. Ignored when asking for a single board.
 
- 
CreateDimensionsAtCreate a request for a rectangle at a specific board. The board must have a Z coordinate of 0.- Parameters:
- width- Width requested, in triads.
- height- Height requested, in triads.
- x- The X coordinate of the root board of the request.
- y- The Y coordinate of the root board of the request.
- z- The Z coordinate of the root board of the request.
- maxDeadBoards- The maximum number of dead boards tolerated in the allocation. Ignored when asking for a single board.
 
- 
CreateDimensionsAtpublic CreateDimensionsAt(int width, int height, Integer x, Integer y, Integer z, Integer maxDeadBoards) Create a request for a rectangle at a specific board. The board must have a Z coordinate of 0.- Parameters:
- width- Width requested, in triads.
- height- Height requested, in triads.
- x- The X coordinate of the root board of the request.
- y- The Y coordinate of the root board of the request.
- z- The Z coordinate of the root board of the request.
- maxDeadBoards- The maximum number of dead boards tolerated in the allocation. Ignored when asking for a single board.
 
- 
CreateDimensionsAtCreate a request for a rectangle at a specific board. The board must have a Z coordinate of 0.- Parameters:
- width- Width requested, in triads.
- height- Height requested, in triads.
- ip- The network address of the root board of the request.
- maxDeadBoards- The maximum number of dead boards tolerated in the allocation. Ignored when asking for a single board.
 
 
- 
- 
Method Details- 
physicalpublic static SpallocAPI.CreateDimensionsAt physical(int width, int height, int cabinet, int frame, int board, Integer maxDeadBoards) Create a request for a rectangle at a specific board. The board must have a Z coordinate of 0.- Parameters:
- width- Width requested, in triads.
- height- Height requested, in triads.
- cabinet- The cabinet number of the root board of the request.
- frame- The frame number of the root board.
- board- The board number of the root board.
- maxDeadBoards- The maximum number of dead boards tolerated in the allocation. Ignored when asking for a single board.
- Returns:
- Descriptor
 
- 
physicalpublic static SpallocAPI.CreateDimensionsAt physical(int width, int height, Integer cabinet, Integer frame, Integer board, Integer maxDeadBoards) Create a request for a rectangle at a specific board. The board must have a Z coordinate of 0.- Parameters:
- width- Width requested, in triads.
- height- Height requested, in triads.
- cabinet- The cabinet number of the root board of the request.
- frame- The frame number of the root board.
- board- The board number of the root board.
- maxDeadBoards- The maximum number of dead boards tolerated in the allocation. Ignored when asking for a single board.
- Returns:
- Descriptor
 
- 
getAreapublic int getArea()Description copied from class:SpallocAPI.CreateDescriptorGet the area. The area is the number of boards required.- Specified by:
- getAreain class- SpallocAPI.CreateDescriptor
- Returns:
- The number of boards requested by the job.
 
 
-