Class Machine
java.lang.Object
uk.ac.manchester.spinnaker.py2json.Machine
public final class Machine extends Object
A machine description. JSON-serializable.
-
Field Summary
Fields Modifier and Type Field Description @NotNull Map<@Valid BMPCoords,@IPAddress String>
bmpIPs
The IP addresses of the BMPs.@NotNull Map<@Valid TriadCoords,@Valid PhysicalCoords>
boardLocations
The logical-to-physical board location map.Set<@Valid TriadCoords>
deadBoards
The dead boards of the machine.@NotNull Map<@Valid TriadCoords,@NotEmpty EnumSet<Link>>
deadLinks
The extra dead links of the machine.@uk.ac.manchester.spinnaker.machine.board.ValidTriadHeight int
height
The height of the machine, in triads.@NotBlank String
name
The name of the machine.@NotNull Map<@Valid TriadCoords,@IPAddress String>
spinnakerIPs
The IP addresses of the boards.@NotEmpty Set<@NotBlank String>
tags
The tags of the machine.@uk.ac.manchester.spinnaker.machine.board.ValidTriadWidth int
width
The width of the machine, in triads. -
Method Summary
-
Field Details
-
name
The name of the machine. -
tags
The tags of the machine. -
width
The width of the machine, in triads. -
height
@ValidTriadHeight public final @uk.ac.manchester.spinnaker.machine.board.ValidTriadHeight int heightThe height of the machine, in triads. -
deadBoards
The dead boards of the machine. -
deadLinks
The extra dead links of the machine. Doesn't include links to dead boards. -
boardLocations
The logical-to-physical board location map. -
bmpIPs
The IP addresses of the BMPs. -
spinnakerIPs
The IP addresses of the boards.
-
-
Method Details