<commit_before>#pragma once

#include <limits>
#include <cmath>

#include "bounding_box.h"
#include "spatial_search_result.h"
#include "ParallelCoherentHash.h"

template <typename TObjectType>
class PointsHash {
	static constexpr int Dimension = 3;
public:
	using InternalPointType = std::array<double, Dimension>;
	using PointerType = TObjectType*;
	using ResultType = SpatialSearchResult<TObjectType>;

	template<typename TIteratorType>
	PointsHash(TIteratorType const& PointsBegin, TIteratorType const& PointsEnd) : mBoundingBox(PointsBegin, PointsEnd) {

		mNumberOfPoints = std::distance(PointsBegin, PointsEnd);
		if (mNumberOfPoints == 0) {
			mNumberOfCells = { 1,1,1 };
			mpPoints = nullptr;
			return;
		}
		CalculateCellSize();
		for (auto number_of_cells : mNumberOfCells)
			std::cout << number_of_cells << std::endl;

	}
<commit_msg>corredted name of included header<commit_after>#pragma once

#include <limits>
#include <cmath>

#include "bounding_box.h"
#include "spatial_search_result.h"
#include "parallel_coherent_hash.h"

template <typename TObjectType>
class PointsHash {
	static constexpr int Dimension = 3;
public:
	using InternalPointType = std::array<double, Dimension>;
	using PointerType = TObjectType*;
	using ResultType = SpatialSearchResult<TObjectType>;

	template<typename TIteratorType>
	PointsHash(TIteratorType const& PointsBegin, TIteratorType const& PointsEnd) : mBoundingBox(PointsBegin, PointsEnd) {

		mNumberOfPoints = std::distance(PointsBegin, PointsEnd);
		if (mNumberOfPoints == 0) {
			mNumberOfCells = { 1,1,1 };
			mpPoints = nullptr;
			return;
		}
		CalculateCellSize();
		for (auto number_of_cells : mNumberOfCells)
			std::cout << number_of_cells << std::endl;

	}

{'fraction_non_alphanumeric': 0.10710128055878929, 'fraction_numerical': 0.005820721769499418, 'mean_word_length': 6.074074074074074, 'pattern_counts': {'":': 0, '<': 23, '<?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': '7181741', 'n_tokens_mistral': 607, 'n_tokens_neox': 553, 'n_words': 128}