pystencils.flow.flowgraph.Top

pystencils.flow.flowgraph.Top#

class pystencils.flow.flowgraph.Top#

A flowgraph’s top node.

All instances of this class behave identically.

replace_predecessors(predecessors)#

Return a copy of this node with a new list of predecessors

Return type:

Top

Parameters:

predecessors (Iterable[FlowgraphNode])