How to make Noise Maps having only one Room?

This is not a Maker related questions, but a.. I don't know.. a very scientific one.

So I want to create Dungeons using a Noise Maps technique (lookup here: https://www.redblobgames.com/maps/terrain-from-noise/). The problem is, when I want to generate dungeons, it must be proofen that the Player can access every area of the Map, or in other words: There must be only one room!

Some thoughts:
- trial and error: Make an algorithm that counts the number of rooms and recalls the generation until this condition succeeds.
- lower skeleton: Let the Game Dev draw a monochrome image of eg. a white circle on black ground. This image is applied on the Map so that points on the white are definitely passable and black areas are untouched. Maybe some polishment..

I think this is a more advanced question, but maybe there are people out there that can help me 🙂
For some scientist the universe would have beeen created this way by frequency, and in each frequency
there is a pattern, like a buzz make mountain, a clap make a wave, a finger in water which i will call gloup make a perfect circle...

adding frequency was pure genius but maybe it it just the song played the problem if you follow me, don't get me wrong i'm far from being able to write something period like that...but i'm asking my self if the frequency is enough in it calculation. as for your project it crazy but not impossible, instead of trying to guess how many room there is

would it not be much easier to make 1 room and in the code repeat the code to make an other room and
port from side of room a to room b , if you suceed you will need to implant a stopper or you will make room infinitly, and in theory you should have a frequency dungeon...

i dont even know how to code so dont ask me too much, i just try to think out of the box...
@Aerosys Which engine are you using? This will require code and needs to be moved to the appropriate forum.
@mlogan You can move it to Javascript (MZ) subforum, however it's a scientific problem and could be applied to any programming language.
You can't create a dungeon map with rumor - like with perlin noise - and expect to have a meaning, that's mean a path - those are generative algorithms that divide space equally in small chuncks each one independent.
To have a path you should use an evolutive algorithm, like the Prim one.

Some theory, and very usefull links in the bottom:

For actual practice, there are a lot of engines out there, you can go search "solvable labyrinths generator" + your coding language.

Mind that many many roguelike doesn't use total random dungeon generators, but demi-random. They mix up chuncks of maps with control tiles for exits.

In the meanwhile, why not using DONJON?
@Dororo Thanks for your Message!

I already assumed that the answer for my questions is a simple "No" - I may just accept it. I know the classical Maze algorithms and this is the base that my current Dungeon Generators use - it works well, but looks blocky. So I try to work with more complex algorithms to get Maps that look more natural.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-noise-maps-having-only-one-room.126796/