<commit_before>#ifndef CORE_EVAL_ApportionmentFunction
#define CORE_EVAL_ApportionmentFunction

#include "../Genome.hpp"
#include "../EABehaviourObject.hpp"
#include "../Fitness.hpp"
#include <vector>

class ApportionmentFunction : public EABehaviourObject {
	private:

	protected:

	public:
	virtual ~ApportionmentFunction();

	virtual float apportionFitness(
		Genome* recipient,
		Genome* provider,
		unsigned int recipientStartIndex,
		std::vector<unsigned int> relevantRecipientIndices,
		Fitness providerFitness
	)=0;
};

#endif<commit_msg>[ApportionmentFunction]: Fixed virtual method prototype<commit_after>#ifndef CORE_EVAL_ApportionmentFunction
#define CORE_EVAL_ApportionmentFunction

#include "../Genome.hpp"
#include "../EABehaviourObject.hpp"
#include "../Fitness.hpp"
#include <vector>

class ApportionmentFunction : public EABehaviourObject {
	private:

	protected:

	public:
	virtual ~ApportionmentFunction();

	virtual double apportionFitness(
		Genome* recipient,
		Genome* provider,
		unsigned int recipientStartIndex,
		std::vector<unsigned int> relevantRecipientIndices,
		Fitness providerFitness
	)=0;
};

#endif
{'fraction_non_alphanumeric': 0.09955947136563877, 'fraction_numerical': 0.001762114537444934, 'mean_word_length': 6.42483660130719, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2224263', 'n_tokens_mistral': 382, 'n_tokens_neox': 348, 'n_words': 79}