Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~939 People Reached
Favorite Forums
Favorite Tags
Member Avatar for Cosmo_Kramer

I am writing the following functions I cannot tell where I should leave off with the "bootstrapping" that the first function searchMaze() is supposed to be doing, the wording is not getting through my dense head. searchMaze(maze, start_pos, finish_pos) This function takes a maze data structure as created by readMazeFile(), …

Member Avatar for Cosmo_Kramer
0
174
Member Avatar for Cosmo_Kramer

3 1 100 80 2 100 70 3 110 60 4 140 50 5 140 200 6 230 10 7 235 200 8 240 20 9 240 30 10 240 30 I am inputting the above in a simulator that simulates people in line at a store. The 3 means …

Member Avatar for Lucaci Andrew
0
80
Member Avatar for Cosmo_Kramer

Hello all, I was just wondering if anyone has code snippet for a function that is a multi-queue.....this is for python 2.3 or 2.4 I think so it has to be a bit primitive. The program is simulating people at a store arriving at the checkout, the input from a …

Member Avatar for Cosmo_Kramer
0
207
Member Avatar for Cosmo_Kramer

So I am done with the code below, I will run it like this "python hw3.py < code.txt" I think I have a problem with the indentation or something. the code.txt has a mixed up text in it that is offset using a caesar cipher but it has to be …

Member Avatar for Cosmo_Kramer
-1
290
Member Avatar for Cosmo_Kramer

def random(fileName) setup = open(fileName, "r" ) z = setup.readline() waiting = stack() for line in setup: customerNum, arrivalTime, serviceTime = line.split() plane = Customer(customerNum, arrivalTime, serviceTime) push(waiting, plane) setup.close() print "The data file specifies a", z, "-server simulation." print "There are", len(waiting) , "arrival events in the data file." …

Member Avatar for Cosmo_Kramer
0
188