Home
last modified time | relevance | path

Searched refs:newweight (Results 1 – 25 of 30) sorted by relevance

12

/dports/misc/elki/elki-release0.7.1-1166-gfb1fffdf3/elki-clustering/src/main/java/de/lmu/ifi/dbs/elki/algorithm/clustering/kmeans/initialization/
H A DKMeansPlusPlusInitialMeans.java258 double newweight = distQ.distance(latest, it); in updateWeights() local
259 if(newweight < weight) { in updateWeights()
260 weights.putDouble(it, newweight); in updateWeights()
261 weight = newweight; in updateWeights()
284 double newweight = distQ.distance(latest, it); in updateWeights() local
285 if(newweight < weight) { in updateWeights()
286 weights.putDouble(it, newweight); in updateWeights()
287 weight = newweight; in updateWeights()
/dports/biology/velvet/velvet_1.2.10/contrib/MetaVelvet-1.2.01/Peak/
H A DEMPeakDetector.cc284 int EMPeakDetector::myEM(double *group,long double *newave,long double *newweight,int count,int gro… in myEM() argument
299 weight[i] = newweight[i]; in myEM()
304 newweight[i] = 0; in myEM()
317 newweight[i] += t5; in myEM()
322 newave[i]= t4/newweight[i]; in myEM()
324 t3 += newweight[i]; in myEM()
328 newweight[i] /= t3 ; in myEM()
331 t1 += (ave[i]-newave[i])*(ave[i]-newave[i])+(weight[i]-newweight[i])*(weight[i]-newweight[i]); in myEM()
334 count = myEM(group,newave,newweight,count,groupNum,classNum,prob); in myEM()
H A DEMPeakDetector.hh12 …int myEM( double *group, long double *newave, long double *newweight, int count, int groupNum, int…
/dports/math/igraph/igraph-0.9.5/src/cliques/cliquer/
H A Dcliquer.c560 int newweight; in weighted_clique_search_single() local
619 newweight=0; in weighted_clique_search_single()
622 newweight += g->weights[table[j]]; in weighted_clique_search_single()
712 int newweight; in weighted_clique_search_all() local
728 newweight=0; in weighted_clique_search_all()
732 newweight+=g->weights[table[j]]; in weighted_clique_search_all()
738 j=sub_weighted_all(newtable,newsize,newweight, in weighted_clique_search_all()
823 int newweight; in sub_weighted_all() local
875 newweight = 0; in sub_weighted_all()
880 newweight += g->weights[w]; in sub_weighted_all()
[all …]
/dports/math/R-cran-igraph/igraph/src/cliquer/
H A Dcliquer.c563 int newweight; in weighted_clique_search_single() local
622 newweight=0; in weighted_clique_search_single()
625 newweight += g->weights[table[j]]; in weighted_clique_search_single()
715 int newweight; in weighted_clique_search_all() local
731 newweight=0; in weighted_clique_search_all()
735 newweight+=g->weights[table[j]]; in weighted_clique_search_all()
741 j=sub_weighted_all(newtable,newsize,newweight, in weighted_clique_search_all()
826 int newweight; in sub_weighted_all() local
878 newweight = 0; in sub_weighted_all()
883 newweight += g->weights[w]; in sub_weighted_all()
[all …]
/dports/math/cliquer/autocliquer-1.22/lib/
H A Dcliquer.c547 int newweight; in weighted_clique_search_single() local
606 newweight=0; in weighted_clique_search_single()
609 newweight += g->weights[table[j]]; in weighted_clique_search_single()
695 int newweight; in weighted_clique_search_all() local
711 newweight=0; in weighted_clique_search_all()
715 newweight+=g->weights[table[j]]; in weighted_clique_search_all()
721 j=sub_weighted_all(newtable,newsize,newweight, in weighted_clique_search_all()
804 int newweight; in sub_weighted_all() local
855 newweight = 0; in sub_weighted_all()
860 newweight += g->weights[w]; in sub_weighted_all()
[all …]
/dports/www/moodle311/moodle/lib/
H A Dblocklib.php923 $newbi->defaultweight = $newweight;
931 $bp->weight = $newweight;
939 $bp->weight = $newweight;
1847 $newweight = optional_param('bui_newweight', null, PARAM_FLOAT);
1848 if (!$newregion || is_null($newweight)) {
1907 … $bestdistance = max(abs($newweight - self::MAX_WEIGHT), abs($newweight + self::MAX_WEIGHT)) + 1;
1910 if (abs($newweight - $spareweight) < $bestdistance) {
1911 $bestdistance = abs($newweight - $spareweight);
1925 if ($bestgap < $newweight) {
1926 $newweight = floor($newweight);
[all …]
/dports/www/moodle310/moodle/lib/
H A Dblocklib.php923 $newbi->defaultweight = $newweight;
931 $bp->weight = $newweight;
939 $bp->weight = $newweight;
1847 $newweight = optional_param('bui_newweight', null, PARAM_FLOAT);
1848 if (!$newregion || is_null($newweight)) {
1907 … $bestdistance = max(abs($newweight - self::MAX_WEIGHT), abs($newweight + self::MAX_WEIGHT)) + 1;
1910 if (abs($newweight - $spareweight) < $bestdistance) {
1911 $bestdistance = abs($newweight - $spareweight);
1925 if ($bestgap < $newweight) {
1926 $newweight = floor($newweight);
[all …]
/dports/www/moodle39/moodle/lib/
H A Dblocklib.php923 $newbi->defaultweight = $newweight;
931 $bp->weight = $newweight;
939 $bp->weight = $newweight;
1835 $newweight = optional_param('bui_newweight', null, PARAM_FLOAT);
1836 if (!$newregion || is_null($newweight)) {
1895 … $bestdistance = max(abs($newweight - self::MAX_WEIGHT), abs($newweight + self::MAX_WEIGHT)) + 1;
1898 if (abs($newweight - $spareweight) < $bestdistance) {
1899 $bestdistance = abs($newweight - $spareweight);
1913 if ($bestgap < $newweight) {
1914 $newweight = floor($newweight);
[all …]
/dports/astro/sextractor/sextractor-2.5.0/src/
H A Dmakeit.c224 wfield = newweight(prefs.wimage_name[1],field,prefs.weight_type[1], in makeit()
241 dwfield=newweight(prefs.wimage_name[0],wfield,prefs.weight_type[0], in makeit()
247 dwfield = newweight(prefs.wimage_name[0], dfield?dfield:field, in makeit()
260 wfield = newweight(prefs.wimage_name[0], dfield?dfield:field, in makeit()
H A Dweight.h19 extern picstruct *newweight(char *filename, picstruct *reffield,
H A Dweight.c35 picstruct *newweight(char *filename, picstruct *reffield, in newweight() function
/dports/math/SCIP/scip-7.0.3/src/scip/
H A Dcons_knapsack.c830 weightdiff = newweight - oldweight; in consdataChgWeight()
831 consdata->weights[item] = newweight; in consdataChgWeight()
847 if( oldweight < newweight ) in consdataChgWeight()
8492 assert(newweight > 0); in dualWeightsTightening()
8613 assert(newweight > 0); in dualWeightsTightening()
8862 ++newweight; in dualWeightsTightening()
9352 SCIP_Longint newweight; in simplifyInequalities() local
9583 assert(newweight == 0 || SCIPcalcGreComDiv(gcd, newweight) == gcd); in simplifyInequalities()
9608 if( newweight == 0 ) in simplifyInequalities()
10315 SCIP_Longint newweight; in tightenWeights() local
[all …]
/dports/math/nauty/nauty27r3/
H A Dnautycliquer.c585 int newweight; in weighted_clique_search_single() local
644 newweight=0; in weighted_clique_search_single()
647 newweight += g->weights[table[j]]; in weighted_clique_search_single()
737 int newweight; in weighted_clique_search_all() local
753 newweight=0; in weighted_clique_search_all()
757 newweight+=g->weights[table[j]]; in weighted_clique_search_all()
763 j=sub_weighted_all(newtable,newsize,newweight, in weighted_clique_search_all()
848 int newweight; in sub_weighted_all() local
899 newweight = 0; in sub_weighted_all()
904 newweight += g->weights[w]; in sub_weighted_all()
[all …]
/dports/math/py-pynauty/pynauty-1.0.2/src/nauty27r1/
H A Dnautycliquer.c585 int newweight; in weighted_clique_search_single() local
644 newweight=0; in weighted_clique_search_single()
647 newweight += g->weights[table[j]]; in weighted_clique_search_single()
737 int newweight; in weighted_clique_search_all() local
753 newweight=0; in weighted_clique_search_all()
757 newweight+=g->weights[table[j]]; in weighted_clique_search_all()
763 j=sub_weighted_all(newtable,newsize,newweight, in weighted_clique_search_all()
848 int newweight; in sub_weighted_all() local
899 newweight = 0; in sub_weighted_all()
904 newweight += g->weights[w]; in sub_weighted_all()
[all …]
/dports/math/gap/gap-4.11.0/pkg/sophus-1.24/gap/
H A Dliecover.gi74 local changed, zero, a, vect, i, collvect, wrongweight, newweight;
95 newweight := MinimumList(
98 weights[wrongweight] := newweight;
/dports/games/torcs/torcs-1.3.7/src/drivers/berniw2/
H A Dpathfinder.cpp393 void Pathfinder::setLocWeighted(int id, double newweight, v3d* newp) in setLocWeighted() argument
400 if (newweight < 0.001) newweight = 0.001; in setLocWeighted()
402 if (oldweight + newweight == 0.0) printf("ops! O: %f, N: %f\n", oldweight, newweight); in setLocWeighted()
403 if (oldweight > newweight) { in setLocWeighted()
404 double d = newweight/(oldweight+newweight); in setLocWeighted()
407 ps[id].setWeight(oldweight+newweight); in setLocWeighted()
409 double d = oldweight/(oldweight+newweight); in setLocWeighted()
412 ps[id].setWeight(oldweight+newweight); in setLocWeighted()
H A Dpathfinder.h215 void setLocWeighted(int id, double newweight, v3d* newp);
/dports/games/torcs/torcs-1.3.7/src/drivers/berniw3/
H A Dpathfinder.cpp393 void Pathfinder::setLocWeighted(int id, double newweight, v3d* newp) in setLocWeighted() argument
400 if (newweight < 0.001) newweight = 0.001; in setLocWeighted()
402 if (oldweight + newweight == 0.0) printf("ops! O: %f, N: %f\n", oldweight, newweight); in setLocWeighted()
403 if (oldweight > newweight) { in setLocWeighted()
404 double d = newweight/(oldweight+newweight); in setLocWeighted()
407 ps[id].setWeight(oldweight+newweight); in setLocWeighted()
409 double d = oldweight/(oldweight+newweight); in setLocWeighted()
412 ps[id].setWeight(oldweight+newweight); in setLocWeighted()
H A Dpathfinder.h215 void setLocWeighted(int id, double newweight, v3d* newp);
/dports/games/torcs/torcs-1.3.7/src/drivers/berniw/
H A Dpathfinder.cpp393 void Pathfinder::setLocWeighted(int id, double newweight, v3d* newp) in setLocWeighted() argument
400 if (newweight < 0.001) newweight = 0.001; in setLocWeighted()
402 if (oldweight + newweight == 0.0) printf("ops! O: %f, N: %f\n", oldweight, newweight); in setLocWeighted()
403 if (oldweight > newweight) { in setLocWeighted()
404 double d = newweight/(oldweight+newweight); in setLocWeighted()
407 ps[id].setWeight(oldweight+newweight); in setLocWeighted()
409 double d = oldweight/(oldweight+newweight); in setLocWeighted()
412 ps[id].setWeight(oldweight+newweight); in setLocWeighted()
H A Dpathfinder.h215 void setLocWeighted(int id, double newweight, v3d* newp);
/dports/security/clamav-lts/clamav-0.103.5/libclamav/c++/llvm/lib/Analysis/
H A DProfileInfo.cpp453 double newweight = 0; in splitBlock() local
465 newweight += getEdgeWeight(oldedge); in splitBlock()
472 setEdgeWeight(newedge, newweight); in splitBlock()
473 setExecutionCount(NewBB, newweight); in splitBlock()
/dports/science/lammps/lammps-stable_29Sep2021/tools/i-pi/ipi/engine/
H A Dforces.py634 newweight = fbeads.weight
657 self.mweights.append(newweight)
/dports/comms/gnuradio/gnuradio-3.8.4.0/gnuradio-runtime/python/gnuradio/ctrlport/
H A Dgr-perf-monitorx539 newweight = buf_vals[n][sourceport]
540 e[2]["weight"] = newweight
547 newweight = 0.01
548 e[2]["weight"] = newweight

12