search for: nbcluster

Displaying 5 results from an estimated 5 matches for "nbcluster".

Did you mean: ndbcluster
2014 Mar 19
1
Memcheck: Invalid read of size 4
...== by 0x10C5DE4F: kml1 (kml.c:151) ... ==27283== at 0x10C5DF90: kml1 (kml.c:198) --- 8< ---------------- Here is the function kml1 from the file kml.c (I add some comments to tag the lines 151, 183 and 198) --- 8< ---------------- void kml1(double *traj, int *nbInd, int *nbTime, int *nbClusters, int *maxIt, int *clusterAffectation1, int *convergenceTime){ int i=0,iter=0; int *clusterAffectation2=malloc(*nbInd * sizeof(int)); // lines 151 double *trajMean=malloc(*nbClusters * *nbTime * sizeof(double)); for(i = 0; i < *nbClusters * *nbTime; i++...
2009 Sep 09
1
Package that does not work until I re write the exactly the same code
...ment 'mode' incorrect --- 8< -------------- So I make some verifications: --- 8< ---- class(dn) # [1] "ClusterizLongData" # attr(,"package") # [1] "kml" getMethod("kml","ClusterizLongData") # Method Definition: # # function (Object, nbClusters = 2:6, nbRedrawing = 20, saveFreq = 100, # maxIt = 200, trajMinSize = 2, print.cal = FALSE, print.traj = FALSE, # imputationMethod = "copyMean", distance, power = 2, centerMethod = meanNA, # startingCond = "allMethods", distanceStartingCond = "euclidean", #...
2009 Feb 08
2
Strange behavior of C compiled program
Hi the list, I need to include some C code in R, but the behavior of the C code is strange : Here is my code : --- 8< --- Rprintf("\n XXXX mTraj=%f mClus=%f",mTraj[i+nbId*c],mClustersCenter[j+nbClusters*c]); Rprintf("\nDistA=%d Tmp=%d",dist,tmp); tmp = mTraj[i+nbId* c] - mClustersCenter [j+nbClusters* c]; Rprintf("\nDistB=%d Tmp=%d",dist,tmp); dist += (tmp * tmp); Rprintf("\nDistC=%d Tmp=%d",dist,tmp); --- 8< ---- Herer are...
2008 Mar 08
3
replace astdb with a cluster-capable sql database engine
...ialplan then it will always be using astdb regardless of realtime. Some projects like Callweaver have forked from Asterisk 1.2 and replaced astdb with sqlite. I'm wondering if Asterisk has plans to allow the user to choose the astdb backend: standard db1, sqlite, MySQL (which I would use with nbcluster for my clustering purposes), Postgresql with Slony-II, PGcluster, etc. Or is it already possible? There has been some talk on this before: http://lists.digium.com/pipermail/asterisk-dev/2004-December/007846.html Also, the func_odbc feature seems to be very powerful: http://www.asteriskpbx.org/fu...
2008 Mar 09
0
replace astdb with a cluster-capable sql database engine (was: Re: asterisk-users Digest, Vol 44, Issue 22)
...; astdb regardless of realtime. > > Some projects like Callweaver have forked from > Asterisk 1.2 and replaced astdb with sqlite. > > I'm wondering if Asterisk has plans to allow the user > to choose the astdb backend: standard db1, sqlite, > MySQL (which I would use with nbcluster for my > clustering purposes), Postgresql with Slony-II, > PGcluster, etc. > > Or is it already possible? > > There has been some talk on this before: > http://lists.digium.com/pipermail/asterisk-dev/2004-December/007846.html > > Also, the func_odbc feature seems to be...