Class MachineDefinitionLoader.Machine
java.lang.Object
uk.ac.manchester.spinnaker.alloc.admin.MachineDefinitionLoader.Machine
- Enclosing class:
- MachineDefinitionLoader
public static final class MachineDefinitionLoader.Machine extends Object
A machine description. JSON-serializable.
- Author:
- Donal Fellows
-
Constructor Summary
Constructors Constructor Description Machine()
-
Method Summary
Modifier and Type Method Description Map<uk.ac.manchester.spinnaker.machine.board.BMPCoords,String>
getBmpIPs()
Map<uk.ac.manchester.spinnaker.machine.board.TriadCoords,uk.ac.manchester.spinnaker.machine.board.PhysicalCoords>
getBoardLocations()
Set<uk.ac.manchester.spinnaker.machine.board.TriadCoords>
getDeadBoards()
Map<uk.ac.manchester.spinnaker.machine.board.TriadCoords,EnumSet<MachineDefinitionLoader.Link>>
getDeadLinks()
int
getDepth()
int
getHeight()
String
getName()
Map<uk.ac.manchester.spinnaker.machine.board.TriadCoords,String>
getSpinnakerIPs()
Set<String>
getTags()
int
getWidth()
String
toString()
-
Constructor Details
-
Machine
public Machine()
-
-
Method Details
-
getName
- Returns:
- The name of the machine.
-
getTags
- Returns:
- The tags of the machine.
-
getWidth
public int getWidth()- Returns:
- The width of the machine, in triads.
-
getHeight
public int getHeight()- Returns:
- The height of the machine, in triads.
-
getDepth
public int getDepth()- Returns:
- The depth of the machine, the number of boards per triad.
-
getDeadBoards
- Returns:
- The dead boards of the machine.
-
getDeadLinks
public Map<uk.ac.manchester.spinnaker.machine.board.TriadCoords,EnumSet<MachineDefinitionLoader.Link>> getDeadLinks()- Returns:
- The extra dead links of the machine. Doesn't include links to dead boards.
-
getBoardLocations
public Map<uk.ac.manchester.spinnaker.machine.board.TriadCoords,uk.ac.manchester.spinnaker.machine.board.PhysicalCoords> getBoardLocations()- Returns:
- The logical-to-physical board location map.
-
getBmpIPs
- Returns:
- The IP addresses of the BMPs.
-
getSpinnakerIPs
- Returns:
- The IP addresses of the boards.
-
toString
-