Commits

Author Commit Message Labels Comments Date
David Stone
Merged changes.
David Stone
Changed from pointers to references in Client implementation. Used lambdas over boost::bind in boost::asio async callbacks.
David Stone
Changed from pointers to references in stand-alone team predictor.
David Stone
Changed from std::vector<EV *> to std::vector<std::reference_wrapper<EV>>.
David Stone
Return a struct containing references / pointers, rather than passing two references to pointers into a function as output parameters.
David Stone
Use std::reference_wrapper<T const> instead of T * in predictor.cpp.
David Stone
Switched string conversion functions to avoid unnecessary string copies by using std::string const & and boost::string_ref.
David Stone
Use a little more type deduction in damage.cpp.
David Stone
Disable Transposition a little bit better to avoid warnings from clang.
David Stone
Moved away from using arrays for several look-ups, and instead just use a switch statement.
David Stone
Temporarily disable the hashing until it works properly.
David Stone
Replace team1 and team2 with attacker and defender for expectiminimax tests.
David Stone
call_move returns void instead of the damage done. call_move already does damage to the foe, but expectiminimax was doing that damage again.
David Stone
Added assertions to verify 0 <= probability <= 1.
David Stone
Changed formatting of switch statements.
David Stone
Got rid of will_be_replaced function. Use is_fainted instead.
David Stone
Changed from int16_t for storing a final score to double.
David Stone
Added assertions in case random selections are empty.
David Stone
Fixed use-after-delete error caused by storing iterators into a vector that might be reallocated.
David Stone
Fixed signed / unsigned warning.
David Stone
Test Psywave to make sure its probabilities add to approximately 1.0.
David Stone
Move evaluation uses double for the internal calculations to avoid rounding errors.
David Stone
Shuffle all of the moves of all test Pokemon.
David Stone
Simplified logic to score the active Pokemon.
David Stone
The type of the score of the stages is the type of the stage times the type of the base score, not the type of the stage times the type of the stage.
David Stone
Give Weather a user-defined default constructor.
David Stone
Fixes to work with Boost 1.56.0. Had to change use of boost::property_tree::xml_writer_settings to use the proper nested type instead of assuming it is char.
David Stone
Added missing files.
David Stone
Added some overall move evaluation tests. Fixed bug where the probability of a hit and miss were switched up, causing moves with 100% accuracy to look like they always fail.
David Stone
Added very basic test that verifies a Blissey with less health has a lower score than a Blissey with more health.
  1. Prev
  2. Next