A class to hold actor movie data – using IMDB dataset.
More...
#include <ActorMovieIMDB.h>
A class to hold actor movie data – using IMDB dataset.
This dataset has a set of actor-movie pairs with movie rating and genres, possibly. There are two datasets, the first has 1813 actor movie pairs and no other attribute data. The second also has movie ratings and genres.
A user typically does not create an ActorMovieIMDB object. They are usually returned by bridges::DataSource::getActorMovieIMDBData() and bridges::DataSource::getActorMovieIMDBData2()
- See also
- Check out the tutorial on the IMDB dataset at https://bridgesuncc.github.io/tutorials/Data_IMDB.html
- Author
- Kalpathi Subramanian
- Date
- 2/18/18, 12/28/20
◆ ActorMovieIMDB() [1/3]
bridges::dataset::ActorMovieIMDB::ActorMovieIMDB |
( |
| ) |
|
|
inline |
◆ ActorMovieIMDB() [2/3]
bridges::dataset::ActorMovieIMDB::ActorMovieIMDB |
( |
const string & |
a, |
|
|
const string & |
m |
|
) |
| |
|
inline |
This method initializes an actor movie object with an actor/movie pair.
- Parameters
-
◆ ActorMovieIMDB() [3/3]
bridges::dataset::ActorMovieIMDB::ActorMovieIMDB |
( |
const string & |
a, |
|
|
const string & |
m, |
|
|
float |
r, |
|
|
const vector< string > & |
genr |
|
) |
| |
|
inline |
This method initializes an actor movie object with an actor/movie pair.
- Parameters
-
[in] | a | actor |
[in] | m | movie |
[in] | r | rating |
[in] | genr | genres |
◆ getActor()
string bridges::dataset::ActorMovieIMDB::getActor |
( |
| ) |
const |
|
inline |
Get actor name.
- Returns
- actor name
◆ getGenres()
vector<string> bridges::dataset::ActorMovieIMDB::getGenres |
( |
| ) |
const |
|
inline |
Get movie genres.
- Returns
- movie genres [vector of strings]
◆ getMovie()
string bridges::dataset::ActorMovieIMDB::getMovie |
( |
| ) |
const |
|
inline |
Get movie name.
- Returns
- movie name
◆ getMovieRating()
double bridges::dataset::ActorMovieIMDB::getMovieRating |
( |
| ) |
const |
|
inline |
Get movie rating.
- Returns
- movie rating
◆ setActor()
void bridges::dataset::ActorMovieIMDB::setActor |
( |
const string & |
a | ) |
|
|
inline |
Set actor name.
- Parameters
-
◆ setGenres()
void bridges::dataset::ActorMovieIMDB::setGenres |
( |
const vector< string > & |
g | ) |
|
|
inline |
Set movie genres.
- Parameters
-
[in] | g | vector of movie genres |
◆ setMovie()
void bridges::dataset::ActorMovieIMDB::setMovie |
( |
const string & |
m | ) |
|
|
inline |
xSet movie name
- Parameters
-
◆ setMovieRating()
void bridges::dataset::ActorMovieIMDB::setMovieRating |
( |
double |
r | ) |
|
|
inline |
Set movie rating.
- Parameters
-
The documentation for this class was generated from the following file: