ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/Search/trunk/Searcher.hpp
(Generate patch)

Comparing:
trunk/Search/Searcher.h (file contents), Revision 331 by Douglas Thrift, 2004-04-05T15:50:25-07:00 vs.
trunk/Search/Searcher.hpp (file contents), Revision 348 by Douglas Thrift, 2004-05-26T17:44:17-07:00

# Line 48 | Line 48
48   //
49   // $Id$
50  
51 < #ifndef _Searcher_h_
52 < #define _Searcher_h_
51 > #ifndef _Searcher_hpp_
52 > #define _Searcher_hpp_
53  
54 < #include "Search.h"
55 < #include "Page.h"
56 < #include "URL.h"
57 < #include "Ranker.h"
54 > #include "Search.hpp"
55 > #include "Page.hpp"
56 > #include "URL.hpp"
57 > #include "Ranker.hpp"
58  
59   typedef multiset<Ranker, greater<Ranker> > MultiSet;
60   typedef multiset<Ranker, greater<Ranker> >::iterator MultiSetIterator;
# Line 67 | Line 67 | private:
67          MultiSet pages;
68          set<string> common;
69          vector<string> commonUsed;
70 <        bool and_;
71 <        bool or_;
70 >        bool and_, or_;
71          string ignore;
72 <        clock_t start;
74 <        clock_t finish;
72 >        clock_t start, finish;
73          void search(Page& page);
74          void setQuery();
75          void setCommon();
# Line 92 | Line 90 | public:
90          double time() { return double(finish - start) / double(CLOCKS_PER_SEC); }
91   };
92  
93 < #endif // _Searcher_h_
93 > #endif // _Searcher_hpp_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines