1 |
|
/* ============================================================================ |
2 |
|
* Douglas Thrift's Search Engine License |
3 |
|
* |
4 |
< |
* Copyright (C) 2002-2003, Douglas Thrift. All Rights Reserved. |
4 |
> |
* Copyright (C) 2002-2004, Douglas Thrift. All Rights Reserved. |
5 |
|
* Redistribution and use in source and binary forms, with or without |
6 |
|
* modification, are permitted provided that the following conditions are met: |
7 |
|
* |
46 |
|
// |
47 |
|
// Douglas Thrift |
48 |
|
// |
49 |
< |
// Searcher.h |
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; |
92 |
|
double time() { return double(finish - start) / double(CLOCKS_PER_SEC); } |
93 |
|
}; |
94 |
|
|
95 |
< |
#endif // _Searcher_h_ |
95 |
> |
#endif // _Searcher_hpp_ |