www.pudn.com > stereo.rar > PriorityQueue.h
#ifndef _PRIORITYQUEUE_H_ #define _PRIORITYQUEUE_H_ #include#include #include using namespace std; struct MatchPoint { int leftx,lefty,rightx,righty; double matchscore; int disp;//disparity bool operator < (const MatchPoint& a)const{ return matchscore < a.matchscore; } }; typedef priority_queue
priorqueue; typedef list CorrespondingMap; #endif //_PRIORITYQUEUE_H_