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<BMPCoords,String>
getBmpIPs()
Map<TriadCoords,PhysicalCoords>
getBoardLocations()
Set<TriadCoords>
getDeadBoards()
Map<TriadCoords,EnumSet<MachineDefinitionLoader.Link>>
getDeadLinks()
int
getDepth()
int
getHeight()
String
getName()
Map<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
- Returns:
- The extra dead links of the machine. Doesn't include links to dead boards.
-
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
-