Update usage of dynamic vs static cast
This concerns mainly:
bool AOH::operator==(const InformationSet &rhs)
in base.cpp
Original comment https://gitlab.fel.cvut.cz/rozlijak/GTLib2/merge_requests/4#note_39261
AOH::AOH(Player player, const vector<ActionObservation> &aoHistory) : player(player) { aoh = aoHistory;
Don't use
typeid
. Find a better way to write it. Use virtual functions if necessary. The case inAOH::operator==()
is a violation of the Liskov substitution principle already from the design point of view. Deal with that problem differently.