MCPcopy Create free account

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

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

↓ 4 callersMethodasList
(self, key=True)
PJ2_multiagent/game.py:233
↓ 4 callersMethodassignFullCredit
(self, message="", raw=False)
PJ4_tracking/grading.py:283
↓ 4 callersMethoddirectionToVector
(direction, speed=1.0)
PJ2_multiagent/game.py:344
↓ 4 callersMethoddisplayValues
(self, agent, currentState=None, message=None)
PJ3_reinforcement/textGridworldDisplay.py:29
↓ 4 callersMethodexecute
(self, grades)
PJ2_multiagent/testClasses.py:45
↓ 4 callersMethodexecute
(self, grades)
PJ3_reinforcement/testClasses.py:46
↓ 4 callersMethodexecute
(self, grades)
PJ1_search/testClasses.py:45
↓ 4 callersMethodexecute
(self, grades)
PJ4_tracking/testClasses.py:70
↓ 4 callersMethodgetAndResetExplored
()
PJ2_multiagent/pacman.py:83
↓ 4 callersMethodgetFood
Returns a Grid of boolean food indicator variables. Grids can be accessed via list notation, so to check if there is food at
PJ1_search/pacman.py:181
↓ 4 callersMethodgetGhostStates
(self)
PJ2_multiagent/pacman.py:158
↓ 4 callersMethodgetNumAgents
(self)
PJ4_tracking/busters.py:153
↓ 4 callersMethodgetNumFood
(self)
PJ1_search/pacman.py:178
↓ 4 callersMethodgetPacmanPosition
(self)
PJ3_reinforcement/pacman.py:154
↓ 4 callersMethodgetPath
(self)
PJ4_tracking/testClasses.py:174
↓ 4 callersMethodgetPossibleActions
(config, walls)
PJ4_tracking/game.py:337
↓ 4 callersMethodgetScore
(self)
PJ2_multiagent/pacman.py:177
↓ 4 callersMethodgetStartState
(self)
PJ1_search/searchTestClasses.py:96
↓ 4 callersMethodgetStartState
Returns the start state for the search problem.
PJ1_search/search.py:30
↓ 4 callersMethodgetSuccessors
state: Search state For a given state, this should return a list of triples, (successor, action, stepCost), where 'success
PJ1_search/search.py:44
↓ 4 callersMethodgetValue
(self, state)
PJ3_reinforcement/gridworld.py:502
↓ 4 callersMethodgetValue
Return the value of the state (computed in __init__).
PJ3_reinforcement/valueIterationAgents.py:77
↓ 4 callersMethodget_node_value
Using self-defined function, alpha_value(), beta_value() to choose the most appropriate action Only when it's the final state, can we
PJ2_multiagent/multiAgents.py:227
↓ 4 callersMethodget_validation_accuracy
(self)
PJ5_machinelearning/backend.py:69
↓ 4 callersMethodisGoalState
state: Search state Returns True if and only if the state is a valid goal state.
PJ1_search/search.py:36
↓ 4 callersMethodisWin
(self)
PJ1_search/pacman.py:214
↓ 4 callersMethodisWin
(self)
PJ4_tracking/busters.py:216
↓ 4 callersFunctionmanhattanDistance
Returns the Manhattan distance between points xy1 and xy2
PJ3_reinforcement/util.py:3723
↓ 4 callersFunctionmanhattanDistance
Returns the Manhattan distance between points xy1 and xy2
PJ1_search/util.py:228
↓ 4 callersFunctionnearestPoint
Finds the nearest grid point to a position (discretizes).
PJ4_tracking/util.py:539
↓ 4 callersFunctionnormalize
normalize a vector or counter by dividing each value by the sum of all values
PJ4_tracking/util.py:461
↓ 4 callersMethodobserveTransition
Called by environment to inform agent that a transition has been observed. This will result in a call to self.update
PJ3_reinforcement/learningAgents.py:124
↓ 4 callersFunctionpolygon
(coords, outlineColor, fillColor=None, filled=1, smoothed=1, behind=0, width=1)
PJ2_multiagent/graphicsUtils.py:168
↓ 4 callersFunctionpolygon
(coords, outlineColor, fillColor=None, filled=1, smoothed=1, behind=0, width=1)
PJ1_search/graphicsUtils.py:165
↓ 4 callersFunctionpolygon
(coords, outlineColor, fillColor=None, filled=1, smoothed=1, behind=0, width=1)
PJ4_tracking/graphicsUtils.py:165
↓ 4 callersMethodpop
Pop the most recently pushed item from the stack
PJ1_search/util.py:143
↓ 4 callersMethodprintPolicy
(self, policy, policyTypeIsGrid)
PJ3_reinforcement/reinforcementTestClasses.py:983
↓ 4 callersMethodraiseNotDefined
(self)
PJ2_multiagent/testClasses.py:25
↓ 4 callersMethodraiseNotDefined
(self)
PJ4_tracking/testClasses.py:170
↓ 4 callersFunctionremove_from_screen
(x, d_o_e=lambda arg: _root_window.dooneevent(arg), d_w=tkinter.
PJ2_multiagent/graphicsUtils.py:325
↓ 4 callersFunctionremove_from_screen
(x, d_o_e=lambda arg: _root_window.dooneevent(arg), d_w=tkinter.
PJ3_reinforcement/graphicsUtils.py:329
↓ 4 callersFunctionremove_from_screen
(x, d_o_e=lambda arg: _root_window.dooneevent(arg), d_w=tkinter.
PJ1_search/graphicsUtils.py:315
↓ 4 callersFunctionremove_from_screen
(x, d_o_e=lambda arg: _root_window.dooneevent(arg), d_w=tkinter.
PJ4_tracking/graphicsUtils.py:315
↓ 4 callersFunctionrun
Runs a few games and outputs their statistics.
PJ4_tracking/trackingTestClasses.py:248
↓ 4 callersFunctionrun
Runs a few games and outputs their statistics.
PJ4_tracking/tracking_fa18TestClasses.py:272
↓ 4 callersMethodstart
(self)
PJ3_reinforcement/graphicsCrawlerDisplay.py:299
↓ 4 callersFunctiontryToLoad
(fullname)
PJ2_multiagent/layout.py:154
↓ 4 callersFunctiontryToLoad
(fullname)
PJ3_reinforcement/layout.py:155
↓ 4 callersFunctiontryToLoad
(fullname)
PJ1_search/layout.py:149
↓ 4 callersFunctiontryToLoad
(fullname)
PJ4_tracking/layout.py:149
↓ 3 callersMethod__init__
(self, seed, multiAgents, ourPacOptions, depth)
PJ2_multiagent/multiagentTestClasses.py:246
↓ 3 callersMethod__init__
(self, x, y)
PJ5_machinelearning/backend.py:40
↓ 3 callersMethod__init__
(self, question, testDict)
PJ4_tracking/trackingTestClasses.py:206
↓ 3 callersMethod__init__
(self, question, testDict)
PJ4_tracking/tracking_fa18TestClasses.py:230
↓ 3 callersMethod_predict
(self, split='dev')
PJ5_machinelearning/backend.py:361
↓ 3 callersMethodasList
(self, key=True)
PJ4_tracking/game.py:224
↓ 3 callersFunctionbegin_graphics
(width=640, height=480, color=formatColor(0, 0, 0), title=None)
PJ3_reinforcement/graphicsUtils.py:62
↓ 3 callersFunctionblank
()
PJ3_reinforcement/graphicsGridworldDisplay.py:171
↓ 3 callersFunctionborder
(text)
PJ3_reinforcement/textGridworldDisplay.py:247
↓ 3 callersMethodcomparePrettyValues
(self, aPretty, bPretty, tolerance=0.01)
PJ3_reinforcement/reinforcementTestClasses.py:184
↓ 3 callersMethodcomparePrettyValues
(self, aPretty, bPretty, tolerance=0.01)
PJ3_reinforcement/reinforcementTestClasses.py:594
↓ 3 callersMethodcomputeActionFromQValues
Compute the best action to take in a state. Note that if there are no legal actions, which is the case at the terminal state,
PJ3_reinforcement/qlearningAgents.py:73
↓ 3 callersMethoddisplayQValues
(self, agent, currentState=None, message=None)
PJ3_reinforcement/textGridworldDisplay.py:44
↓ 3 callersMethoddistCompare
Compares two distributions
PJ4_tracking/trackingTestClasses.py:426
↓ 3 callersMethoddistCompare
Compares two distributions
PJ4_tracking/tracking_fa18TestClasses.py:450
↓ 3 callersMethoddraw
(self, state)
PJ2_multiagent/textDisplay.py:82
↓ 3 callersMethoddraw
(self, state)
PJ3_reinforcement/textDisplay.py:80
↓ 3 callersMethoddraw
(self, state)
PJ1_search/textDisplay.py:81
↓ 3 callersMethoddraw
(self, state)
PJ4_tracking/textDisplay.py:81
↓ 3 callersFunctionedit
(id, *args)
PJ2_multiagent/graphicsUtils.py:231
↓ 3 callersFunctionedit
(id, *args)
PJ3_reinforcement/graphicsUtils.py:235
↓ 3 callersFunctionedit
(id, *args)
PJ1_search/graphicsUtils.py:223
↓ 3 callersFunctionedit
(id, *args)
PJ4_tracking/graphicsUtils.py:223
↓ 3 callersMethodfinal
(self, gameState)
PJ4_tracking/trackingTestClasses.py:281
↓ 3 callersMethodgetAction
The Agent will receive a GameState (from either {pacman, capture, sonar}.py) and must return an action from Directions.{North, South,
PJ3_reinforcement/game.py:45
↓ 3 callersFunctiongetColor
(val, minVal, max)
PJ3_reinforcement/graphicsGridworldDisplay.py:327
↓ 3 callersMethodgetCurrentState
Returns the current state of enviornment
PJ3_reinforcement/environment.py:19
↓ 3 callersFunctiongetDisplay
(graphicsByDefault, options=None)
PJ4_tracking/autograder.py:320
↓ 3 callersMethodgetDisplay
(self)
PJ2_multiagent/testClasses.py:34
↓ 3 callersMethodgetFood
Returns a Grid of boolean food indicator variables. Grids can be accessed via list notation, so to check if there is food at
PJ2_multiagent/pacman.py:189
↓ 3 callersMethodgetLegalPacmanActions
(self)
PJ1_search/pacman.py:129
↓ 3 callersMethodgetNumFood
(self)
PJ2_multiagent/pacman.py:186
↓ 3 callersMethodgetNumFood
(self)
PJ3_reinforcement/pacman.py:185
↓ 3 callersMethodgetNumFood
(self)
PJ4_tracking/pacman.py:178
↓ 3 callersMethodgetObservationProb
Return the probability P(noisyDistance | pacmanPosition, ghostPosition).
PJ4_tracking/inference.py:178
↓ 3 callersMethodgetPacmanPosition
(self)
PJ4_tracking/busters.py:150
↓ 3 callersMethodgetPositionDistribution
Return a distribution over successor positions of the ghost from the given gameState. You must first place the ghost in the gameState
PJ4_tracking/inference.py:166
↓ 3 callersMethodgetQValue
Returns Q(state,action) Should return 0.0 if we have never seen a state or the Q node value otherwise
PJ3_reinforcement/qlearningAgents.py:48
↓ 3 callersMethodgetQValue
(self, state, action)
PJ3_reinforcement/gridworld.py:504
↓ 3 callersMethodgetResult
Returns the state after the specified agent takes the action.
PJ4_tracking/busters.py:95
↓ 3 callersMethodgetScore
(self)
PJ4_tracking/pacman.py:169
↓ 3 callersMethodgetSolInfo
(self, search)
PJ1_search/searchTestClasses.py:175
↓ 3 callersMethodgetSolInfo
(self, search, searchAgents)
PJ1_search/searchTestClasses.py:264
↓ 3 callersMethodgetTransitionStatesAndProbs
Returns list of (nextState, prob) pairs representing the states reachable from 'state' by taking 'action' along with
PJ3_reinforcement/gridworld.py:114
↓ 3 callersMethodget_experience
(self)
PJ3_reinforcement/util.py:42
↓ 3 callersFunctionindent
Indents a table by column. - rows: A sequence of sequences of items, one sequence per row. - hasHeader: True if the first row consists o
PJ3_reinforcement/textGridworldDisplay.py:260
↓ 3 callersMethodisLose
(self)
PJ3_reinforcement/pacman.py:218
↓ 3 callersMethodisLose
(self)
PJ1_search/pacman.py:211
↓ 3 callersMethodisLose
(self)
PJ4_tracking/busters.py:213
↓ 3 callersMethodisLose
(self)
PJ4_tracking/pacman.py:211
← previousnext →201–300 of 2,086, ranked by callers