Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Functions
Olympe::anonymous_namespace{NodeValidator.cpp} Namespace Reference

Functions

bool DFSHasCycle (int32_t current, const std::unordered_map< int32_t, std::vector< int32_t > > &adj, std::unordered_set< int32_t > &visited, std::unordered_set< int32_t > &inStack)
 DFS helper: returns true if a cycle is found starting from startId.
 

Function Documentation

◆ DFSHasCycle()

bool Olympe::anonymous_namespace{NodeValidator.cpp}::DFSHasCycle ( int32_t  current,
const std::unordered_map< int32_t, std::vector< int32_t > > &  adj,
std::unordered_set< int32_t > &  visited,
std::unordered_set< int32_t > &  inStack 
)

DFS helper: returns true if a cycle is found starting from startId.

Definition at line 123 of file NodeValidator.cpp.

References DFSHasCycle(), and GetComponentTypeID_Static().

Referenced by DFSHasCycle().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: