Class SpallocAPI.CreateBoard
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.CreateBoard
- Enclosing interface:
- SpallocAPI
public static final class SpallocAPI.CreateBoard extends SpallocAPI.HasBoardCoords
A request for a specific board.
-
Field Summary
Fields inherited from class uk.ac.manchester.spinnaker.alloc.allocator.SpallocAPI.HasBoardCoords
ip, physical, triad
Fields inherited from class uk.ac.manchester.spinnaker.alloc.allocator.SpallocAPI.CreateDescriptor
maxDead
-
Method Summary
Modifier and Type Method Description static SpallocAPI.CreateBoard
address(@IPAddress String ip)
Create a request for a specific board.int
getArea()
Get the area.static SpallocAPI.CreateBoard
physical(int cabinet, int frame, int board)
Create a request for a specific board.static SpallocAPI.CreateBoard
triad(int x, int y, int z)
Create a request for a specific board.Methods inherited from class uk.ac.manchester.spinnaker.alloc.allocator.SpallocAPI.CreateDescriptor
visit
-
Method Details
-
triad
Create a request for a specific board.- Parameters:
x
- The X coordinate of the board.y
- The Y coordinate of the board.z
- The Z coordinate of the board.- Returns:
- Descriptor
-
physical
Create a request for a specific board.- Parameters:
cabinet
- The cabinet number of the board.frame
- The frame number of the board.board
- The board number of the board.- Returns:
- Descriptor
-
address
Create a request for a specific board.- Parameters:
ip
- The network address of the board.- Returns:
- Descriptor
-
getArea
public int getArea()Description copied from class:SpallocAPI.CreateDescriptor
Get the area. The area is the number of boards required.- Specified by:
getArea
in classSpallocAPI.CreateDescriptor
- Returns:
- The number of boards requested by the job.
-