kruskals_generator.hxx
Go to the documentation of this file.
1 /*===========================================================================================================
7 * Licensed under the MIT License, you may not use this file except in compliance with the License.
12 * Unless required by applicable law or agreed to in writing, software distributed under the License is
13 * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and limitations under the License.
19 *=========================================================================================================*/
61 std::unique_ptr<Maze> operator()(const uint32_t width, const uint32_t height, const uint32_t seed = 0)
Definition: grid.hxx:65
Edge struct is a convenient struct use to store two cell pointers connected by a link/edge.
Definition: grid.hxx:81
uint64_t bucketId
Definition: kruskals_generator.hxx:54
Definition: grid.hxx:44
Definition: combinations.hxx:26
Definition: grid.hxx:32
Point struct is a convenient struct use to represent a 2D point for a grid (index position)...
Definition: grid.hxx:56
std::unique_ptr< Maze > operator()(const uint32_t width, const uint32_t height, const uint32_t seed=0)
Definition: kruskals_generator.hxx:61
static void MergeBucket(std::vector< std::vector< std::shared_ptr< Cell >>> &buckets, uint32_t fromId, uint32_t ToId)
Definition: kruskals_generator.hxx:118