GP_Image_Test/include/config.h

34 lines
1.2 KiB
C
Raw Normal View History

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-31 01:16:03 -05:00
inline constexpr blt::i32 MIN_DEPTH = 4;
2024-01-29 21:33:22 -05:00
inline constexpr blt::i32 MAX_DEPTH = 12;
inline constexpr blt::i32 width = 256, height = 256;
2024-02-01 14:49:28 -05:00
inline constexpr blt::i32 POPULATION_SIZE = 20;
2024-01-30 12:21:02 -05:00
inline constexpr blt::i32 GEN_COUNT = 20;
2024-01-30 14:49:39 -05:00
inline constexpr blt::i32 TOURNAMENT_SIZE = 4;
2024-01-30 12:21:02 -05:00
inline constexpr float CROSSOVER_RATE = 0.9;
2024-01-30 14:49:39 -05:00
inline constexpr float MUTATION_RATE = 0.25;
2024-01-29 21:33:22 -05:00
#endif //GP_IMAGE_TEST_CONFIG_H