#ifndef _neighbours_h #define _neighbours_h #include struct sosed // neighbour for a data point { int id; double distance; long OrderNumber; Bool operator> (sosed nbr) { return distance > nbr.distance ? TRUE : FALSE; } Bool operator< (sosed nbr) { return distance < nbr.distance ? TRUE : FALSE; } }; #endif