Reduce console scroll due to output while clustering.\n
Signed-off-by: James Ketrenos <james_gitlab@ketrenos.com>
This commit is contained in:
parent
3ff35c320e
commit
91357dfb37
@ -156,7 +156,7 @@ long int DBSCAN(Face **ppFaces, long int faceCount, double eps, int minPts) {
|
||||
freeChain(pNeighbors);
|
||||
pNeighbors = RangeQuery(ppFaces, faceCount, pFace, threshold);
|
||||
neighborCount = chainLength(pNeighbors);
|
||||
fprintf(stderr, "With eps of %f, %ld has %ld neighbors.\n", threshold, pFace->faceId, neighborCount);
|
||||
fprintf(stderr, "\rWith eps of %f, %ld has %ld neighbors.", threshold, pFace->faceId, neighborCount);
|
||||
}
|
||||
|
||||
if (neighborCount < minPts) {
|
||||
@ -480,7 +480,7 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
}
|
||||
|
||||
fprintf(stderr, "%ld clusters identified!\n", clusters);
|
||||
fprintf(stderr, "\n%ld clusters identified!\n", clusters);
|
||||
fprintf(stderr, "%ld NOISE\n", outlier);
|
||||
fprintf(stderr, "%ld UNDEFINED\n", undefined);
|
||||
fprintf(stderr, "%ld CORE\n", core);
|
||||
|
Loading…
x
Reference in New Issue
Block a user