concepts.benchmark.gridworld.crafting_world.crafting_world_gen.cw_20230204_minining_only.gen_locations_and_objects#

gen_locations_and_objects(n, inventory_size)[source]#

Sample a linear map by randomly placing mining locations and tools on the map.

Parameters:
  • n (int) –

  • inventory_size (int) –

Return type:

Tuple[str, str, int, list, list]