ResultValue ResultValue::convertTo(ResultValueType type) const { return ResultValue(type, mIntValue, mFloatValue, mComplexValue); }
/** * This method assign a negative value to each terminal position that yields a * win for the MIN player, ad a positive value for the MAX player * @return */ float GameTree::IsWin(){ //if(ptm == 0) return ResultValue(val); //else //return ResultValue(-val); }