MCPcopy Create free account

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

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

↓ 2 callersMethodfindPathToClosestDot
Returns a path (a list of actions) to the closest dot, starting from gameState.
PJ1_search/searchAgents.py:570
↓ 2 callersMethodfinish
(self)
PJ2_multiagent/textDisplay.py:47
↓ 2 callersMethodfinish
(self)
PJ3_reinforcement/textDisplay.py:46
↓ 2 callersMethodfinish
(self)
PJ1_search/textDisplay.py:47
↓ 2 callersMethodfinish
(self)
PJ4_tracking/textDisplay.py:47
↓ 2 callersFunctionfollowAction
(state, action, problem)
PJ1_search/searchTestClasses.py:32
↓ 2 callersMethodgenerateSuccessor
Generates a new configuration reached by translating the current configuration by the action vector. This is a low-level call and do
PJ2_multiagent/game.py:109
↓ 2 callersMethodgenerateSuccessor
Generates a new configuration reached by translating the current configuration by the action vector. This is a low-level call and do
PJ3_reinforcement/game.py:111
↓ 2 callersMethodgenerateSuccessor
Generates a new configuration reached by translating the current configuration by the action vector. This is a low-level call and do
PJ1_search/game.py:106
↓ 2 callersMethodgetAction
(self, state)
PJ2_multiagent/multiagentTestClasses.py:299
↓ 2 callersMethodgetAction
Updates beliefs, then chooses an action based on updated beliefs.
PJ4_tracking/bustersAgents.py:98
↓ 2 callersMethodgetBeliefDistribution
(self)
PJ4_tracking/bustersAgents.py:67
↓ 2 callersMethodgetCostOfActions
Returns the cost of a particular sequence of actions. If those actions include an illegal move, return 999999. This is implemented
PJ1_search/searchAgents.py:347
↓ 2 callersMethodgetCurrentState
(self)
PJ3_reinforcement/gridworld.py:185
↓ 2 callersFunctiongetDisplay
(graphicsByDefault, options=None)
PJ2_multiagent/autograder.py:315
↓ 2 callersFunctiongetDisplay
(graphicsByDefault, options=None)
PJ3_reinforcement/autograder.py:323
↓ 2 callersFunctiongetDisplay
(graphicsByDefault, options=None)
PJ1_search/autograder.py:311
↓ 2 callersMethodgetDistanceOnGrid
(self, pos1, pos2)
PJ4_tracking/distanceCalculator.py:78
↓ 2 callersMethodgetEndpoints
(self, direction, position=(0, 0))
PJ2_multiagent/graphicsDisplay.py:296
↓ 2 callersMethodgetEndpoints
(self, direction, position=(0, 0))
PJ3_reinforcement/graphicsDisplay.py:296
↓ 2 callersMethodgetEndpoints
(self, direction, position=(0, 0))
PJ1_search/graphicsDisplay.py:289
↓ 2 callersMethodgetEndpoints
(self, direction, position=(0, 0))
PJ4_tracking/graphicsDisplay.py:289
↓ 2 callersMethodgetFeatures
(self, state, action)
PJ3_reinforcement/featureExtractors.py:75
↓ 2 callersMethodgetGhostPosition
(self, agentIndex)
PJ2_multiagent/pacman.py:166
↓ 2 callersMethodgetGhostPosition
(self, agentIndex)
PJ3_reinforcement/pacman.py:165
↓ 2 callersMethodgetGhostPosition
(self, agentIndex)
PJ1_search/pacman.py:158
↓ 2 callersMethodgetGhostPosition
(self, agentIndex)
PJ4_tracking/busters.py:278
↓ 2 callersMethodgetGhostState
(self, agentIndex)
PJ2_multiagent/pacman.py:161
↓ 2 callersMethodgetGhostState
(self, agentIndex)
PJ3_reinforcement/pacman.py:160
↓ 2 callersMethodgetGhostState
(self, agentIndex)
PJ1_search/pacman.py:153
↓ 2 callersMethodgetGhostStates
(self)
PJ3_reinforcement/pacman.py:157
↓ 2 callersMethodgetGhostStates
(self)
PJ1_search/pacman.py:150
↓ 2 callersMethodgetGhostStates
(self)
PJ4_tracking/pacman.py:150
↓ 2 callersFunctiongetGrids1D
(x)
PJ4_tracking/distanceCalculator.py:102
↓ 2 callersFunctiongetGrids2D
(pos)
PJ4_tracking/distanceCalculator.py:95
↓ 2 callersMethodgetLegalNeighbors
(position, walls)
PJ3_reinforcement/game.py:372
↓ 2 callersMethodgetLegalPacmanActions
(self)
PJ2_multiagent/pacman.py:137
↓ 2 callersMethodgetLegalPacmanActions
(self)
PJ3_reinforcement/pacman.py:136
↓ 2 callersMethodgetMoveTimeout
(self, agentIndex)
PJ2_multiagent/pacman.py:333
↓ 2 callersMethodgetMoveTimeout
(self, agentIndex)
PJ3_reinforcement/pacman.py:333
↓ 2 callersMethodgetMoveTimeout
(self, agentIndex)
PJ1_search/pacman.py:320
↓ 2 callersMethodgetMoveTimeout
(self, agentIndex)
PJ4_tracking/pacman.py:320
↓ 2 callersFunctiongetNoisyDistance
(pos1, pos2)
PJ4_tracking/busters.py:42
↓ 2 callersMethodgetNoisyGhostDistances
Returns a noisy distance to each ghost.
PJ4_tracking/busters.py:219
↓ 2 callersMethodgetNumAgents
(self)
PJ3_reinforcement/pacman.py:173
↓ 2 callersMethodgetNumAgents
(self)
PJ1_search/pacman.py:166
↓ 2 callersMethodgetNumGhosts
(self)
PJ2_multiagent/layout.py:41
↓ 2 callersMethodgetNumGhosts
(self)
PJ3_reinforcement/layout.py:42
↓ 2 callersMethodgetNumGhosts
(self)
PJ1_search/layout.py:41
↓ 2 callersMethodgetNumGhosts
(self)
PJ4_tracking/layout.py:41
↓ 2 callersMethodgetPacmanState
Returns an AgentState object for pacman (in game.py) state.pos gives the current position state.direction gives the travel v
PJ2_multiagent/pacman.py:146
↓ 2 callersMethodgetPacmanState
Returns an AgentState object for pacman (in game.py) state.pos gives the current position state.direction gives the travel v
PJ3_reinforcement/pacman.py:145
↓ 2 callersMethodgetPacmanState
Returns an AgentState object for pacman (in game.py) state.pos gives the current position state.direction gives the travel v
PJ1_search/pacman.py:138
↓ 2 callersMethodgetPolicy
NOTE: 'random' is a special policy value; don't use it in your code.
PJ3_reinforcement/gridworld.py:506
↓ 2 callersMethodgetPossibleActions
(config, walls)
PJ2_multiagent/game.py:350
↓ 2 callersMethodgetPossibleActions
(config, walls)
PJ1_search/game.py:337
↓ 2 callersMethodgetQValue
Should return Q(state,action) = w * featureVector where * is the dotProduct operator
PJ3_reinforcement/qlearningAgents.py:181
↓ 2 callersMethodgetQValue
(self, state, action)
PJ3_reinforcement/valueIterationAgents.py:122
↓ 2 callersMethodgetReward
Get reward for state, action, nextState transition. Note that the reward depends only on the state being departed (as in the
PJ3_reinforcement/gridworld.py:80
↓ 2 callersMethodgetScore
(self)
PJ2_multiagent/multiagentTestClasses.py:62
↓ 2 callersMethodgetScore
(self)
PJ1_search/pacman.py:169
↓ 2 callersMethodgetStartState
Returns the start state (in your state space, not the full Pacman state space)
PJ1_search/searchAgents.py:296
↓ 2 callersMethodgetSuccessor
(position, action)
PJ4_tracking/game.py:371
↓ 2 callersMethodgetSuccessors
(self, state)
PJ1_search/searchTestClasses.py:104
↓ 2 callersMethodgetWalls
Returns a Grid of boolean wall indicator variables. Grids can be accessed via list notation, so to check if there is a wall
PJ4_tracking/pacman.py:193
↓ 2 callersMethodgetWeights
(self)
PJ3_reinforcement/qlearningAgents.py:178
↓ 2 callersFunctionget_data_path
(filename)
PJ5_machinelearning/backend.py:25
↓ 2 callersMethodget_loss
Computes the loss for a batch of examples. The correct labels `y` are represented as a node with shape (batch_size x 10). Ea
PJ5_machinelearning/models.py:174
↓ 2 callersMethodget_loss
Computes the loss for a batch of examples. The correct labels `y` are represented as a node with shape (batch_size x 5). Eac
PJ5_machinelearning/models.py:285
↓ 2 callersMethodget_prediction
Calculates the predicted class for a single data point `x`. Returns: 1 or -1
PJ5_machinelearning/models.py:33
↓ 2 callersMethodhasFood
(self, x, y)
PJ1_search/pacman.py:205
↓ 2 callersMethodincrementAlpha
(self, inc)
PJ3_reinforcement/graphicsCrawlerDisplay.py:61
↓ 2 callersMethodincrementEpsilon
(self, inc)
PJ3_reinforcement/graphicsCrawlerDisplay.py:49
↓ 2 callersMethodincrementGamma
(self, inc)
PJ3_reinforcement/graphicsCrawlerDisplay.py:55
↓ 2 callersMethodincrementSpeed
(self, inc)
PJ3_reinforcement/graphicsCrawlerDisplay.py:42
↓ 2 callersMethodinitialize
Creates an initial game state from a layout array (see layout.py).
PJ2_multiagent/pacman.py:260
↓ 2 callersMethodinitialize
Creates an initial game state from a layout array (see layout.py).
PJ3_reinforcement/pacman.py:259
↓ 2 callersMethodinitializeUniformly
Initialize particles to be consistent with a uniform prior. Particles should be evenly distributed across positions in order to ensur
PJ4_tracking/inference.py:438
↓ 2 callersMethodisEmpty
(self)
PJ1_search/util.py:193
↓ 2 callersFunctionisInt
(pos)
PJ4_tracking/distanceCalculator.py:91
↓ 2 callersMethodisWin
(self)
PJ2_multiagent/multiagentTestClasses.py:79
↓ 2 callersFunctionkeys_pressed
(d_o_e=lambda arg: _root_window.dooneevent(arg), d_w=tkinter._tkinter.DONT_WAIT)
PJ2_multiagent/graphicsUtils.py:302
↓ 2 callersFunctionkeys_pressed
(d_o_e=lambda arg: _root_window.dooneevent(arg), d_w=tkinter._tkinter.DONT_WAIT)
PJ3_reinforcement/graphicsUtils.py:306
↓ 2 callersFunctionkeys_pressed
(d_o_e=lambda arg: _root_window.dooneevent(arg), d_w=tkinter._tkinter.DONT_WAIT)
PJ1_search/graphicsUtils.py:293
↓ 2 callersFunctionkeys_pressed
(d_o_e=lambda arg: _root_window.dooneevent(arg), d_w=tkinter._tkinter.DONT_WAIT)
PJ4_tracking/graphicsUtils.py:293
↓ 2 callersMethodlegalMoves
Returns a list of legal moves from the current state. Moves consist of moving the blank space up, down, left or right. The
PJ1_search/eightpuzzle.py:88
↓ 2 callersFunctionloadAgent
(pacman, nographics)
PJ2_multiagent/pacman.py:631
↓ 2 callersFunctionloadAgent
(pacman, nographics)
PJ3_reinforcement/pacman.py:626
↓ 2 callersFunctionloadAgent
(pacman, nographics)
PJ1_search/pacman.py:603
↓ 2 callersFunctionloadAgent
(pacman, nographics)
PJ4_tracking/busters.py:524
↓ 2 callersFunctionloadAgent
(pacman, nographics)
PJ4_tracking/pacman.py:603
↓ 2 callersFunctionloadModuleFile
(moduleName, filePath)
PJ2_multiagent/autograder.py:135
↓ 2 callersFunctionloadModuleFile
(moduleName, filePath)
PJ3_reinforcement/autograder.py:139
↓ 2 callersFunctionloadModuleFile
(moduleName, filePath)
PJ1_search/autograder.py:134
↓ 2 callersFunctionloadModuleFile
(moduleName, filePath)
PJ4_tracking/autograder.py:143
↓ 2 callersFunctionmakeGrid
(gridString)
PJ3_reinforcement/gridworld.py:265
↓ 2 callersFunctionmakefun
(testCase, solution_file)
PJ2_multiagent/autograder.py:282
↓ 2 callersFunctionmakefun
(testCase, solution_file)
PJ3_reinforcement/autograder.py:292
↓ 2 callersFunctionmakefun
(testCase, solution_file)
PJ1_search/autograder.py:278
↓ 2 callersFunctionmakefun
(testCase, solution_file)
PJ4_tracking/autograder.py:287
← previousnext →401–500 of 2,086, ranked by callers