PHP Classes

File: bins.py

Recommend this page to a friend!
  Classes of Malik Naik   PHP Breadth First Search   bins.py   Download  
File: bins.py
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Breadth First Search
Find the shortest path to visit warehouse bins
Author: By
Last change:
Date: 5 months ago
Size: 427 bytes
 

Contents

Class file image Download
bin_mapping = {} for i in range(1, 12): bin_mapping['A' + str(i)] = i bin_mapping['B' + str(i)] = i for i in range(14, 25): bin_mapping['C' + str(i - 13)] = i bin_mapping['D' + str(i - 13)] = i for i in range(27, 38): bin_mapping['E' + str(i - 26)] = i bin_mapping['F' + str(i - 26)] = i for i in range(40, 51): bin_mapping['G' + str(i - 39)] = i bin_mapping['start'] = 14 print(bin_mapping)