pacman.model.partitioner_interfaces package

Module contents

class pacman.model.partitioner_interfaces.AbstractSplitterPartitioner

Bases: object

Splitter API to allow other Partitioner’s to add more stuff to the edge creation process.

This makes sure that the methods the superclass expects to be there are not removed.

class pacman.model.partitioner_interfaces.LegacyPartitionerAPI

Bases: object

API used by the vertices which dont have their own splitters but use what master did before the self partitioning stuff came to be.

static abstract_methods()[source]

Exposes the abstract methods and properties defined in this class.

:rtype frozenset(str)

create_machine_vertex(vertex_slice, sdram, label=None)[source]

Create a machine vertex from this application vertex.

  • vertex_slice (Slice) – The slice of atoms that the machine vertex will cover.
  • sdram (resourcesAbstractSDRAM) – The sdram used by the machine vertex.
  • label (str or None) – human readable label for the machine vertex

The created machine vertex

Return type:



Get the separate sdram requirements for a range of atoms.

Parameters:vertex_slice (Slice) – the low value of atoms to calculate resources from
Return type:AbstractSDRAM