#include <iostream>
#include <vector>
#include <queue>
using namespace std;
const int inf=0x3f3f3f3f;
int T,N;
int B[1006];
int d[1006];
struct node{
int v;
int edge;
node(int _v,int _e):v(_v),edge(_e){}
};
vector<node>G[1006];
struct No{
int d,num;
bool operator < (const No& ret) const{
return d>ret.d;
}
};
//......
请问这段代码中的
bool operator < (const No& ret) const{
return d>ret.d;
}
是什么意思?