-Shiny_Tsukkomi-
Are there any good mathematical people out there who are capable of calculating how many possible mazes can be generated from the conditions given stated above? I have NO idea how to calculate that.
I bet the answer requires some scientific notation...
Any suggestions and feedback are appreciated. ^^
After much brain bewilderment, I found your answer.
There are 54 doors total in yellow maze (10 2-door rooms, 9 3-door rooms, 1 4-door room, and 3 1 door rooms (entrance and exit and DE)).
Therefore if I keep picking a random door and connecting it with another random door, there are. 54! Possible permutations of doors as I connect them. However, the order in which I pair them off doesn't matter, so I'll divide by the number of possible permutations of pairs of doors, which is 27!.. Also you need to divide by 2^(number of pairs) since direction of each connection is irrelevant
So for YM it's (54!/27!)/(2^27) Possible mazes.
Same logic for GRs gives (52!/26!)/(2^26) Possible mazes.
Lol also, for every set of identical rooms, divide the result by n!, where n is the number of identical rooms. (Edit: Wait a second.... I smell this being invalid.
rofl with 2 unique 2-door rooms, my formula evaluates to 3, which is correct.. but if the rooms are identical, this would reduce it to 1.5, but it should still be 3 @_@ what I do wrong?
crying )
EDIT: CRAP! I FORGOT ALL THE ROOMS HAVE TO BE CONNECTED IN 1 GROUP...
crying Lol this count is wrong... back to square one.
crying