| 46 | } // anonymous namespace |
| 47 | |
| 48 | SubgraphView::SubgraphView(Graph& graph) |
| 49 | : enable_shared_from_this() |
| 50 | , m_InputSlots{} |
| 51 | , m_OutputSlots{} |
| 52 | , m_Layers(graph.begin(), graph.end()) |
| 53 | , m_IConnectableLayers(graph.begin(), graph.end()) |
| 54 | { |
| 55 | ArrangeBySortOrder(); |
| 56 | CheckSubgraph(); |
| 57 | } |
| 58 | |
| 59 | /// IConnectable Duplication to maintain backwards compatibility |
| 60 | SubgraphView::SubgraphView(InputSlots&& inputs, OutputSlots&& outputs, Layers&& layers) |
nothing calls this directly
no test coverage detected