/dports/math/cliquer/autocliquer-1.22/src/ |
H A D | cl.c | 25 static int min_weight=0; variable 124 s=clique_unweighted_find_single(g,min_weight, in main() 233 min_weight=strtol(optarg,&ptr,10); in read_options() 239 if (min_weight==0 && max_weight>0) { in read_options() 257 if (max_weight>0 && min_weight==0) { in read_options() 264 min_weight=1; in read_options() 342 if (min_weight==0) { in print_search() 347 if (min_weight>0 && maximal) in print_search() 352 fprintf(stderr,"at least %d...",min_weight); in print_search() 353 } else if (min_weight==max_weight) { in print_search() [all …]
|
/dports/math/igraph/igraph-0.9.5/src/cliques/cliquer/ |
H A D | cliquer.c | 565 if (min_weight==0) in weighted_clique_search_single() 568 min_w=min_weight; in weighted_clique_search_single() 571 if (min_weight==1) { in weighted_clique_search_single() 598 if (min_weight && (search_weight >= min_weight)) { in weighted_clique_search_single() 835 return min_weight-1; in sub_weighted_all() 1396 ASSERT(min_weight>=0); in clique_find_single() 1416 min_weight=DIV_UP(min_weight,g->weights[0]); in clique_find_single() 1560 ASSERT(min_weight>=0); in clique_find_all() 1579 min_weight=DIV_UP(min_weight,g->weights[0]); in clique_find_all() 1629 if (min_weight==0) { in clique_find_all() [all …]
|
/dports/math/R-cran-igraph/igraph/src/cliquer/ |
H A D | cliquer.c | 568 if (min_weight==0) in weighted_clique_search_single() 571 min_w=min_weight; in weighted_clique_search_single() 574 if (min_weight==1) { in weighted_clique_search_single() 601 if (min_weight && (search_weight >= min_weight)) { in weighted_clique_search_single() 838 return min_weight-1; in sub_weighted_all() 1407 ASSERT(min_weight>=0); in clique_find_single() 1427 min_weight=DIV_UP(min_weight,g->weights[0]); in clique_find_single() 1570 ASSERT(min_weight>=0); in clique_find_all() 1589 min_weight=DIV_UP(min_weight,g->weights[0]); in clique_find_all() 1639 if (min_weight==0) { in clique_find_all() [all …]
|
/dports/math/cliquer/autocliquer-1.22/lib/ |
H A D | cliquer.c | 552 if (min_weight==0) in weighted_clique_search_single() 555 min_w=min_weight; in weighted_clique_search_single() 558 if (min_weight==1) { in weighted_clique_search_single() 585 if (min_weight && (search_weight >= min_weight)) { in weighted_clique_search_single() 816 return min_weight-1; in sub_weighted_all() 1371 ASSERT(min_weight>=0); in clique_find_single() 1389 min_weight=DIV_UP(min_weight,g->weights[0]); in clique_find_single() 1530 ASSERT(min_weight>=0); in clique_find_all() 1547 min_weight=DIV_UP(min_weight,g->weights[0]); in clique_find_all() 1595 if (min_weight==0) { in clique_find_all() [all …]
|
/dports/math/nauty/nauty27r3/ |
H A D | nautycliquer.c | 590 if (min_weight==0) in weighted_clique_search_single() 593 min_w=min_weight; in weighted_clique_search_single() 596 if (min_weight==1) { in weighted_clique_search_single() 623 if (min_weight && (search_weight >= min_weight)) { in weighted_clique_search_single() 860 return min_weight-1; in sub_weighted_all() 1423 ASSERT(min_weight>=0); in clique_find_single() 1443 min_weight=DIV_UP(min_weight,g->weights[0]); in clique_find_single() 1586 ASSERT(min_weight>=0); in clique_find_all() 1605 min_weight=DIV_UP(min_weight,g->weights[0]); in clique_find_all() 1655 if (min_weight==0) { in clique_find_all() [all …]
|
/dports/math/py-pynauty/pynauty-1.0.2/src/nauty27r1/ |
H A D | nautycliquer.c | 590 if (min_weight==0) in weighted_clique_search_single() 593 min_w=min_weight; in weighted_clique_search_single() 596 if (min_weight==1) { in weighted_clique_search_single() 623 if (min_weight && (search_weight >= min_weight)) { in weighted_clique_search_single() 860 return min_weight-1; in sub_weighted_all() 1423 ASSERT(min_weight>=0); in clique_find_single() 1443 min_weight=DIV_UP(min_weight,g->weights[0]); in clique_find_single() 1586 ASSERT(min_weight>=0); in clique_find_all() 1605 min_weight=DIV_UP(min_weight,g->weights[0]); in clique_find_all() 1655 if (min_weight==0) { in clique_find_all() [all …]
|
/dports/math/igraph/igraph-0.9.5/src/cliques/ |
H A D | cliquer_wrapper.c | 299 … igraph_real_t min_weight, igraph_real_t max_weight, igraph_bool_t maximal) { in igraph_i_weighted_cliques() argument 308 if (min_weight != (int) min_weight) { in igraph_i_weighted_cliques() 310 min_weight = (int) min_weight; in igraph_i_weighted_cliques() 318 if (min_weight <= 0) { in igraph_i_weighted_cliques() 319 min_weight = 1; in igraph_i_weighted_cliques() 325 if (max_weight > 0 && max_weight < min_weight) { in igraph_i_weighted_cliques() 339 CLIQUER_INTERRUPTABLE(clique_find_all(g, min_weight, max_weight, maximal, &igraph_cliquer_opt)); in igraph_i_weighted_cliques()
|
/dports/math/R-cran-igraph/igraph/src/ |
H A D | igraph_cliquer.c | 291 … igraph_real_t min_weight, igraph_real_t max_weight, igraph_bool_t maximal) { in igraph_i_weighted_cliques() argument 300 if (min_weight != (int) min_weight) { in igraph_i_weighted_cliques() 302 min_weight = (int) min_weight; in igraph_i_weighted_cliques() 310 if (min_weight <= 0) { in igraph_i_weighted_cliques() 311 min_weight = 1; in igraph_i_weighted_cliques() 317 if (max_weight > 0 && max_weight < min_weight) { in igraph_i_weighted_cliques() 331 CLIQUER_INTERRUPTABLE(clique_find_all(g, min_weight, max_weight, maximal, &igraph_cliquer_opt)); in igraph_i_weighted_cliques()
|
H A D | NetRoutines.cpp | 58 double av_k = 0.0, sum_weight = 0.0, min_weight = 1e60, max_weight = -1e60; in igraph_i_read_network() local 106 if (Links < min_weight) { in igraph_i_read_network() 107 min_weight = Links; in igraph_i_read_network() 134 net->min_weight = min_weight; in igraph_i_read_network()
|
/dports/www/osrm-backend/osrm-backend-5.26.0/unit_tests/util/ |
H A D | query_heap.cpp | 60 TestWeight min_weight = std::numeric_limits<TestWeight>::max(); in BOOST_FIXTURE_TEST_CASE_TEMPLATE() local 71 if (weights[idx] < min_weight) in BOOST_FIXTURE_TEST_CASE_TEMPLATE() 73 min_weight = weights[idx]; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() 140 TestWeight min_weight = heap.GetKey(min_id); in BOOST_FIXTURE_TEST_CASE_TEMPLATE() local 143 while (weights[id] > min_weight) in BOOST_FIXTURE_TEST_CASE_TEMPLATE() 147 BOOST_CHECK_EQUAL(heap.MinKey(), min_weight); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
|
/dports/www/py-wagtail/wagtail-2.14.2/wagtail/contrib/postgres_search/ |
H A D | utils.py | 93 min_weight = min(weights) 94 if min_weight <= 0: 95 if min_weight == 0: 96 min_weight = -0.1 97 weights = [w - min_weight for w in weights]
|
/dports/math/igraph/igraph-0.9.5/tests/unit/ |
H A D | igraph_gomory_hu_tree.c | 34 igraph_real_t min_weight, flow_value; in validate_tree() local 71 min_weight = VECTOR(*flow)[(long int)VECTOR(edges)[0]]; in validate_tree() 74 if (VECTOR(*flow)[(long int)VECTOR(edges)[k]] < min_weight) { in validate_tree() 75 min_weight = VECTOR(*flow)[(long int)VECTOR(edges)[k]]; in validate_tree() 81 if (flow_value != min_weight) { in validate_tree() 83 "expected %.4f from flow calculation\n", i, j, min_weight, flow_value); in validate_tree()
|
/dports/math/z3/z3-z3-4.8.13/src/opt/ |
H A D | wmax.cpp | 211 rational min_weight(-1); in remove_negations() local 217 if (i == 0 || weight < min_weight) { in remove_negations() 218 min_weight = weight; in remove_negations() 227 if (weight > min_weight) { in remove_negations() 228 weight -= min_weight; in remove_negations() 232 return min_weight; in remove_negations() 245 rational min_weight = remove_negations(th, core, keys, weights); in update_core() local 246 max_resolve(th, keys, min_weight); in update_core() 247 m_lower += min_weight; in update_core()
|
/dports/math/py-z3-solver/z3-z3-4.8.10/src/opt/ |
H A D | wmax.cpp | 211 rational min_weight(-1); 217 if (i == 0 || weight < min_weight) { 218 min_weight = weight; 227 if (weight > min_weight) { 228 weight -= min_weight; 232 return min_weight; 245 rational min_weight = remove_negations(th, core, keys, weights); 246 max_resolve(th, keys, min_weight); 247 m_lower += min_weight;
|
/dports/science/hypre/hypre-2.23.0/src/parcsr_ls/ |
H A D | par_stats.c | 106 HYPRE_Real min_weight; in hypre_BoomerAMGSetupStats() local 710 min_weight = 1.0; in hypre_BoomerAMGSetupStats() 729 min_weight = hypre_min(min_weight, tmp_norm); in hypre_BoomerAMGSetupStats() 741 min_weight = hypre_min(min_weight, tmp_norm); in hypre_BoomerAMGSetupStats() 764 min_weight = hypre_min(min_weight, tmp_norm); in hypre_BoomerAMGSetupStats() 775 min_weight = hypre_min(min_weight, tmp_norm); in hypre_BoomerAMGSetupStats() 825 min_weight = 1.0; in hypre_BoomerAMGSetupStats() 837 min_weight = hypre_min(min_weight, P_diag_data[j]); in hypre_BoomerAMGSetupStats() 844 min_weight = hypre_min(min_weight, P_offd_data[j]); in hypre_BoomerAMGSetupStats() 864 min_weight = hypre_min(min_weight, P_diag_data[i]); in hypre_BoomerAMGSetupStats() [all …]
|
/dports/math/snns/SNNSv4.3/kernel/sources/ |
H A D | init_f.c | 83 range = max_weight - min_weight; in INIT_randomizeWeights() 92 unit_ptr->bias = min_weight; in INIT_randomizeWeights() 97 link_ptr->weight = min_weight; in INIT_randomizeWeights() 103 link_ptr->weight = min_weight; in INIT_randomizeWeights() 166 range = max_weight - min_weight; in INIT_RM_randomizeWeights() 175 unit_ptr->bias = min_weight; in INIT_RM_randomizeWeights() 250 range = max_weight - min_weight; in INIT_randomizeWeights_perc() 268 unit_ptr->bias = min_weight; in INIT_randomizeWeights_perc() 273 link_ptr->weight = min_weight; in INIT_randomizeWeights_perc() 299 (max_weight/ar - min_weight/ar) + (min_weight/ar); in INIT_randomizeWeights_perc() [all …]
|
/dports/databases/xapian-core12/xapian-core-1.2.25/matcher/ |
H A D | multimatch.cc | 500 Xapian::weight min_weight = weight_cutoff; in get_mset() local 534 if (min_weight > 0.0) { in get_mset() 548 if (min_weight > 0.0) { in get_mset() 569 if (sort_by != VAL || min_weight > 0.0) { in get_mset() 571 if (wt < min_weight) { in get_mset() 743 if (min_item.wt > min_weight) { in get_mset() 746 min_weight = min_item.wt; in get_mset() 796 if (w > min_weight) { in get_mset() 797 min_weight = w; in get_mset() 806 Assert(items.back().wt < min_weight); in get_mset() [all …]
|
/dports/databases/xapian-core/xapian-core-1.4.18/matcher/ |
H A D | multimatch.cc | 576 double min_weight = weight_cutoff; in get_mset() local 610 if (min_weight > 0.0) { in get_mset() 624 if (min_weight > 0.0) { in get_mset() 645 if (sort_by != VAL || min_weight > 0.0) { in get_mset() 647 if (wt < min_weight) { in get_mset() 822 if (min_item.wt > min_weight) { in get_mset() 825 min_weight = min_item.wt; in get_mset() 875 if (w > min_weight) { in get_mset() 876 min_weight = w; in get_mset() 885 Assert(items.back().wt < min_weight); in get_mset() [all …]
|
/dports/databases/xapian-core/xapian-core-1.4.18/backends/remote/ |
H A D | net_postlist.cc | 91 NetworkPostList::skip_to(Xapian::docid did, double min_weight) in skip_to() argument 94 next(min_weight); in skip_to() 96 next(min_weight); in skip_to()
|
/dports/databases/xapian-core12/xapian-core-1.2.25/backends/remote/ |
H A D | net_postlist.cc | 93 NetworkPostList::skip_to(Xapian::docid did, Xapian::weight min_weight) in skip_to() argument 96 next(min_weight); in skip_to() 98 next(min_weight); in skip_to()
|
/dports/www/py-django-tagging/django-tagging-0.5.0/tagging/ |
H A D | utils.py | 228 def _calculate_thresholds(min_weight, max_weight, steps): argument 229 delta = (max_weight - min_weight) / float(steps) 230 return [min_weight + i * delta for i in range(1, steps + 1)] 265 min_weight = float(min(counts)) 267 thresholds = _calculate_thresholds(min_weight, max_weight, steps)
|
/dports/math/igraph/igraph-0.9.5/src/community/spinglass/ |
H A D | NetRoutines.cpp | 56 double av_k = 0.0, sum_weight = 0.0, min_weight = 1e60, max_weight = -1e60; in igraph_i_read_network() local 94 if (Links < min_weight) { in igraph_i_read_network() 95 min_weight = Links; in igraph_i_read_network() 122 net->min_weight = min_weight; in igraph_i_read_network()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/benchmark/python/quantization/ |
H A D | benchmark_op.py | 47 min_weight = mx.sym.Variable(name='min_weight', shape=(1,), dtype='float32') 50 min_weight=min_weight, max_weight=max_weight, 58 min_weight.name: quantize_int8_helper(args[conv_weight_name])[1],
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/benchmark/python/quantization/ |
H A D | benchmark_op.py | 47 min_weight = mx.sym.Variable(name='min_weight', shape=(1,), dtype='float32') 50 min_weight=min_weight, max_weight=max_weight, 58 min_weight.name: quantize_int8_helper(args[conv_weight_name])[1],
|
/dports/www/interchange/interchange-5.6.3/lib/Vend/Ship/ |
H A D | Postal.pm | 92 $opt->{min_weight} ||= 1; 94 $weight = $opt->{min_weight} if $opt->{min_weight} > $weight;
|