CARLA
Static Public Member Functions | List of all members
MapGen::GraphGenerator Class Reference

Random DoublyConnectedEdgeList generator. More...

#include <GraphGenerator.h>

+ Inheritance diagram for MapGen::GraphGenerator:
+ Collaboration diagram for MapGen::GraphGenerator:

Static Public Member Functions

static TUniquePtr< DoublyConnectedEdgeListGenerate (uint32 SizeX, uint32 SizeY, int32 Seed)
 Create a squared DoublyConnectedEdgeList of size SizeX times SizeY and generate random connections inside using fixed Seed. More...
 

Additional Inherited Members

- Private Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

Detailed Description

Random DoublyConnectedEdgeList generator.

Definition at line 14 of file GraphGenerator.h.

Member Function Documentation

◆ Generate()

TUniquePtr< DoublyConnectedEdgeList > MapGen::GraphGenerator::Generate ( uint32  SizeX,
uint32  SizeY,
int32  Seed 
)
static

Create a squared DoublyConnectedEdgeList of size SizeX times SizeY and generate random connections inside using fixed Seed.

Definition at line 97 of file GraphGenerator.cpp.

References MapGen::randomize().

Referenced by ACityMapGenerator::GenerateGraph().

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

The documentation for this class was generated from the following files: