<commit_before>#include "nodes/NonOptimizingNode.hpp"
#include <sstream>

using namespace std;

NonOptimizingNode::NonOptimizingNode(
	unsigned int populationSize,
	vector<Locus*> loci,
	vector<ObjectiveFunction*> objectives,
	ToStringFunction * populationToString,
	vector<EndCondition*> conditions,
	string nodeName
) : PopulationNode(
	populationSize,
	loci,
	objectives,
	populationToString,
	conditions,
	nodeName
) {}

void NonOptimizingNode::nextIteration() {
	if (!done()) evaluateFitnesses();
}

std::vector<Genome*> NonOptimizingNode::getNextPopulation() {
	return this->population;
}

node_type_t NonOptimizingNode::type() {
	return NON_OPT_TYPE;
}

PopulationNode * NonOptimizingNode::duplicate(std::string newNodeName) {
	return new NonOptimizingNode(<commit_msg>[Non-Optimizing Node]: Removed namespace std::<commit_after>#include "nodes/NonOptimizingNode.hpp"
#include <sstream>

NonOptimizingNode::NonOptimizingNode(
	unsigned int populationSize,
	std::vector<Locus*> loci,
	std::vector<ObjectiveFunction*> objectives,
	ToStringFunction* populationToString,
	std::vector<EndCondition*> conditions,
	std::string nodeName
) : PopulationNode(
	populationSize,
	loci,
	objectives,
	populationToString,
	conditions,
	nodeName
) {}

void NonOptimizingNode::nextIteration() {
	if (!done()) evaluateFitnesses();
}

std::vector<Genome*> NonOptimizingNode::getNextPopulation() {
	return this->population;
}

node_type_t NonOptimizingNode::type() {
	return NON_OPT_TYPE;
}

PopulationNode* NonOptimizingNode::duplicate(std::string newNodeName) {
	return new NonOptimizingNode(
{'fraction_non_alphanumeric': 0.1157495256166983, 'fraction_numerical': 0.0, 'mean_word_length': 8.416666666666666, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, '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': '6623216', 'n_tokens_mistral': 526, 'n_tokens_neox': 508, 'n_words': 94}