<commit_before>/*
 * Copyright (c) 2015 <NAME> <<EMAIL>>
 *
 * This file is part of the amber (https://github.com/etheriqa/amber).
 *
 * This software is released under the MIT License (the "LICENSE").
 */

#pragma once

#include <iostream>
#include <string>
#include <thread>

#include "getopt.h"

#include "acceleration/kdtree.h"
#include "camera/aperture/circle.h"
#include "camera/aperture/polygon.h"
#include "camera/camera.h"
#include "camera/image.h"
#include "camera/lens/pinhole.h"
#include "camera/lens/thin.h"
#include "cli/render.h"
#include "geometry/vector.h"
#include "io/ppm.h"
#include "io/rgbe.h"
#include "object/object.h"
#include "post_process/filmic.h"
#include "post_process/gamma.h"
#include "radiometry/rgb.h"
#include "scene/cornel_box.h"
#include "shader/bidirectional_path_tracing.h"
#include "shader/path_tracing.h"
#include "shader/photon_mapping.h"
#include "shader/primary_sample_space_mlt.h"

namespace {

enum class Algorithm {
  none,
  pt,
  bdpt,
  pm,
  pssmlt,
};

const size_t kSSAA             = 2;
const size_t kWidth            = 512;
const size_t kHeight           = 512;
const size_t kPTSPP            = 512;
const size_t kBDPTSPP          = 128;
const size_t kPMNPhoton        = 8388608;
const size_t kPMNNearestPhoton = 16;
const size_t kPSSMLTNSeed      = 65536;
const size_t kPSSMLTNMutation  = 134217728;
const double kPSSMLTPLargeStep = 0.5;

}

namespace amber {<commit_msg>Fix the default number of mutations of pssmlt<commit_after>/*
 * Copyright (c) 2015 <NAME> <<EMAIL>>
 *
 * This file is part of the amber (https://github.com/etheriqa/amber).
 *
 * This software is released under the MIT License (the "LICENSE").
 */

#pragma once

#include <iostream>
#include <string>
#include <thread>

#include "getopt.h"

#include "acceleration/kdtree.h"
#include "camera/aperture/circle.h"
#include "camera/aperture/polygon.h"
#include "camera/camera.h"
#include "camera/image.h"
#include "camera/lens/pinhole.h"
#include "camera/lens/thin.h"
#include "cli/render.h"
#include "geometry/vector.h"
#include "io/ppm.h"
#include "io/rgbe.h"
#include "object/object.h"
#include "post_process/filmic.h"
#include "post_process/gamma.h"
#include "radiometry/rgb.h"
#include "scene/cornel_box.h"
#include "shader/bidirectional_path_tracing.h"
#include "shader/path_tracing.h"
#include "shader/photon_mapping.h"
#include "shader/primary_sample_space_mlt.h"

namespace {

enum class Algorithm {
  none,
  pt,
  bdpt,
  pm,
  pssmlt,
};

const size_t kSSAA             = 2;
const size_t kWidth            = 512;
const size_t kHeight           = 512;
const size_t kPTSPP            = 512;
const size_t kBDPTSPP          = 128;
const size_t kPMNPhoton        = 8388608;
const size_t kPMNNearestPhoton = 16;
const size_t kPSSMLTNSeed      = 65536;
const size_t kPSSMLTNMutation  = 33554432;
const double kPSSMLTPLargeStep = 0.5;

}

namespace amber {
{'fraction_non_alphanumeric': 0.1276448144294138, 'fraction_numerical': 0.02878945542837322, 'mean_word_length': 3.888135593220339, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 2, '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': '3576707', 'n_tokens_mistral': 1185, 'n_tokens_neox': 1092, 'n_words': 257}