↓ 1 callersFunctionget_data >>> get_data([[20, 60, 2012],[23, 90, 2015],[22, 50, 2011]]) [[20.0, 23.0, 22.0], [60.0, 90.0, 50.0], [2012.0, 2015.0, 2011.0]]
other/scoring_algorithm.py:27
↓ 1 callersFunctionget_distance Get the distance between a car (at index car_index) and the next car >>> get_distance([6, -1, 6, -1, 6], 2) 1 >>> get_distance([2, -1
cellular_automata/nagel_schrekenberg.py:60
↓ 1 callersFunctionget_distinct_edge
Return Distinct edges from edge array of multiple graphs
>>> sorted(get_distinct_edge(edge_array))
['a', 'b', 'c', 'd', 'e', 'f', 'g',
graphs/frequent_pattern_graph_miner.py:27
↓ 1 callersFunctionget_nodes
Returns nodes
format nodes={bitcode:edges that represent the bitcode}
>>> get_nodes([['ab', 5, '11111'], ['ac', 5, '11111'], ['df', 5,
graphs/frequent_pattern_graph_miner.py:74
↓ 1 callersFunctionget_support
Returns support
>>> get_support({5: {'11111': ['ab', 'ac', 'df', 'bd', 'bc']},
... 4: {'11101': ['ef', 'eg', 'de', 'fg'],
graphs/frequent_pattern_graph_miner.py:99
↓ 1 callersFunctionget_valid_pos Find all the valid positions a knight can move to from the current position. >>> get_valid_pos((1, 3), 4) [(2, 1), (0, 1), (3, 2)]
backtracking/knight_tour.py:6
↓ 1 callersFunctiongray_to_binary
Return binary image from gray image
>>> gray_to_binary(np.array([[127, 255, 0]]))
array([[False, True, False]])
>>> gray_to_bina
digital_image_processing/morphological_operations/dilation_operation.py:23
↓ 1 callersFunctionheap_sort >>> heap_sort([4, 2, 6, 8, 1, 7, 8, 22, 14, 56, 27, 79, 23, 45, 14, 12]) [1, 2, 4, 6, 7, 8, 8, 12, 14, 14, 22, 23, 27, 45, 56, 79] >>> he
sorts/intro_sort.py:59