MCPcopy Create free account

hub / github.com/Valdecy/pyCombinatorial / functions

Functions792 in github.com/Valdecy/pyCombinatorial

↓ 2 callersFunctionlocal_search_2_opt
(distance_matrix, city_tour, recursive_seeding = -1, verbose = True)
pyCombinatorial/algorithm/gksp.py:120
↓ 2 callersFunctionlocal_search_lkh_strong
(distance_matrix, city_tour, candidate_size = 20, alpha_candidates = True, ascent_iterations = 100, max_depth
pyCombinatorial/algorithm/lkh.py:1041
↓ 2 callersFunctionls2opt
(distanceMatrix, individual, recursive)
pyCombinatorial/web/js/algorithms/grasp.js:58
↓ 2 callersFunctionmakeIndividual
(distanceMatrix, route, symmetric)
pyCombinatorial/web/js/algorithms/hgs.js:104
↓ 2 callersFunctionmakeQNoisy
(n, rng)
pyCombinatorial/web/js/algorithms/rl_double_ql.js:24
↓ 2 callersFunctionmakeSymmetricCandidates
(candidates, candidateSize, distanceMatrix)
pyCombinatorial/web/js/algorithms/lkh.js:156
↓ 2 callersFunctionmin_2
(distance_matrix, i)
pyCombinatorial/algorithm/bb.py:25
↓ 2 callersFunctionminimumOneTree
(distanceMatrix, pi, root)
pyCombinatorial/web/js/algorithms/lkh.js:240
↓ 2 callersFunctionminimumSpanningTree
(distanceMatrix)
pyCombinatorial/web/js/algorithms/_shared.js:78
↓ 2 callersFunctionout
()
pyCombinatorial/web/js/algorithms/ins_c.js:30
↓ 2 callersFunctionparseCoords
(text)
pyCombinatorial/web/js/core/dataset.js:116
↓ 2 callersFunctionpatchCycles
(a, b, distanceMatrix)
pyCombinatorial/web/js/algorithms/_ksp_helpers.js:83
↓ 2 callersFunctionpathThreeOpt
(dist, nPath, maxNeighbors, trialsParam, rng, fixedPair)
pyCombinatorial/web/js/algorithms/popm.js:337
↓ 2 callersFunctionperturb4opt
(distanceMatrix, guess, rng)
pyCombinatorial/web/js/algorithms/sa.js:25
↓ 2 callersFunctionpointInPoly
(p, poly)
pyCombinatorial/web/js/algorithms/conc_hull.js:32
↓ 2 callersFunctionpoint_on_line
(a, b, c)
pyCombinatorial/algorithm/conc_hull.py:72
↓ 2 callersFunctionrand
()
pyCombinatorial/web/js/core/dataset.js:63
↓ 2 callersFunctionrandint
(rng, a, b)
pyCombinatorial/web/js/algorithms/popm.js:62
↓ 2 callersFunctionrandomKey
(n, rng)
pyCombinatorial/web/js/algorithms/brkga.js:32
↓ 2 callersFunctionrandomizedGreedy
(distanceMatrix, rng, rcl = 5)
pyCombinatorial/web/js/algorithms/lkh.js:456
↓ 2 callersFunctionranking
(distance_matrix, city = 0)
pyCombinatorial/algorithm/grasp.py:60
↓ 2 callersFunctionrcLConstruct
(distanceMatrix, greediness, rng)
pyCombinatorial/web/js/algorithms/grasp.js:32
↓ 2 callersFunctionreduceMatrix
(M, n)
pyCombinatorial/web/js/algorithms/tbb.js:17
↓ 2 callersFunctionremove_point
(points, point_)
pyCombinatorial/algorithm/conc_hull.py:113
↓ 2 callersFunctionright_of_line
(a, b, c)
pyCombinatorial/algorithm/conc_hull.py:79
↓ 2 callersFunctionrouletteWheel
(cum, rng)
pyCombinatorial/web/js/algorithms/ga.js:65
↓ 2 callersFunctionroulette_wheel
(fitness)
pyCombinatorial/algorithm/ga.py:92
↓ 2 callersFunctionrouteCost
(distanceMatrix, route)
pyCombinatorial/web/js/algorithms/hgs.js:30
↓ 2 callersMethodrunToEnd
advance until done
pyCombinatorial/web/js/core/stepper.js:106
↓ 2 callersFunctionseed_function
(distance_matrix)
pyCombinatorial/algorithm/rt.py:19
↓ 2 callersFunctionselectNeuron
(neurons, ind)
pyCombinatorial/web/js/algorithms/som.js:28
↓ 2 callersFunctionselect_neuron
(neurons, individual)
pyCombinatorial/algorithm/som.py:62
↓ 2 callersMethodsetCoords
(coords)
pyCombinatorial/web/js/core/renderer.js:52
↓ 2 callersFunctionsetSpeed
(ms)
pyCombinatorial/web/js/main.js:599
↓ 2 callersFunctionshuffleIdx
(arr, rng)
pyCombinatorial/web/js/algorithms/alns.js:32
↓ 2 callersFunctionshuffleIdx
(arr, rng)
pyCombinatorial/web/js/algorithms/lns.js:23
↓ 2 callersMethodshutdown
(self)
pyCombinatorial/web/__init__.py:46
↓ 2 callersFunctionstoch2opt
(distanceMatrix, tour, rng)
pyCombinatorial/web/js/algorithms/s_vns.js:23
↓ 2 callersFunctionstochastic_2_opt
(distance_matrix, city_tour)
pyCombinatorial/algorithm/s_vns.py:29
↓ 2 callersFunctionstrongly_connected_components
(graph)
pyCombinatorial/algorithm/gksp.py:69
↓ 2 callersFunctionstrongly_connected_components
(graph)
pyCombinatorial/algorithm/ksp.py:69
↓ 2 callersFunctionsubMatrix
(distanceMatrix, indices)
pyCombinatorial/web/js/algorithms/popm.js:106
↓ 2 callersFunctionsuccessorPredecessor
(route0)
pyCombinatorial/web/js/algorithms/lkh.js:127
↓ 2 callersFunctionsurvivorSelection
(population, populationSize, elite, closest)
pyCombinatorial/web/js/algorithms/hgs.js:274
↓ 2 callersFunctionswitchAlgorithm
(id)
pyCombinatorial/web/js/main.js:285
↓ 2 callersFunctiontourCost
(distanceMatrix, tour0)
pyCombinatorial/web/js/algorithms/popm.js:76
↓ 2 callersFunctiontwoOptLocalSearch
(distanceMatrix, route, candidate, maxPasses = 50)
pyCombinatorial/web/js/algorithms/hgs.js:200
↓ 2 callersFunctionupdate_thau
(distance_matrix, thau, city_list)
pyCombinatorial/algorithm/aco.py:52
↓ 2 callersFunctionvalidDegrees
(adj)
pyCombinatorial/web/js/algorithms/ga_eax.js:68
↓ 1 callersFunctionConcaveHull
(coordinates, k = 3)
pyCombinatorial/algorithm/conc_hull.py:135
↓ 1 callersFunction_adp_loss
(old_edges, new_edges, edge_freq)
pyCombinatorial/algorithm/ga_eax.py:394
↓ 1 callersFunction_alpha_greedy_solution
(distance_matrix, candidates, alpha = None, initial_location = -1, rng = None)
pyCombinatorial/algorithm/lkh.py:569
↓ 1 callersFunction_apply_cycle
(adj, cycle)
pyCombinatorial/algorithm/ga_eax.py:311
↓ 1 callersFunction_apply_sequential_chain
Apply a sequential k-opt move described by chain = [t_1, t_2, ..., t_{2k}]. Edges x_i = (t_{2i-1}, t_{2i}) are removed, edges y_i = (t_{2i}, t_{2i
pyCombinatorial/algorithm/lkh.py:711
↓ 1 callersFunction_average_distance_to_closest
(individual, population, closest)
pyCombinatorial/algorithm/hgs.py:119
↓ 1 callersFunction_broken_pairs_distance
(edges_a, edges_b, n)
pyCombinatorial/algorithm/hgs.py:112
↓ 1 callersFunction_build_edge_set_from_route
(route0)
pyCombinatorial/algorithm/lkh.py:676
↓ 1 callersFunction_build_mst_adjacency_no_root
(n, one_tree_edges, weighted, root)
pyCombinatorial/algorithm/lkh.py:352
↓ 1 callersFunction_build_multi_cycle_set
(cycles, center_idx, max_cycles = 3)
pyCombinatorial/algorithm/ga_eax.py:380
↓ 1 callersFunction_build_path
In-place recursive constructor on path[0..n] (n+1 elements). Keeps path[0] and path[n] fixed.
pyCombinatorial/algorithm/popm.py:397
↓ 1 callersFunction_build_url
(host: str, port: int)
pyCombinatorial/web/__init__.py:60
↓ 1 callersFunction_candidate_array
(candidates)
pyCombinatorial/algorithm/lkh.py:522
↓ 1 callersFunction_candidate_lists
(distance_matrix, candidates)
pyCombinatorial/algorithm/hgs.py:85
↓ 1 callersFunction_compute_beta_matrix
beta[i, j] = max edge weight on the unique i->j path in the MST spanning the n - 1 non-root nodes. Computed in O(n^2) with a single DFS per so
pyCombinatorial/algorithm/lkh.py:362
↓ 1 callersFunction_compute_edge_frequency
(population)
pyCombinatorial/algorithm/ga_eax.py:219
↓ 1 callersFunction_connected_components
(adj)
pyCombinatorial/algorithm/ga_eax.py:136
↓ 1 callersFunction_cycle_route_from_component
(adj, component)
pyCombinatorial/algorithm/ga_eax.py:155
↓ 1 callersFunction_double_bridge
(route, rng)
pyCombinatorial/algorithm/hgs.py:222
↓ 1 callersFunction_double_bridge
(route0, rng)
pyCombinatorial/algorithm/lkh.py:1022
↓ 1 callersFunction_double_bridge_kick
(state, rng)
pyCombinatorial/algorithm/popm.py:292
↓ 1 callersMethod_drawCandidates
(cands)
pyCombinatorial/web/js/core/renderer.js:259
↓ 1 callersMethod_drawExtraEdges
* Extra edges — for MST, convex hull, candidate forests, etc. * Each edge: [a, b] (0-indexed) or { a, b, color?, alpha?, width?, dash? }.
pyCombinatorial/web/js/core/renderer.js:280
↓ 1 callersMethod_drawHighlight
(h)
pyCombinatorial/web/js/core/renderer.js:224
↓ 1 callersMethod_drawNeurons
SOM neurons: draws the closed ring of neuron positions
pyCombinatorial/web/js/core/renderer.js:302
↓ 1 callersMethod_drawPartial
partial path uses 0-indexed ids (used by branch & bound)
pyCombinatorial/web/js/core/renderer.js:206
↓ 1 callersFunction_eax_candidate_from_pair
(parent_a, parent_b, distance_matrix, near_cities, edge_freq, population_size, offspring_size, stage_mode, div
pyCombinatorial/algorithm/ga_eax.py:422
↓ 1 callersFunction_edge_set
(route, symmetric)
pyCombinatorial/algorithm/hgs.py:98
↓ 1 callersFunction_entropy_loss
(old_edges, new_edges, edge_freq, population_size)
pyCombinatorial/algorithm/ga_eax.py:404
↓ 1 callersFunction_exact_alpha_values_fast
(distance_matrix, pi, one_tree_edges, root = 0)
pyCombinatorial/algorithm/lkh.py:383
↓ 1 callersFunction_extract_ab_cycles
(parent_a, parent_b, distance_matrix, rng)
pyCombinatorial/algorithm/ga_eax.py:248
↓ 1 callersFunction_fast_popmusic
`tour` is a closed Hamiltonian tour: tour[0] == tour[-1], len = n+1.
pyCombinatorial/algorithm/popm.py:492
↓ 1 callersFunction_get_active
()
pyCombinatorial/web/__init__.py:71
↓ 1 callersFunction_intensify_2opt
(distance_matrix, route0, cand_arr, max_passes = 100, use_dont_look_bits = True)
pyCombinatorial/algorithm/lkh.py:604
↓ 1 callersFunction_is_symmetric
(distance_matrix, atol = 1e-10)
pyCombinatorial/algorithm/hgs.py:79
↓ 1 callersFunction_kick
(route0, rng, kicks = 1)
pyCombinatorial/algorithm/lkh.py:1031
↓ 1 callersFunction_legal_t
(state, r, i, t)
pyCombinatorial/algorithm/popm.py:349
↓ 1 callersFunction_lk_intensify
Outer loop of the faithful LK search with don't-look bits. Each pass scans every node t_1 in turn; whenever an improving move is found from a
pyCombinatorial/algorithm/lkh.py:833
↓ 1 callersFunction_lk_sequential_search_from
Run the faithful sequential k-opt search starting from a single t_1. Returns (best_route, best_gain, best_chain) — the best improving chain ro
pyCombinatorial/algorithm/lkh.py:752
↓ 1 callersFunction_make_population
(distance_matrix, population_size, rng, local_search = True, initial_location = -1, initial_population = None)
pyCombinatorial/algorithm/ga_eax.py:200
↓ 1 callersFunction_merge_candidates
(alpha_candidates, nearest_candidates, candidate_size, distance_matrix = None)
pyCombinatorial/algorithm/lkh.py:488
↓ 1 callersFunction_mst_prim
(weight_matrix, nodes)
pyCombinatorial/algorithm/lkh.py:232
↓ 1 callersFunction_nearest_city_list
(distance_matrix)
pyCombinatorial/algorithm/ga_eax.py:173
↓ 1 callersFunction_nearest_neighbour_solution
(distance_matrix, initial_location = -1, random_start = False, rng = None)
pyCombinatorial/algorithm/lkh.py:533
↓ 1 callersFunction_ordered_crossover
(parent_a, parent_b, rng)
pyCombinatorial/algorithm/hgs.py:187
↓ 1 callersFunction_patch_two_fragments
(distance_matrix, route0, i, j, old_distance = None)
pyCombinatorial/algorithm/lkh.py:899
↓ 1 callersFunction_patching_pass
(distance_matrix, route0, cand_arr, max_trials_per_edge = 20)
pyCombinatorial/algorithm/lkh.py:925
↓ 1 callersFunction_path_length_successor
(succ, start, end)
pyCombinatorial/algorithm/lkh.py:138
↓ 1 callersFunction_prepare_distance_matrix
(distance_matrix)
pyCombinatorial/algorithm/hgs.py:66
↓ 1 callersFunction_prepare_initial_route
(distance_matrix, route, local_search = True)
pyCombinatorial/algorithm/ga_eax.py:191
↓ 1 callersFunction_random_route
(n, rng)
pyCombinatorial/algorithm/hgs.py:159
← previousnext →201–300 of 792, ranked by callers