This commit is contained in:
Luigi Malomo 2021-11-17 15:43:42 +01:00
parent 2c1279f880
commit 22b9044222
1 changed files with 6 additions and 12 deletions

View File

@ -207,18 +207,12 @@ public:
typedef SimpleTempData<std::vector<VertexType>, TempData > TempDataType;
class pred {
public:
pred () {};
bool operator()(const VertDist& v0, const VertDist& v1) const
{return (v0.d > v1.d);}
};
//struct pred: public std::binary_function<VertDist,VertDist,bool>{
// pred(){}
// bool operator()(const VertDist& v0, const VertDist& v1) const
// {return (v0.d > v1.d);}
//};
struct pred {
pred() {};
bool operator()(const VertDist& v0, const VertDist& v1) const {
return (v0.d > v1.d);
}
};
/*
*