Hi,
after using the search function for quite some time for the question i have i finally got to the point to post myself.
I have a struct defined as:
typedef list<classifyprobe> KNNLIST;Code:typedef struct{ double d; //distance int c; //classtype }classifyprobe;
Now i have that list and want to sort that list by its d, so i can see which classifyprobes have the least d so i can classify it. (Next neighbourhood classification)
How can i do it?
Thanks in advance!
~Jan



LinkBack URL
About LinkBacks


