2024-01-29 21:33:22 -05:00
|
|
|
/*
|
|
|
|
* <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>
|
|
|
|
|
2024-01-30 13:57:27 -05:00
|
|
|
inline constexpr blt::i32 MIN_DEPTH = 3;
|
2024-01-29 21:33:22 -05:00
|
|
|
inline constexpr blt::i32 MAX_DEPTH = 12;
|
|
|
|
inline constexpr blt::i32 width = 256, height = 256;
|
2024-01-30 12:21:02 -05:00
|
|
|
inline constexpr blt::i32 POPULATION_SIZE = 20;
|
|
|
|
inline constexpr blt::i32 GEN_COUNT = 20;
|
|
|
|
inline constexpr blt::i32 TOURNAMENT_SIZE = 3;
|
|
|
|
inline constexpr float CROSSOVER_RATE = 0.9;
|
2024-01-30 13:57:27 -05:00
|
|
|
inline constexpr float MUTATION_RATE = 0.1;
|
2024-01-29 21:33:22 -05:00
|
|
|
|
|
|
|
#endif //GP_IMAGE_TEST_CONFIG_H
|