removed logging in procedural generation function

This commit is contained in:
Mehul Maheshwari 2025-03-12 19:44:28 -07:00
parent ff60dc6a45
commit 6de37f2ebf
2 changed files with 3 additions and 3 deletions

View file

@ -441,7 +441,7 @@ export function proceduralGeneration(m = 20,
newZ >= 0 && newZ + newDepth <= p &&
isSpaceValid(newX, newY, newZ, newLength, newWidth, newDepth)
) {
console.log(`Placing room at (${newX}, ${newY}, ${newZ}) with dimensions (${newLength}x${newWidth}x${newDepth})`);
// console.log(`Placing room at (${newX}, ${newY}, ${newZ}) with dimensions (${newLength}x${newWidth}x${newDepth})`);
for (let di = 0; di < newDepth; di++) {
for (let dj = 0; dj < newLength; dj++) {
for (let dk = 0; dk < newWidth; dk++) {

View file

@ -148,8 +148,8 @@ function generateConstructionTasks(variants) {
//Main: writes the generated tasks to a file.
// VARIABLES TO CHANGE HERE
const variants = 1
const file = './test_multiagent_construction_tasks.json'
const variants = 5
const file = './train_multiagent_construction_tasks.json'
const tasks = generateConstructionTasks(variants);
// Clear existing file content