STemWin
_Descend()
is only used within STemWin.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
STemWin
_Descend()
_Descend() function
Minimax search for the best possible move with alpha-beta pruning
Syntax
from
games_win.c:444
static
I32
_Descend
(
int
depth
,
I32
alpha
,
I32
beta
,
int
firstMove
)
;
Arguments
depth
board depth
alpha
current Move
beta
previous Move
firstMove
first Move index
Return value
best move
References
Location
Referrer
Text
games_win.c:444
static
I32
_Descend
(
int
depth
,
I32
alpha
,
I32
beta
,
int
firstMove
)
{
games_win.c:475
_Descend()
alt
=
_Descend
(
depth
-
1
,
alpha
,
beta
,
0
)
;
games_win.c:537
_PlayerAI_SmartGecko()
_Descend
(
depth
,
-
NOLIMIT
,
NOLIMIT
,
1
)
;
Call Tree
Functions calling
_Descend()
Functions called by
_Descend()
_Descend()
_PlayerAI_SmartGecko()
all items filtered out
_Descend()
_Descend()
_CalcValidMoves()
_MakeMove()
_Eval()
all items filtered out
Data read by
_Descend()
Data written by
_Descend()
BOARD::aMoves
BOARD::ActPlayer
_aBoardStack
_xs
_ys
_Descend()::depth
_Descend()::alpha
_Descend()::beta
_Descend()::firstMove
_Descend()::pBoard
_Descend()::nextBoard
_Descend()::x
_Descend()::y
_Descend()::moves
_Descend()::i
_Descend()::alt
_Descend()::maximize
all items filtered out
_Descend()
BOARD::ActPlayer
_Descend()::alpha
_Descend()::beta
_Descend()::pBoard
_Descend()::nextBoard
_Descend()::x
_Descend()::y
_Descend()::moves
_Descend()::i
_Descend()::alt
_Descend()::maximize
all items filtered out
Type of
_Descend()
_Descend()
BOARD
all items filtered out