Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef PLAYER_Q_LEARNING_H
- #define PLAYER_Q_LEARNING_H
- #include <QObject>
- #include <iostream>
- #include "positions_and_dice.h"
- class player_q_learning : public QObject {
- Q_OBJECT
- private:
- std::vector<int> pos_start_of_turn;
- std::vector<int> pos_end_of_turn;
- int dice_roll;
- int make_decision();
- public:
- player_q_learning();
- signals:
- void select_piece(int);
- void calc_input(float input[9],int player_nr, int dice);
- void turn_complete(bool);
- public slots:
- void start_turn(positions_and_dice relative);
- void post_game_analysis(std::vector<int> relative_pos);
- };
- #endif // PLAYER_Q_LEARNING_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement