Пример #1
0
	AI* AIFactory::CreateMoveOrderingAlfaZorbristAI() {
		AI* result = CreateMoveOrderingAlfaAI();
		result->AddExtension(new TranspositionExtension(_hasher, _table));
		return result;
	}
Пример #2
0
	AI* AIFactory::CreateAlfaAI(){
		AI* result = new AI(_board, _maxDepth); 
		result->AddExtension(new AlfaBetaExtension());
		return result;
	}
Пример #3
0
	AI* AIFactory::CreateMoveOrderingAlfaAI(){
		AI* result = CreateAlfaAI();
		result->AddExtension(new MoveOrderExtension());
		result->AddExtension(new MoveSwapExtension());
		return result;
	}
Пример #4
0
	AI* AIFactory::CreateAI(){
		AI* result = new AI(_board, _maxDepth);
		result->AddExtension(new MiniMaxExtension());
		return result;
	}