Advertisement
Guest User

Untitled

a guest
May 12th, 2016
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. #ifndef PLAYER_Q_LEARNING_H
  2. #define PLAYER_Q_LEARNING_H
  3. #include <QObject>
  4. #include <iostream>
  5. #include "positions_and_dice.h"
  6.  
  7. class player_q_learning : public QObject {
  8. Q_OBJECT
  9. private:
  10. std::vector<int> pos_start_of_turn;
  11. std::vector<int> pos_end_of_turn;
  12. int dice_roll;
  13. int make_decision();
  14. public:
  15. player_q_learning();
  16. signals:
  17. void select_piece(int);
  18. void calc_input(float input[9],int player_nr, int dice);
  19. void turn_complete(bool);
  20. public slots:
  21. void start_turn(positions_and_dice relative);
  22. void post_game_analysis(std::vector<int> relative_pos);
  23. };
  24.  
  25. #endif // PLAYER_Q_LEARNING_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement