CARLA
载入中...
搜索中...
未找到
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
MapGen
GraphGenerator.h
浏览该文件的文档.
1
// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
2
// de Barcelona (UAB).
3
//
4
// This work is licensed under the terms of the MIT license.
5
// For a copy, see <https://opensource.org/licenses/MIT>.
6
7
#pragma once
8
9
#include "
DoublyConnectedEdgeList.h
"
10
11
namespace
MapGen
{
12
13
/// Random DoublyConnectedEdgeList generator.
14
class
GraphGenerator
:
private
NonCopyable
15
{
16
public
:
17
18
/// Create a squared DoublyConnectedEdgeList of size @a SizeX times @a SizeY
19
/// and generate random connections inside using fixed @a Seed.
20
static
TUniquePtr<DoublyConnectedEdgeList>
Generate
(uint32 SizeX, uint32 SizeY, int32 Seed);
21
};
22
23
}
// namespace MapGen
DoublyConnectedEdgeList.h
MapGen::GraphGenerator
Random DoublyConnectedEdgeList generator.
Definition
GraphGenerator.h:15
MapGen::GraphGenerator::Generate
static TUniquePtr< DoublyConnectedEdgeList > Generate(uint32 SizeX, uint32 SizeY, int32 Seed)
Create a squared DoublyConnectedEdgeList of size SizeX times SizeY and generate random connections in...
Definition
GraphGenerator.cpp:97
NonCopyable
Definition
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/NonCopyable.h:3
MapGen
Definition
CityAreaDescription.h:13
制作者
1.10.0