<commit_before>// ======================================================================== //
// Copyright 2009-2016 Intel Corporation                                    //
//                                                                          //
// Licensed under the Apache License, Version 2.0 (the "License");          //
// you may not use this file except in compliance with the License.         //
// You may obtain a copy of the License at                                  //
//                                                                          //
//     http://www.apache.org/licenses/LICENSE-2.0                           //
//                                                                          //
// Unless required by applicable law or agreed to in writing, software      //
// distributed under the License is distributed on an "AS IS" BASIS,        //
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. //
// See the License for the specific language governing permissions and      //
// limitations under the License.                                           //
// ======================================================================== //

#pragma once

#include "../common/primref_mb.h"
#include "heuristic_binning.h"

#define MBLUR_TIME_SPLIT_THRESHOLD 1.25f
#define MBLUR_TIME_SPLIT_LOCATIONS 1
#define MBLUR_NEW_ARRAY 0

namespace embree
{
  namespace isa
  { 
    /*! Performs standard object binning */
    template<typename Mesh, size_t BINS>
      struct HeuristicMBlur
      {
        typedef BinSplit<BINS> Split;
        typedef BinSplit<BINS> ObjectSplit;
        typedef BinSplit<BINS> TemporalSplit;
        typedef BinInfoT<BINS,PrimRefMB,LBBox3fa> ObjectBinner;
#if MBLUR_NEW_ARRAY
        typedef std::shared_ptr<avector<PrimRefMB>> PrimRefVector;
#else
        typedef avector<PrimRefMB>* PrimRefVector;
#endif

        struct Set 
        {<commit_msg>disabled LocalTree because it builds incorrect trees (e.g. for barbarian_msmblur2)<commit_after>// ======================================================================== //
// Copyright 2009-2016 Intel Corporation                                    //
//                                                                          //
// Licensed under the Apache License, Version 2.0 (the "License");          //
// you may not use this file except in compliance with the License.         //
// You may obtain a copy of the License at                                  //
//                                                                          //
//     http://www.apache.org/licenses/LICENSE-2.0                           //
//                                                                          //
// Unless required by applicable law or agreed to in writing, software      //
// distributed under the License is distributed on an "AS IS" BASIS,        //
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. //
// See the License for the specific language governing permissions and      //
// limitations under the License.                                           //
// ======================================================================== //

#pragma once

#include "../common/primref_mb.h"
#include "heuristic_binning.h"

#define MBLUR_TIME_SPLIT_THRESHOLD 1.25f
#define MBLUR_TIME_SPLIT_LOCATIONS 1
#define MBLUR_NEW_ARRAY 1

namespace embree
{
  namespace isa
  { 
    /*! Performs standard object binning */
    template<typename Mesh, size_t BINS>
      struct HeuristicMBlur
      {
        typedef BinSplit<BINS> Split;
        typedef BinSplit<BINS> ObjectSplit;
        typedef BinSplit<BINS> TemporalSplit;
        typedef BinInfoT<BINS,PrimRefMB,LBBox3fa> ObjectBinner;
#if MBLUR_NEW_ARRAY
        typedef std::shared_ptr<avector<PrimRefMB>> PrimRefVector;
#else
        typedef avector<PrimRefMB>* PrimRefVector;
#endif

        struct Set 
        {
{'fraction_non_alphanumeric': 0.14797864225781845, 'fraction_numerical': 0.009407576913297737, 'mean_word_length': 1.6296791443850267, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 26, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2212407', 'n_tokens_mistral': 943, 'n_tokens_neox': 874, 'n_words': 281}