Navigation
API > API/Runtime > API/Runtime/uLangCore
| Name | TDirectedGraph |
| Type | class |
| Header File | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Containers/DirectedGraph.h |
| Include Path | #include "uLang/Common/Containers/DirectedGraph.h" |
Syntax
template<typename InElementType>
class TDirectedGraph
Structs
| Name | Remarks |
|---|---|
| SNode |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| NodeId | int32_t | uLang/Common/Containers/DirectedGraph.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InvalidNodeId | NodeId | uLang/Common/Containers/DirectedGraph.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| _Nodes | TArray< SNode > | uLang/Common/Containers/DirectedGraph.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddDirectedEdge
(
const NodeId From, |
uLang/Common/Containers/DirectedGraph.h | ||
bool AddDirectedEdgeUnique
(
const NodeId From, |
uLang/Common/Containers/DirectedGraph.h | ||
NodeId AddNode
(
const InElementType& Item |
uLang/Common/Containers/DirectedGraph.h | ||
NodeId AddNode
(
InElementType&& Item |
uLang/Common/Containers/DirectedGraph.h | ||
void Empty
(
int32_t NodesSlack, |
uLang/Common/Containers/DirectedGraph.h | ||
TArray< TArray< NodeId > > FindCycles() |
uLang/Common/Containers/DirectedGraph.h | ||
int32_t NumNodes() |
uLang/Common/Containers/DirectedGraph.h | ||
void Reserve
(
int32_t NodesSlack, |
uLang/Common/Containers/DirectedGraph.h | ||
bool TopologicalSort
(
TArray< InElementType >& OutItems |
uLang/Common/Containers/DirectedGraph.h | ||
bool TopologicalSort_Pointers
(
TArray< const InElementType* >& OutItems |
uLang/Common/Containers/DirectedGraph.h | ||
bool TopologicalSort_Pointers
(
TArray< InElementType* >& OutItems |
uLang/Common/Containers/DirectedGraph.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const InElementType & operator[]
(
NodeId Index |
uLang/Common/Containers/DirectedGraph.h | ||
InElementType & operator[]
(
NodeId Index |
uLang/Common/Containers/DirectedGraph.h |