Home
Classes
Agent
getAction
AlgorithmRunner
setSpeed
start
stop
triggerStep
AlphaBetaTreeAdapter
_buildResult
_countEvaluatedStoredNodes
_createChildMetadata
_createChildStructure
_estimateNewlyPrunedCount
_estimatePotentialSubtreeSize
_evaluateTerminalState
_expandPrunedNodeChildren
_getEdgeColorForValue
_getHighlightEdgeStyle
_getInitialBounds
_getNextOpenChild
_getValueStatuses
_isAllowedByOrder
_isLeafTerminal
_isStrictOrderEnabled
_isTerminalState
_orderMoves
_pruneSubtree
_recomputeNodeBounds
_resolveConstants
_syncStrictOrderingForParent
checkNodeStatus
checkParentPruning
evaluateNode
expandNodeChildren
visualizeSearch
AtomicRule
clone
BFSTreeAdapter
buildToDepth
focusNode
getNodeCount
getStats
highlightPath
resetView
startHandshake
BaseGameController
checkTurn
cleanupResizeObserver
coordsToMove
createAIAgent
createGame
drawGame
getAISpeed
handleCanvasClick
init
reset
setupResponsiveResize
updateUI
BaseHeuristic
checkTerminal
evaluate
getDefaultWeights
toConfig
updateWeights
BaseTreeAdapter
_debugLog
_getHighlightEdgeStyle
_highlightBestEdges
_highlightPropagationSubtree
_isLeafTerminal
_notifyStatsChanged
checkNodeStatus
createNode
destroy
flushCommands
getBoardKey
getInitialConfig
handleMessage
handleNodeClick
onTreeReady
reset
sendCommand
startHandshake
BaseVisualizer
canvasToWorld
drawOverlay
executeCommand
render
resetView
sendToParent
worldToCanvas
Benchmark
getAverage
getDuration
record
reset
start
stop
ConditionNode
clone
evaluate
Connect43D
Connect43DController
checkTurn
cleanupResizeObserver
coordsToMove
createAIAgent
createGame
drawGame
getAISpeed
handleCanvasClick
init
reset
setupResponsiveResize
updateUI
Connect4Heuristic
evaluate
evaluateLines
getDefaultWeights
Connect4Regular
getAllValidMoves
makeMove
Connect4RegularController
checkTurn
cleanupResizeObserver
coordsToMove
createAIAgent
createGame
drawGame
getAISpeed
handleCanvasClick
init
reset
setupResponsiveResize
updateUI
DFSTreeAdapter
buildToDepth
focusNode
getNodeCount
getStats
highlightPath
navigateInGame
resetView
startHandshake
visualizeSearch
DecisionTree
getDecision
FlowchartVisualizer
GameAdapter
clone
getAllValidMoves
getBoard
getCurrentPlayer
getRemainingMoves
getState
getValidMoves
getWinner
isGameOver
makeMove
GenericTreeAdapter
_debugLog
_getHighlightEdgeStyle
_highlightBestEdges
_highlightPropagationSubtree
_isLeafTerminal
_notifyStatsChanged
addNumericNode
checkNodeStatus
createNode
destroy
evaluateNode
expandNodeChildren
flushCommands
getBoardKey
getInitialConfig
handleMessage
handleNodeClick
onTreeReady
reset
sendCommand
startHandshake
visualizeTree
GenericWinLossHeuristic
HeuristicRuleAdapter
IframeBridgeClient
destroy
off
on
once
send
sendReady
IframeBridgeHost
destroy
off
on
once
send
waitForReady
KnightBoard
_getMovesFrom
clone
getDegree
getNextStates
getPossibleMoves
getStateKey
initGrid
isGoal
isInside
isUndoMove
isValidMove
move
undo
KnightsTourHeuristic
evaluate
getDefaultWeights
MinimaxAgent
getAction
MinimaxEngine
findBestMove
MinimaxTreeAdapter
_buildResult
_createChildMetadata
_createChildStructure
_evaluateTerminalState
_getEdgeColorForValue
_getHighlightEdgeStyle
_getValueStatuses
_isLeafTerminal
_isTerminalState
_orderMoves
_resolveConstants
evaluateNode
visualizeSearch
NIMGameLogic
_checkGameEnd
clone
getAllValidMoves
getStateKey
makeMove
toString
RandomAgent
getAction
RegularGameController
checkTurn
cleanupResizeObserver
coordsToMove
createAIAgent
createGame
drawGame
getAISpeed
handleCanvasClick
init
reset
setupResponsiveResize
updateUI
RotateBoard
canFall
clone
getNextStates
getStateKey
initFromId
isGoal
moveDown
relaxBoardSync
rotate
RuleBasedAgent
getAction
RuleGroup
add
clone
evaluate
RuleNode
evaluate
RuleVisualizer
SearchEngine
solve
TTT3DBoard
checkWin
getAllValidMoves
makeMove
switchPlayer
TTTBase
switchPlayer
TTTGameAdapter
clone
getAllValidMoves
makeMove
toJSON
TTTHeuristic
evaluate
getDefaultWeights
TTTRegularBoard
checkWin
clone
getAllValidMoves
getStateKey
makeMove
switchPlayer
TemplateGameLogic
_checkGameEnd
_isMoveInList
clone
getAllValidMoves
getNextStates
getStateKey
isGoal
makeMove
ThreeDGameController
checkTurn
cleanupResizeObserver
coordsToMove
createAIAgent
createGame
drawGame
getAISpeed
handleCanvasClick
init
reset
setupResponsiveResize
updateUI
UltimateBoard
_checkSmallWin
_isBoardFull
getAllValidMoves
makeMove
switchPlayer
UltimateGameController
checkTurn
cleanupResizeObserver
coordsToMove
createAIAgent
createGame
drawGame
getAISpeed
handleCanvasClick
init
reset
setupResponsiveResize
updateUI
ai/minimax.js
Namespaces
Connect4Renderer
draw3D
drawGrid
drawPiece
drawRegular
get3DClick
IframeBridgeProtocol
convertLegacyMessage
createMessage
isValidMessage
MinimaxNodeRenderer
drawMetadata
render
NumericNodeRenderer
render
TTTRenderer
_drawSymbol
_log
_shouldLog
draw3DSlices
drawIsoView
drawRegular
drawUltimate
TreeFactory
countNodes
generateRandomTree
generateWikipediaExample
Interfaces
GameState
clone
getAllValidMoves
getNextStates
getStateKey
isGoal
makeMove
Global
AI_CONSTANTS
BRIDGE_TARGET_ORIGIN
CONNECT4_HEURISTICS_CONFIGS
DEBUG_CONSTANTS
DEFAULT_SPEED_DELAY
DEFAULT_STATUS_CONFIG
EMPTY
GAME_CONSTANTS
GameFactories
LEER
MINIMAX_VIZ_CONSTANTS
MIN_DEPTH
NUMERIC_VIZ_CONSTANTS
NodeStatusManager
PROFILE_DEPTH_EASY
PROFILE_DEPTH_HARD
PROFILE_DEPTH_MEDIUM
SPEED_DELAYS
SPEED_SLIDER_MANUAL
SPEED_SLIDER_MAX
SPEED_SLIDER_MIN
StatusConfig
TTTGameFactory
TTT_HEURISTICS_CONFIGS
UI_CONSTANTS
VisualizationUtils
WAND
ZIEL
_connect4ValidateConfig
_convertStyleToRenderFormat
_tttValidateConfig
animateRelax
checkAndMarkDeadEnd
checkSmallWin
createAgentFromProfile
createGame
createStrategyTree
debounceCanvas
debugLog
debugShouldLog
drawRotateBoard
findLowestCommonAncestor
findPathToRoot
getAvailableGames
getAvailableProfiles
getCanvasLogicalHeight
getCanvasLogicalWidth
getConnect4HeuristicsConfig
getConnect4ProfileList
getNodeStyle
getProfilesByType
getTTTHeuristicsConfig
getTTTProfileList
initResponsiveCanvas
reconstructTreePath
setActiveNode
setupHiDPICanvas
solveBFS
updateActiveNodePosition
updateNodeStatus
validateHeuristicConfig
GenericWinLossHeuristic
GenericWinLossHeuristic
Generic fallback heuristic for terminal-only evaluation.
Constructor
new GenericWinLossHeuristic
()
Source:
ai/heuristics/registry.js
,
line 108