34 lines
1.2 KiB
C
34 lines
1.2 KiB
C
/*
|
|
* <Short Description>
|
|
* Copyright (C) 2024 Brett Terpstra
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef GP_IMAGE_TEST_CONFIG_H
|
|
#define GP_IMAGE_TEST_CONFIG_H
|
|
|
|
#include <blt/std/types.h>
|
|
|
|
inline constexpr blt::i32 MIN_DEPTH = 4;
|
|
inline constexpr blt::i32 MAX_DEPTH = 12;
|
|
inline constexpr blt::i32 width = 256, height = 256;
|
|
inline constexpr blt::i32 POPULATION_SIZE = 20;
|
|
inline constexpr blt::i32 GEN_COUNT = 20;
|
|
inline constexpr blt::i32 TOURNAMENT_SIZE = 4;
|
|
inline constexpr float CROSSOVER_RATE = 0.9;
|
|
inline constexpr float MUTATION_RATE = 0.25;
|
|
|
|
#endif //GP_IMAGE_TEST_CONFIG_H
|