Class Machine
java.lang.Object
uk.ac.manchester.spinnaker.spalloc.messages.Machine
Describes a machine by its name, tags, width and height.
- 
Constructor Details- 
Machinepublic Machine(String name, List<String> tags, int width, int height, List<BoardCoordinates> deadBoards, List<BoardLink> deadLinks) - Parameters:
- name- The name of the machine.
- tags- The tags on the machine.
- width- The width of the machine.
- height- The height of the machine.
- deadBoards- The dead boards on the machine.
- deadLinks- The dead links on the machine.
 
 
- 
- 
Method Details- 
getName- Returns:
- The name of the machine.
 
- 
getTags- Returns:
- The tags on the machine.
 
- 
getWidthpublic int getWidth()- Returns:
- The width of the machine.
 
- 
getHeightpublic int getHeight()- Returns:
- The height of the machine.
 
- 
getDeadBoards- Returns:
- The dead boards on the machine.
 
- 
getDeadLinks- Returns:
- The dead links on the machine.
 
- 
toString
 
-