Class VirtualMachine
java.lang.Object
uk.ac.manchester.spinnaker.machine.Machine
uk.ac.manchester.spinnaker.machine.VirtualMachine
- All Implemented Interfaces:
- Iterable<Chip>,- MappableIterable<Chip>
A representation of a SpiNNaker Machine with a number of 
Chips. This
 machine is one that has been constructed to model the real world, but which
 is not actually based truly on real-world data.- Author:
- Christian-B
- See Also:
- 
Field SummaryFields inherited from class uk.ac.manchester.spinnaker.machine.Machineboot, machineDimensions, version
- 
Constructor SummaryConstructorsConstructorDescriptionVirtualMachine(MachineDimensions machineDimensions) Creates a virtual machine to fill the machine dimensions with no ignores.VirtualMachine(MachineDimensions machineDimensions, Set<ChipLocation> ignoreChips, Map<ChipLocation, Set<Integer>> ignoreCores, Map<ChipLocation, EnumSet<Direction>> ignoreLinks) Creates a virtual machine to fill the machine dimensions.VirtualMachine(MachineVersion version) Creates a virtual machine based on the given machine version.
- 
Method SummaryMethods inherited from class uk.ac.manchester.spinnaker.machine.MachineaddChip, addChips, addFpgaLinks, addSpinnakerLinks, bootChip, chipCoordinates, chipLocationDifference, chips, chipsMap, coresAndLinkOutputString, difference, equals, ethernetConnectedChips, findAbnormalChips, findAbnormalLinks, getBootEthernetAddress, getBootSpinnakerLink, getChipAt, getChipAt, getChipAt, getChipOverLink, getFpgaLink, getFpgaLinks, getFpgaLinks, getLocationOverLink, getSpinnakerLink, hasChipAt, hasChipAt, hasChipAt, hashCode, hasInverseLinkAt, hasLinkAt, iterator, iterChipsOnBoard, maxChipX, maxChipY, maximumUserCoresOnChip, nChips, normalizedLocation, normalizedLocation, normalizedMove, rebuild, rebuild, spinnakerLinks, toString, totalAvailableUserCores, totalCoresMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliteratorMethods inherited from interface uk.ac.manchester.spinnaker.utils.MappableIterablefilter, first, first, map, nth, toCollectingMap, toCollectingMap, toCollectingMap, toCollectingMap, toList, toList, toMap, toMap, toSet, toSet
- 
Constructor Details- 
VirtualMachinepublic VirtualMachine(MachineDimensions machineDimensions, Set<ChipLocation> ignoreChips, Map<ChipLocation, Set<Integer>> ignoreCores, Map<ChipLocation, EnumSet<Direction>> ignoreLinks) Creates a virtual machine to fill the machine dimensions.- Parameters:
- machineDimensions- Size of the machine along the X and Y axes, in chips.
- ignoreChips- A set of chips to ignore in the machine. Requests for a "machine" will have these chips excluded, as if they never existed. The processor IDs of the specified chips are ignored. May be- null.
- ignoreCores- A map of cores to ignore in the machine. Requests for a "machine" will have these cores excluded, as if they never existed. May be- null.
- ignoreLinks- A set of links to ignore in the machine. Requests for a "machine" will have these links excluded, as if they never existed. May be- null.
 
- 
VirtualMachineCreates a virtual machine to fill the machine dimensions with no ignores.- Parameters:
- machineDimensions- Size of the machine along the X and Y axes, in chips.
 
- 
VirtualMachineCreates a virtual machine based on the given machine version.- Parameters:
- version- A version which specifies fixed size.
 
 
-