The application relates to the technical field of intelligent space
layout generation, and discloses an indoor
layout generation method and
system based on double-track constraints, wherein the method comprises the following steps: acquiring indoor space structure data; constructing a current
layout state and a candidate action set; scoring the candidate action based on a conditional scoring model; generating a
score sequence after hard constraint modulation; calculating soft constraint energy; generating a candidate action probability distribution; and performing a step-by-step indoor layout generation task. Compared with the prior art which mainly relies on a single scoring model for layout generation, especially in a complex indoor scene with clear space non-placing areas and traffic constraints, it is difficult to guarantee layout legality and generation diversity at the same time. Due to the double-track constraint mechanism of hard constraint Boolean gate modulation and soft constraint energy hierarchical accumulation, the application realizes the probabilistic modeling of the prior legality screening and subsequent rationality differentiation of the candidate layout action, and improves the overall indoor layout generation quality.