Commits

Show all
Author Commit Message Labels Comments Date
David Stone
Updated readme.md to say to build with clang.
David Stone
Updated to latest bounded::integer. Changes include improved optional support and replacing bounded::make with bounded::constant. Compiles with clang. Changed implementation of base stats to use switch statements instead of a two-dimensional array. This is required to avoid hitting clang's constexpr evaluation depth.
David Stone
Avoid unused variable warning in implementation of hash.
David Stone
Delete global_move and just return by value and create temporaries as needed. The construction of a Move requires the same lookup as using global_move did, so it wasn't really buying anything. Replace all instances where do Move const & with Move const.
David Stone
Consistently use struct instead of class.
David Stone
Declared some functions and classes final.
David Stone
Do not start the search by calling random_action. It currently has a crash-bug in it.
David Stone
Implemented fixed_capacity_vector erase in terms of pop_back.
David Stone
Merged changes.
David Stone
use a static string member in a handful of classes instead of using type_info.
David Stone
Use #pragma once instead of ifndef include guards.
David Stone
Commented out unused variables.
David Stone
Improved fixed_capacity_vector::assign to work regardless of differences in sizes of the source vs. target range.
David Stone
Moved range creation into its own file.
David Stone
Improved fixed_capacity_vector to use std::aligned_storage instead of a boost::optional for every element. This makes end() a constant-time operation and doesn't have a size overhead for every element.
David Stone
Removed unused make_timer function.
David Stone
Changed most uses of std::map to std::unordered_map.
David Stone
Consistently use boost::filesystem::path instead of std::string.
David Stone
Use a sorted std::vector instead of a std::map for MoveScores.
David Stone
Changed MoveContainer to be a fixed_capacity_array, which I generalized from the PokemonContainer.
David Stone
Changed PokemonCollection to store a bounded::array<boost::optional<Pokemon>> instead of a std::vector<Pokemon> to minimize heap allocations.
David Stone
Use scons-template as subrepo, which enables some new warnings. Fixed all unused variable warnings.
David Stone
Removed old build_scripts directory.
David Stone
Moved timestamp creation into its own file and minimize unnecessary string constructions.
David Stone
Removed the ability to specify a time format for logging.
David Stone
Fixed uninitialized variable bug caused by capturing by reference in lambda.
David Stone
Use std::any instead of std::find_if or a for loop.
David Stone
Use boost::algorithm::to_lower_copy to simplify logic.
David Stone
Replaced boost::asio::deadline_timer with std::this_thread::sleep_for.
David Stone
Properly read using std::getline to ensure I only look at the data if the read succeeds.
  1. Prev
  2. Next