Make sure EOF is defined
[xapian.git] / xapian-letor / api / featurevector_internal.h
blob771e77189e604cd8c8319ec0cd21aaad8c0088c0
1 /** @file featurevector_internal.h
2 * @brief Internals of FeatureVector class
3 */
4 /* Copyright (C) 2012 Parth Gupta
5 * Copyright (C) 2016 Ayush Tomar
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
20 * USA
23 #ifndef FEATUREVECTOR_INTERNAL_H
24 #define FEATUREVECTOR_INTERNAL_H
26 #include "xapian-letor/featurevector.h"
28 #include <vector>
30 using namespace std;
32 namespace Xapian {
34 class FeatureVector::Internal : public Xapian::Internal::intrusive_base
36 friend class FeatureVector;
37 double label_;
38 double score_;
39 std::vector<double> fvals_;
40 Xapian::docid did_;
45 #endif // FEATUREVECTOR_INTERNAL_H