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 Details

  • Method Details

    • getName

      public String getName()
      Returns:
      The name of the machine.
    • getTags

      public Set<String> 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

      public Set<uk.ac.manchester.spinnaker.machine.board.TriadCoords> 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

      public Map<uk.ac.manchester.spinnaker.machine.board.BMPCoords,​String> getBmpIPs()
      Returns:
      The IP addresses of the BMPs.
    • getSpinnakerIPs

      public Map<uk.ac.manchester.spinnaker.machine.board.TriadCoords,​String> getSpinnakerIPs()
      Returns:
      The IP addresses of the boards.
    • toString

      public String toString()
      Overrides:
      toString in class Object