Пример #1
0
ResultValue ResultValue::convertTo(ResultValueType type) const {
	return ResultValue(type, mIntValue, mFloatValue, mComplexValue);
}
Пример #2
0
/**
 * 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);
}