MCPcopy Create free account
hub / github.com/dabing1022/Blog / GetNextValidNode

Method GetNextValidNode

GameAI/Graph/SparseGraph.h:287–297  ·  view source on GitHub ↗

if a graph node is removed, it is not removed from the vector of nodes (because that would mean changing all the indices of all the nodes that have a higher index). This method takes a node iterator as a parameter and assigns the next valid element to it.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

IndexMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected