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

Comparing trunk/Search/Ranker.h (file contents):
Revision 1 by douglas, 2002-12-04T20:22:59-08:00 vs.
Revision 15 by douglas, 2002-12-09T09:46:18-08:00

# Line 79 | Line 79 | private:
79          void checkRequired();
80          void checkExcluded();
81          void checkEitherOr();
82 <        unsigned find(string& word, string& where);
83 <        unsigned find(string& word, string& where, map<unsigned, unsigned>&
82 >        unsigned find(string word, const string& where);
83 >        unsigned find(string word, const string& where, map<unsigned, unsigned>&
84                  occurrences);
85 <        unsigned phrase(string& phrase, string& where);
86 <        unsigned phrase(string& phrase, string& where, map<unsigned, unsigned>&
85 >        unsigned phrase(const string& phrase, const string& where);
86 >        unsigned phrase(const string& phrase, const string& where, map<unsigned,
87 >                unsigned>& occurrences);
88 >        unsigned phrase(const vector<string>& words, unsigned word, unsigned&
89 >                begin, bool start, const string& where);
90 >        unsigned phrase(const vector<string>& words, unsigned word, unsigned&
91 >                begin, bool start, const string& where, map<unsigned, unsigned>&
92                  occurrences);
88        unsigned phrase(vector<string>& words, unsigned word, unsigned& begin, bool
89                start, string& where);
90        unsigned phrase(vector<string>& words, unsigned word, unsigned& begin, bool
91                start, string& where, map<unsigned, unsigned>& occurrences);
93          unsigned evaluate(vector<unsigned>& ins);
94          void decrap(string& crap);
95   public:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines