MCPcopy Create free account

hub / github.com/WilliamLambertCN/CS188-Homework / functions

Functions2,086 in github.com/WilliamLambertCN/CS188-Homework

↓ 1 callersFunctioncreateRandomEightPuzzle
moves: number of random moves to apply Creates a random eight puzzle by applying a series of 'moves' random moves to a solved
PJ1_search/eightpuzzle.py:252
↓ 1 callersMethoddecrementTimer
(ghostState)
PJ2_multiagent/pacman.py:440
↓ 1 callersMethoddecrementTimer
(ghostState)
PJ3_reinforcement/pacman.py:437
↓ 1 callersMethoddecrementTimer
(ghostState)
PJ1_search/pacman.py:423
↓ 1 callersMethoddecrementTimer
(ghostState)
PJ4_tracking/busters.py:377
↓ 1 callersMethoddecrementTimer
(ghostState)
PJ4_tracking/pacman.py:423
↓ 1 callersMethoddeepCopy
(self)
PJ2_multiagent/pacman.py:239
↓ 1 callersMethoddeepCopy
(self)
PJ3_reinforcement/pacman.py:238
↓ 1 callersMethoddeepCopy
(self)
PJ1_search/pacman.py:231
↓ 1 callersMethoddeepCopy
(self)
PJ4_tracking/pacman.py:231
↓ 1 callersFunctiondisable_graphics
()
PJ5_machinelearning/autograder.py:254
↓ 1 callersMethoddisplayNullValues
(self, agent, currentState=None, message=None)
PJ3_reinforcement/textGridworldDisplay.py:40
↓ 1 callersMethoddivideAll
Divides all counts by divisor
PJ3_reinforcement/util.py:3840
↓ 1 callersMethoddoAction
(self, action)
PJ3_reinforcement/gridworld.py:191
↓ 1 callersMethoddraw
(self, stepCount, stepDelay)
PJ3_reinforcement/crawler.py:264
↓ 1 callersMethoddrawCapsules
(self, capsules)
PJ2_multiagent/graphicsDisplay.py:619
↓ 1 callersMethoddrawCapsules
(self, capsules)
PJ3_reinforcement/graphicsDisplay.py:616
↓ 1 callersMethoddrawCapsules
(self, capsules)
PJ1_search/graphicsDisplay.py:584
↓ 1 callersMethoddrawCapsules
(self, capsules)
PJ4_tracking/graphicsDisplay.py:583
↓ 1 callersMethoddrawDistributions
(self, state)
PJ2_multiagent/graphicsDisplay.py:197
↓ 1 callersMethoddrawDistributions
(self, state)
PJ3_reinforcement/graphicsDisplay.py:197
↓ 1 callersMethoddrawDistributions
(self, state)
PJ1_search/graphicsDisplay.py:192
↓ 1 callersMethoddrawDistributions
(self, state)
PJ4_tracking/graphicsDisplay.py:192
↓ 1 callersMethoddrawExpandedCells
Draws an overlay of expanded grid positions for search agents
PJ1_search/graphicsDisplay.py:604
↓ 1 callersMethoddrawFood
(self, foodMatrix)
PJ2_multiagent/graphicsDisplay.py:597
↓ 1 callersMethoddrawFood
(self, foodMatrix)
PJ3_reinforcement/graphicsDisplay.py:594
↓ 1 callersMethoddrawFood
(self, foodMatrix)
PJ1_search/graphicsDisplay.py:564
↓ 1 callersMethoddrawFood
(self, foodMatrix)
PJ4_tracking/graphicsDisplay.py:563
↓ 1 callersMethoddrawGhost
(self)
PJ2_multiagent/graphicsDisplay.py:144
↓ 1 callersMethoddrawGhost
(self)
PJ3_reinforcement/graphicsDisplay.py:144
↓ 1 callersMethoddrawGhost
(self)
PJ1_search/graphicsDisplay.py:139
↓ 1 callersMethoddrawGhost
(self)
PJ4_tracking/graphicsDisplay.py:139
↓ 1 callersFunctiondrawNullSquare
(grid, x, y, isObstacle, isTerminal, isCurrent)
PJ3_reinforcement/graphicsGridworldDisplay.py:174
↓ 1 callersFunctiondrawNullValues
(gridworld, currentState=None, message='')
PJ3_reinforcement/graphicsGridworldDisplay.py:88
↓ 1 callersMethoddrawPane
(self)
PJ2_multiagent/graphicsDisplay.py:107
↓ 1 callersMethoddrawPane
(self)
PJ3_reinforcement/graphicsDisplay.py:107
↓ 1 callersMethoddrawPane
(self)
PJ1_search/graphicsDisplay.py:106
↓ 1 callersMethoddrawPane
(self)
PJ4_tracking/graphicsDisplay.py:106
↓ 1 callersFunctiondrawQValues
(gridworld, qValues, currentState=None, message='State-Action Q-Values')
PJ3_reinforcement/graphicsGridworldDisplay.py:131
↓ 1 callersFunctiondrawSquareQ
(x, y, qVals, minVal, maxVal, valStrs, bestActions, isCurrent)
PJ3_reinforcement/graphicsGridworldDisplay.py:263
↓ 1 callersFunctiondrawValues
(gridworld, values, policy, currentState=None, message='State Values')
PJ3_reinforcement/graphicsGridworldDisplay.py:104
↓ 1 callersMethoddrawWalls
(self, wallMatrix)
PJ2_multiagent/graphicsDisplay.py:457
↓ 1 callersMethoddrawWalls
(self, wallMatrix)
PJ3_reinforcement/graphicsDisplay.py:457
↓ 1 callersMethoddrawWalls
(self, wallMatrix)
PJ1_search/graphicsDisplay.py:451
↓ 1 callersMethoddrawWalls
(self, wallMatrix)
PJ4_tracking/graphicsDisplay.py:450
↓ 1 callersMethodelapseTime
(self, gameState)
PJ4_tracking/bustersAgents.py:64
↓ 1 callersMethodemitPublicVersion
(self, filePath)
PJ4_tracking/testClasses.py:235
↓ 1 callersFunctionemitTestDict
(testDict, handle)
PJ4_tracking/testParser.py:75
↓ 1 callersFunctionend_graphics
()
PJ2_multiagent/graphicsUtils.py:147
↓ 1 callersFunctionend_graphics
()
PJ3_reinforcement/graphicsUtils.py:151
↓ 1 callersFunctionend_graphics
()
PJ1_search/graphicsUtils.py:144
↓ 1 callersFunctionend_graphics
()
PJ4_tracking/graphicsUtils.py:144
↓ 1 callersMethodend_q
(self)
PJ5_machinelearning/autograder.py:91
↓ 1 callersMethodend_test
(self, pts)
PJ5_machinelearning/autograder.py:79
↓ 1 callersFunctionevaluate
(generateSolutions, testRoot, moduleDict, exceptionMap=ERROR_HINT_MAP, edxOutput=False, muteOutpu
PJ2_multiagent/autograder.py:242
↓ 1 callersFunctionevaluate
(generateSolutions, testRoot, moduleDict, exceptionMap=ERROR_HINT_MAP, edxOutput=False, muteOutpu
PJ3_reinforcement/autograder.py:252
↓ 1 callersFunctionevaluate
(generateSolutions, testRoot, moduleDict, exceptionMap=ERROR_HINT_MAP, edxOutput=False, muteOutpu
PJ1_search/autograder.py:240
↓ 1 callersFunctionevaluate
(generateSolutions, testRoot, moduleDict, exceptionMap=ERROR_HINT_MAP, edxOutput=False, muteOutpu
PJ4_tracking/autograder.py:249
↓ 1 callersMethodexecuteNExperiences
(self, grades, moduleDict, solutionDict, n)
PJ3_reinforcement/reinforcementTestClasses.py:314
↓ 1 callersMethodexecuteNExperiences
(self, grades, moduleDict, solutionDict, n, checkValuesAndPolicy)
PJ3_reinforcement/reinforcementTestClasses.py:479
↓ 1 callersMethodexecuteNIterations
(self, grades, moduleDict, solutionDict, n, checkPolicy)
PJ3_reinforcement/reinforcementTestClasses.py:72
↓ 1 callersMethodfinal
Called by Pacman game at the terminal state
PJ3_reinforcement/learningAgents.py:221
↓ 1 callersFunctionfollowPath
(policy, start, numSteps=100)
PJ3_reinforcement/reinforcementTestClasses.py:805
↓ 1 callersFunctionfollowPath
(path, problem)
PJ1_search/searchTestClasses.py:37
↓ 1 callersMethodgeneratePacmanSuccessor
Generates the successor state after the specified pacman move
PJ2_multiagent/pacman.py:140
↓ 1 callersFunctiongeneratePublicTests
(moduleDict, privateRoot='private_test_cases', publicRoot='test_cases')
PJ4_tracking/autograder.py:345
↓ 1 callersMethodgetAction
The Agent will receive a GameState (from either {pacman, capture, sonar}.py) and must return an action from Directions.{North, South,
PJ2_multiagent/game.py:45
↓ 1 callersMethodgetAction
The Agent will receive a GameState (from either {pacman, capture, sonar}.py) and must return an action from Directions.{North, South,
PJ1_search/game.py:43
↓ 1 callersMethodgetAction
The Agent will receive a GameState (from either {pacman, capture, sonar}.py) and must return an action from Directions.{North, South,
PJ4_tracking/game.py:43
↓ 1 callersMethodgetAngles
returns the pair of (armAngle, handAngle)
PJ3_reinforcement/crawler.py:146
↓ 1 callersMethodgetCapsules
Returns a list of positions (x,y) of the remaining capsules.
PJ2_multiagent/pacman.py:180
↓ 1 callersMethodgetCapsules
Returns a list of positions (x,y) of the remaining capsules.
PJ3_reinforcement/pacman.py:179
↓ 1 callersMethodgetCapsules
Returns a list of positions (x,y) of the remaining capsules.
PJ1_search/pacman.py:172
↓ 1 callersMethodgetCapsules
Returns a list of positions (x,y) of the remaining capsules.
PJ4_tracking/pacman.py:172
↓ 1 callersMethodgetCostOfActions
(self, actions)
PJ1_search/searchTestClasses.py:109
↓ 1 callersFunctiongetDepends
(testParser, testRoot, question)
PJ2_multiagent/autograder.py:216
↓ 1 callersFunctiongetDepends
(testParser, testRoot, question)
PJ3_reinforcement/autograder.py:226
↓ 1 callersFunctiongetDepends
(testParser, testRoot, question)
PJ1_search/autograder.py:217
↓ 1 callersFunctiongetDepends
(testParser, testRoot, question)
PJ4_tracking/autograder.py:226
↓ 1 callersMethodgetDirection
(self)
PJ2_multiagent/game.py:165
↓ 1 callersMethodgetDirection
(self)
PJ3_reinforcement/game.py:168
↓ 1 callersMethodgetDirection
(self)
PJ1_search/game.py:160
↓ 1 callersMethodgetDirection
(self)
PJ4_tracking/game.py:160
↓ 1 callersMethodgetDistance
The getDistance function is the only one you'll need after you create the object.
PJ4_tracking/distanceCalculator.py:59
↓ 1 callersMethodgetDistribution
Returns a Counter encoding a distribution over actions from the provided state.
PJ2_multiagent/ghostAgents.py:34
↓ 1 callersMethodgetDistribution
Returns a Counter encoding a distribution over actions from the provided state.
PJ3_reinforcement/ghostAgents.py:34
↓ 1 callersMethodgetDistribution
Returns a Counter encoding a distribution over actions from the provided state.
PJ1_search/ghostAgents.py:34
↓ 1 callersMethodgetDistribution
(self, state)
PJ4_tracking/busters.py:430
↓ 1 callersMethodgetDistribution
(self, state)
PJ4_tracking/trackingTestClasses.py:555
↓ 1 callersMethodgetDistribution
(self, state)
PJ4_tracking/tracking_fa18TestClasses.py:579
↓ 1 callersMethodgetDistribution
Returns a Counter encoding a distribution over actions from the provided state.
PJ4_tracking/ghostAgents.py:34
↓ 1 callersMethodgetExpandedStates
(self)
PJ1_search/searchTestClasses.py:126
↓ 1 callersMethodgetFood
Returns a Grid of boolean food indicator variables. Grids can be accessed via list notation, so to check if there is food at
PJ3_reinforcement/pacman.py:188
↓ 1 callersMethodgetGhostColor
(self, ghost, ghostIndex)
PJ2_multiagent/graphicsDisplay.py:341
↓ 1 callersMethodgetGhostColor
(self, ghost, ghostIndex)
PJ3_reinforcement/graphicsDisplay.py:341
↓ 1 callersMethodgetGhostColor
(self, ghost, ghostIndex)
PJ1_search/graphicsDisplay.py:332
↓ 1 callersMethodgetGhostColor
(self, ghost, ghostIndex)
PJ4_tracking/graphicsDisplay.py:332
↓ 1 callersMethodgetGhostPositions
(self)
PJ3_reinforcement/pacman.py:170
↓ 1 callersMethodgetGhostState
(self, agentIndex)
PJ4_tracking/busters.py:283
↓ 1 callersMethodgetJailPosition
(self, i)
PJ4_tracking/inference.py:458
← previousnext →701–800 of 2,086, ranked by callers