Class MachineDefinitionLoader.Machine
java.lang.Object
uk.ac.manchester.spinnaker.alloc.admin.MachineDefinitionLoader.Machine
- Enclosing class:
- MachineDefinitionLoader
A machine description. JSON-serializable.
- Author:
- Donal Fellows
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMap<uk.ac.manchester.spinnaker.machine.board.TriadCoords,
uk.ac.manchester.spinnaker.machine.board.PhysicalCoords> Set<uk.ac.manchester.spinnaker.machine.board.TriadCoords>
Map<uk.ac.manchester.spinnaker.machine.board.TriadCoords,
EnumSet<MachineDefinitionLoader.Link>> int
getDepth()
int
getName()
getTags()
int
getWidth()
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
-