def calculate_map_dist(self):
        nnodes = self.codebook.nnodes

        distance_matrix = np.zeros((nnodes, nnodes))
        for i in range(nnodes):
            distance_matrix[i] = self.codebook.grid_dist(i).reshape(1, nnodes)

        return distance_matrix
Remove given item from queue
dataset/ETHPy150Open sevamoo/SOMPY/sompy.py/SOM.calculate_map_dist--crossover with--dataset/ETHPy150Open ReactiveX/RxPY/rx/internal/priorityqueue.py/PriorityQueue.remove