<commit_before>/*
 * boss.cpp
 *
 *  Created on: 18.05.2017 г.
 *      Author: trifon
 */

#include "boss.h"

Boss::Boss(char const* _name, int _score,
		 int _level,
		 char const* _algo, double _threshold,
		 int _difficulty,
		 int _damage) :
		 Hero(_name, _score, _level),
		 Bot(_name, _score, _algo, _threshold, _difficulty),
		 damage(_damage) {}

void Boss::print(std::ostream& os) const {
	Hero::print();
	os << ", който е ";
	Bot::print();
	os << " и нанася поражения " << getDamage()
		<< " точки";
}

<commit_msg>Boss трябва да се грижи за инициализиране на споделения виртуален основен клас Player!<commit_after>/*
 * boss.cpp
 *
 *  Created on: 18.05.2017 г.
 *      Author: trifon
 */

#include "boss.h"

Boss::Boss(char const* _name, int _score,
		 int _level,
		 char const* _algo, double _threshold,
		 int _difficulty,
		 int _damage) :
		 Hero("", 0, _level),
		 Bot("", 0, _algo, _threshold, _difficulty),
		 Player(_name, _score),
		 damage(_damage) {}

void Boss::print(std::ostream& os) const {
	Hero::print();
	os << ", който е ";
	Bot::print();
	os << " и нанася поражения " << getDamage()
		<< " точки";
}


{'fraction_non_alphanumeric': 0.16299559471365638, 'fraction_numerical': 0.015859030837004406, 'mean_word_length': 3.507936507936508, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5126003', 'n_tokens_mistral': 491, 'n_tokens_neox': 449, 'n_words': 114}