-
Notifications
You must be signed in to change notification settings - Fork 0
/
evaluation.h
56 lines (47 loc) · 2.53 KB
/
evaluation.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#ifndef EVALUATION_H
#define EVALUATION_H
#include "twitteruser.h"
#include "metrics.h"
#include "tweet.h"
namespace casimiro {
typedef std::vector<MetricsVector> MetricsVectors;
class Evaluation {
public:
Evaluation();
virtual ~Evaluation();
virtual Metrics getMetrics(const TweetVector& _sortedCandidates, const Tweet& _retweet) const;
virtual MetricsVectors evaluateUser(TwitterUser& _user,
ProfileType _profileType,
const QDateTime& _startProfile,
const QDateTime& _endProfile,
const QDateTime& _startRetweets,
const QDateTime& _endRetweets,
int _candidatePeriodInHours,
const StringIntMaps& _topicLifeSpanMaps = StringIntMaps(),
bool _ignoreRetweetsWithoutTimedTopics = false,
bool _usePersonalisedLifeSpanMaps = false);
virtual void evaluateSystem(const TwitterUserVector& _users,
ProfileType _profileType,
const QDateTime& _startProfile,
const QDateTime& _endProfile,
const QDateTime& _startRetweets,
const QDateTime& _endRetweets,
int _candidatePeriodInHours,
const std::string& _outFileName,
const StringIntMaps& _topicLifeSpanMaps = StringIntMaps(),
bool _ignoreRetweetsWithoutTimedTopics = false,
bool _usePersonalisedLifeSpanMaps = false);
virtual void evaluateSystem(const std::string& _usersFile,
ProfileType _profileType,
const QDateTime& _startProfile,
const QDateTime& _endProfile,
const QDateTime& _startRetweets,
const QDateTime& _endRetweets,
int _candidatePeriodInHours,
const std::string& _outFileName,
const StringIntMaps& _topicLifeSpanMaps = StringIntMaps(),
bool _ignoreRetweetsWithoutTimedTopics = false,
bool _usePersonalisedLifeSpanMaps = false);
};
}
#endif // EVALUATION_H