cleaning
This commit is contained in:
parent
2c1279f880
commit
22b9044222
|
|
@ -207,19 +207,13 @@ public:
|
||||||
typedef SimpleTempData<std::vector<VertexType>, TempData > TempDataType;
|
typedef SimpleTempData<std::vector<VertexType>, TempData > TempDataType;
|
||||||
|
|
||||||
|
|
||||||
class pred {
|
struct pred {
|
||||||
public:
|
pred() {};
|
||||||
pred () {};
|
bool operator()(const VertDist& v0, const VertDist& v1) const {
|
||||||
bool operator()(const VertDist& v0, const VertDist& v1) const
|
return (v0.d > v1.d);
|
||||||
{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);}
|
|
||||||
//};
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
curr: vertex for which distance should be estimated
|
curr: vertex for which distance should be estimated
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue