Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
| Name | FDirectedGraphAlgo |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundGraphAlgo.h |
| Include Path | #include "MetasoundGraphAlgo.h" |
Syntax
struct FDirectedGraphAlgo
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TPimplPtr< FDirectedGraphAlgoAdapter > CreateDirectedGraphAlgoAdapter
(
const IGraph& InGraph |
The FDirectedGraphAlgoAdapter caches internal representations of the passed in IGraph. | MetasoundGraphAlgo.h | |
static bool DepthFirstTopologicalSort
(
const IGraph& InGraph, |
Sort the nodes of a directed acyclic graph using a depth-first topological sorting algorithm. | MetasoundGraphAlgo.h | |
static bool DepthFirstTopologicalSort
(
const FDirectedGraphAlgoAdapter& InAdapter, |
Sort the nodes of a directed acyclic graph using a depth-first topological sorting algorithm. | MetasoundGraphAlgo.h | |
static void FindReachableNodes
(
const IGraph& InGraph, |
Finds all nodes which can be reached by traversing the graph beginning from FInputDataDestinations or by traversing the transpose graph beginning from FOutputDataSource nodes. | MetasoundGraphAlgo.h | |
static void FindReachableNodes
(
const FDirectedGraphAlgoAdapter& InAdapter, |
Finds all nodes which can be reached by traversing the graph beginning from FInputDataDestinations or by traversing the transpose graph beginning from FOutputDataSource nodes. | MetasoundGraphAlgo.h | |
static void FindReachableNodesFromInput
(
const IGraph& InGraph, |
Finds all nodes which can be reached by traversing the graph beginning from FInputDataDestination nodes. | MetasoundGraphAlgo.h | |
static void FindReachableNodesFromInput
(
const FDirectedGraphAlgoAdapter& InAdapter, |
Finds all nodes which can be reached by traversing the graph beginning from FInputDataDestination nodes. | MetasoundGraphAlgo.h | |
static void FindReachableNodesFromOutput
(
const IGraph& InGraph, |
Finds all nodes which can be reached by traversing the transpose graph beginning from FOutputDataSource nodes. | MetasoundGraphAlgo.h | |
static void FindReachableNodesFromOutput
(
const FDirectedGraphAlgoAdapter& InAdapter, |
Finds all nodes which can be reached by traversing the transpose graph beginning from FOutputDataSource nodes. | MetasoundGraphAlgo.h | |
static bool KahnTopologicalSort
(
const IGraph& InGraph, |
Sort the nodes of a directed acyclic graph using Kahn's topological sorting algorithm. | MetasoundGraphAlgo.h | |
static bool KahnTopologicalSort
(
const FDirectedGraphAlgoAdapter& InAdapter, |
Sort the nodes of a directed acyclic graph using Kahn's topological sorting algorithm. | MetasoundGraphAlgo.h | |
static bool TarjanStronglyConnectedComponents
(
const IGraph& InGraph, |
Find strongly connected components given a MetasoundIGraph. | MetasoundGraphAlgo.h | |
static bool TarjanStronglyConnectedComponents
(
const FDirectedGraphAlgoAdapter& InAdapter, |
Find strongly connected components given a MetasoundIGraph. | MetasoundGraphAlgo.h |