Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WilliamLambertCN/CS188-Homework
/ functions
Functions
2,086 in github.com/WilliamLambertCN/CS188-Homework
⨍
Functions
2,086
◇
Types & classes
309
↓ 1 callers
Method
_backward
(gradient, *inputs)
PJ5_machinelearning/nn.py:123
↓ 1 callers
Method
_foodWallStr
(self, hasFood, hasWall)
PJ2_multiagent/game.py:490
↓ 1 callers
Method
_foodWallStr
(self, hasFood, hasWall)
PJ3_reinforcement/game.py:491
↓ 1 callers
Method
_foodWallStr
(self, hasFood, hasWall)
PJ1_search/game.py:469
↓ 1 callers
Method
_foodWallStr
(self, hasFood, hasWall)
PJ4_tracking/game.py:469
↓ 1 callers
Method
_forward
(*inputs)
PJ5_machinelearning/nn.py:109
↓ 1 callers
Method
_getLegacyText
(self)
PJ3_reinforcement/gridworld.py:257
↓ 1 callers
Method
_get_experiences
(self, test_name)
PJ3_reinforcement/util.py:46
↓ 1 callers
Method
_ghostStr
(self, dir)
PJ2_multiagent/game.py:507
↓ 1 callers
Method
_ghostStr
(self, dir)
PJ3_reinforcement/game.py:508
↓ 1 callers
Method
_ghostStr
(self, dir)
PJ1_search/game.py:486
↓ 1 callers
Method
_ghostStr
(self, dir)
PJ4_tracking/game.py:486
↓ 1 callers
Method
_pacStr
(self, dir)
PJ2_multiagent/game.py:498
↓ 1 callers
Method
_pacStr
(self, dir)
PJ3_reinforcement/game.py:499
↓ 1 callers
Method
_pacStr
(self, dir)
PJ1_search/game.py:477
↓ 1 callers
Method
_pacStr
(self, dir)
PJ4_tracking/game.py:477
↓ 1 callers
Method
_softmax
(self, x)
PJ5_machinelearning/backend.py:357
↓ 1 callers
Method
_unpackBits
Fills in data from a bit-level representation
PJ2_multiagent/game.py:265
↓ 1 callers
Method
_unpackBits
Fills in data from a bit-level representation
PJ3_reinforcement/game.py:269
↓ 1 callers
Method
_unpackBits
Fills in data from a bit-level representation
PJ1_search/game.py:255
↓ 1 callers
Method
_unpackBits
Fills in data from a bit-level representation
PJ4_tracking/game.py:255
↓ 1 callers
Method
_unpackInt
(self, packed, size)
PJ2_multiagent/game.py:278
↓ 1 callers
Method
_unpackInt
(self, packed, size)
PJ3_reinforcement/game.py:282
↓ 1 callers
Method
_unpackInt
(self, packed, size)
PJ1_search/game.py:267
↓ 1 callers
Method
_unpackInt
(self, packed, size)
PJ4_tracking/game.py:267
↓ 1 callers
Method
addDiagram
(self)
PJ2_multiagent/multiagentTestClasses.py:426
↓ 1 callers
Method
addErrorHints
(self, exceptionMap, errorInstance, questionNum)
PJ2_multiagent/grading.py:158
↓ 1 callers
Method
addErrorHints
(self, exceptionMap, errorInstance, questionNum)
PJ3_reinforcement/grading.py:158
↓ 1 callers
Method
addErrorHints
(self, exceptionMap, errorInstance, questionNum)
PJ1_search/grading.py:154
↓ 1 callers
Method
addErrorHints
(self, exceptionMap, errorInstance, questionNum)
PJ4_tracking/grading.py:154
↓ 1 callers
Method
addExceptionMessage
Method to format the exception message, this is more complicated because we need to cgi.escape the traceback but wrap the exception i
PJ2_multiagent/grading.py:148
↓ 1 callers
Method
addExceptionMessage
Method to format the exception message, this is more complicated because we need to cgi.escape the traceback but wrap the exception i
PJ3_reinforcement/grading.py:148
↓ 1 callers
Method
addExceptionMessage
Method to format the exception message, this is more complicated because we need to cgi.escape the traceback but wrap the exception i
PJ1_search/grading.py:144
↓ 1 callers
Method
addExceptionMessage
Method to format the exception message, this is more complicated because we need to cgi.escape the traceback but wrap the exception i
PJ4_tracking/grading.py:144
↓ 1 callers
Method
addGhostAgent
Each ghost agent is registered separately and stored (in case they are different).
PJ4_tracking/inference.py:451
↓ 1 callers
Method
addPrereq
(self, question, prereq)
PJ2_multiagent/grading.py:52
↓ 1 callers
Method
addPrereq
(self, question, prereq)
PJ3_reinforcement/grading.py:52
↓ 1 callers
Method
addPrereq
(self, question, prereq)
PJ1_search/grading.py:52
↓ 1 callers
Method
addPrereq
(self, question, prereq)
PJ4_tracking/grading.py:52
↓ 1 callers
Method
addTestCase
(self, testCase, thunk)
PJ2_multiagent/testClasses.py:42
↓ 1 callers
Method
addTestCase
(self, testCase, thunk)
PJ3_reinforcement/testClasses.py:43
↓ 1 callers
Method
addTestCase
(self, testCase, thunk)
PJ1_search/testClasses.py:42
↓ 1 callers
Method
addTestCase
(self, testCase, thunk)
PJ4_tracking/testClasses.py:67
↓ 1 callers
Method
agentCrash
(self, game, agentIndex)
PJ2_multiagent/pacman.py:318
↓ 1 callers
Method
agentCrash
(self, game, agentIndex)
PJ3_reinforcement/pacman.py:318
↓ 1 callers
Method
agentCrash
(self, game, agentIndex)
PJ1_search/pacman.py:305
↓ 1 callers
Method
agentCrash
(self, game, agentIndex)
PJ4_tracking/pacman.py:305
↓ 1 callers
Method
alpha_value
(self, gameState, cur_depth, agent_index, alpha=-1e10, beta=1e10)
PJ2_multiagent/multiAgents.py:245
↓ 1 callers
Method
animatePacman
(self, pacman, prevPacman, image)
PJ2_multiagent/graphicsDisplay.py:319
↓ 1 callers
Method
animatePacman
(self, pacman, prevPacman, image)
PJ3_reinforcement/graphicsDisplay.py:319
↓ 1 callers
Method
animatePacman
(self, pacman, prevPacman, image)
PJ1_search/graphicsDisplay.py:312
↓ 1 callers
Method
animatePacman
(self, pacman, prevPacman, image)
PJ4_tracking/graphicsDisplay.py:312
↓ 1 callers
Method
argMax
Returns the key with the highest value.
PJ3_reinforcement/util.py:3792
↓ 1 callers
Method
asList
(self, key=True)
PJ3_reinforcement/game.py:237
↓ 1 callers
Method
begin_q
(self, q)
PJ5_machinelearning/autograder.py:55
↓ 1 callers
Method
begin_test
(self, test_name)
PJ5_machinelearning/autograder.py:72
↓ 1 callers
Method
beta_value
min_party, search for minimums
PJ2_multiagent/multiAgents.py:258
↓ 1 callers
Function
changeColor
(id, newColor)
PJ2_multiagent/graphicsUtils.py:245
↓ 1 callers
Function
changeColor
(id, newColor)
PJ3_reinforcement/graphicsUtils.py:249
↓ 1 callers
Function
changeColor
(id, newColor)
PJ1_search/graphicsUtils.py:237
↓ 1 callers
Function
changeColor
(id, newColor)
PJ4_tracking/graphicsUtils.py:237
↓ 1 callers
Method
checkDeath
(state, agentIndex)
PJ2_multiagent/pacman.py:449
↓ 1 callers
Method
checkDeath
(state, agentIndex)
PJ3_reinforcement/pacman.py:445
↓ 1 callers
Method
checkDeath
(state, agentIndex)
PJ1_search/pacman.py:431
↓ 1 callers
Method
checkDeath
(state, agentIndex)
PJ4_tracking/busters.py:385
↓ 1 callers
Method
checkDeath
(state, agentIndex)
PJ4_tracking/pacman.py:431
↓ 1 callers
Method
checkFailure
Return +n if have n suboptimal moves. Return -1 if have only off by one depth moves. Return 0 otherwise.
PJ2_multiagent/multiagentTestClasses.py:227
↓ 1 callers
Method
checkHeuristic
(self, heuristic, problem, state, solutionCost)
PJ1_search/searchTestClasses.py:478
↓ 1 callers
Method
checkReset
(self, newBeliefs, oldBeliefs)
PJ4_tracking/trackingTestClasses.py:358
↓ 1 callers
Method
checkReset
(self, newBeliefs, oldBeliefs)
PJ4_tracking/tracking_fa18TestClasses.py:382
↓ 1 callers
Function
checkSolution
(problem, path)
PJ1_search/searchTestClasses.py:45
↓ 1 callers
Function
check_dependencies
()
PJ5_machinelearning/autograder.py:237
↓ 1 callers
Method
chooseAction
By default, a BustersAgent just stops. This should be overridden.
PJ4_tracking/bustersAgents.py:110
↓ 1 callers
Method
clearExpandedCells
(self)
PJ2_multiagent/graphicsDisplay.py:659
↓ 1 callers
Method
clearExpandedCells
(self)
PJ3_reinforcement/graphicsDisplay.py:656
↓ 1 callers
Method
clearExpandedCells
(self)
PJ1_search/graphicsDisplay.py:623
↓ 1 callers
Method
clearExpandedCells
(self)
PJ4_tracking/graphicsDisplay.py:622
↓ 1 callers
Function
clear_screen
(background=None)
PJ2_multiagent/graphicsUtils.py:162
↓ 1 callers
Function
clear_screen
(background=None)
PJ1_search/graphicsUtils.py:159
↓ 1 callers
Function
clear_screen
(background=None)
PJ4_tracking/graphicsUtils.py:159
↓ 1 callers
Function
closestFood
closestFood -- this is similar to the function that we have worked on in the search project; here its all in one place
PJ3_reinforcement/featureExtractors.py:44
↓ 1 callers
Function
colorToVector
(color)
PJ1_search/graphicsUtils.py:39
↓ 1 callers
Method
comparePrettyValues
(self, aPretty, bPretty, tolerance=0.01)
PJ3_reinforcement/reinforcementTestClasses.py:405
↓ 1 callers
Function
computeDistances
(layout)
PJ4_tracking/distanceCalculator.py:147
↓ 1 callers
Function
computePolicy
(moduleDict, grid, discount)
PJ3_reinforcement/reinforcementTestClasses.py:838
↓ 1 callers
Function
confirmGenerate
()
PJ2_multiagent/autograder.py:90
↓ 1 callers
Function
confirmGenerate
()
PJ3_reinforcement/autograder.py:89
↓ 1 callers
Function
confirmGenerate
()
PJ1_search/autograder.py:88
↓ 1 callers
Function
confirmGenerate
()
PJ4_tracking/autograder.py:97
↓ 1 callers
Method
construct_our_pacs
(self, multiAgents, keyword_dict)
PJ2_multiagent/multiagentTestClasses.py:274
↓ 1 callers
Method
consume
(position, state)
PJ2_multiagent/pacman.py:378
↓ 1 callers
Method
consume
(position, state)
PJ3_reinforcement/pacman.py:377
↓ 1 callers
Method
consume
(position, state)
PJ1_search/pacman.py:364
↓ 1 callers
Method
consume
(position, state)
PJ4_tracking/pacman.py:364
↓ 1 callers
Method
copy
(self)
PJ3_reinforcement/gridworld.py:244
↓ 1 callers
Method
copyAgentStates
(self, agentStates)
PJ2_multiagent/game.py:427
↓ 1 callers
Method
copyAgentStates
(self, agentStates)
PJ3_reinforcement/game.py:428
↓ 1 callers
Method
copyAgentStates
(self, agentStates)
PJ1_search/game.py:413
↓ 1 callers
Method
copyAgentStates
(self, agentStates)
PJ4_tracking/game.py:413
↓ 1 callers
Method
createPublicVersion
(self)
PJ4_tracking/testClasses.py:232
← previous
next →
601–700 of 2,086, ranked by callers