Source code for pacman.model.graphs.machine.machine_graph

from .machine_vertex import MachineVertex
from .machine_edge import MachineEdge
from pacman.model.graphs import AbstractOutgoingEdgePartition
from pacman.model.graphs.impl import Graph


[docs]class MachineGraph(Graph): """ A graph whose vertices can fit on the chips of a machine """ __slots__ = [] def __init__(self, label): Graph.__init__( self, MachineVertex, MachineEdge, AbstractOutgoingEdgePartition, label)