↓ 1 callersFunctionite_ternary_searchIterative method of the ternary search algorithm. >>> test_list = [0, 1, 2, 8, 13, 17, 19, 32, 42] >>> ite_ternary_search(test_list, 3) -1
searches/ternary_search.py:62
↓ 1 callersFunctioniter_merge_sort Return a sorted copy of the input list >>> iter_merge_sort([5, 9, 8, 7, 1, 2, 7]) [1, 2, 5, 7, 7, 8, 9] >>> iter_merge_sort([1])
sorts/iterative_merge_sort.py:29
↓ 1 callersFunctionjoint_probability_distribution >>> joint_distribution = joint_probability_distribution( ... [1, 2], [-2, 5, 8], [0.7, 0.3], [0.3, 0.5, 0.2] ... ) >>> from math
maths/joint_probability_distribution.py:7
↓ 1 callersFunctionlargest_square_area_in_matrix_bottom_up Function updates the largest_square_area, using bottom up approach. >>> largest_square_area_in_matrix_bottom_up(2, 2, [[1,1], [1,1]]) 2
matrix/largest_square_area_in_matrix.py:124
↓ 1 callersFunctionlist_truncated_nums
Returns a list of all left and right truncated numbers of n
>>> list_truncated_nums(927628)
[927628, 27628, 92762, 7628, 9276, 628, 92
project_euler/problem_037/sol1.py:59
↓ 1 callersFunctionload_data Returns a sample transaction dataset. >>> load_data() [['milk'], ['milk', 'butter'], ['milk', 'bread'], ['milk', 'bread', 'chips']]
machine_learning/apriori_algorithm.py:18
↓ 1 callersFunctionmain Ant colony algorithm main function >>> main(cities=cities, ants_num=10, iterations_num=20, ... pheromone_evaporation=0.7, alpha=1.0,
graphs/ant_colony_optimization_algorithms.py:29