concepts.benchmark.gridworld.crafting_world.crafting_world_gen.cw_20230829_crafting_only.gen_linear_tile#

gen_linear_tile(n)[source]#

Generate the object string and init string for a linear 1D map.

t1 t2 t3 t4 ... tn
Parameters:

n (int) – the length of the map.

Returns:

a tuple of the object string and init string.

Return type:

Tuple[str, str]