-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplaylist.h
More file actions
44 lines (36 loc) · 780 Bytes
/
playlist.h
File metadata and controls
44 lines (36 loc) · 780 Bytes
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
//
// Created by Veronica Soden on 4/17/21.
//
#ifndef PROJ3_PLAYLIST_H
#define PROJ3_PLAYLIST_H
#include <queue>
#include <vector>
#include <string>
#include <map>
#include "song.h"
#include "BST.h"
#include "Survey.h"
using namespace std;
class playlist {
public:
BST* tree;
vector<song> songQ;
string playName;
int avgBasicness;
float avgDanceability;
map<string, int> mostCommonArtist;
playlist(vector<song> catalog, Survey surveyRes, int cap);
void shuffle(void);
map<string, int> topArtists(void);
private:
vector<string> likedGenres;
string mainGenre;
vector<bool> songTimes;
bool instrumental;
bool energy;
bool explicits;
bool fastTempo;
bool happy;
bool loud;
};
#endif //PROJ3_PLAYLIST_H