MCPcopy Create free account
hub / github.com/cseagle/blc / createVirtualRoot

Method createVirtualRoot

block.cc:946–953  ·  view source on GitHub ↗

\brief Create a single root block Some algorithms need a graph with a single entry node. Given multiple entry points, this routine creates an artificial root with no \e in edges and an \e out edge to each of the real entry points. The resulting root FlowBlock isn't owned by any BlockGraph, and the caller is responsible for freeing it. \param rootlist is the given set of entry point FlowBlocks \r

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
addInEdgeMethod · 0.80

Tested by

no test coverage detected