Random DoublyConnectedEdgeList generator. 更多...
#include <GraphGenerator.h>
静态 Public 成员函数 | |
static TUniquePtr< DoublyConnectedEdgeList > | Generate (uint32 SizeX, uint32 SizeY, int32 Seed) |
Create a squared DoublyConnectedEdgeList of size SizeX times SizeY and generate random connections inside using fixed Seed. | |
额外继承的成员函数 | |
Private 成员函数 继承自 NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
void | operator= (const NonCopyable &)=delete |
Random DoublyConnectedEdgeList generator.
在文件 GraphGenerator.h 第 14 行定义.
|
static |
Create a squared DoublyConnectedEdgeList of size SizeX times SizeY and generate random connections inside using fixed Seed.
在文件 GraphGenerator.cpp 第 97 行定义.
引用了 Position , 以及 MapGen::randomize().
被这些函数引用 ACityMapGenerator::GenerateGraph().