Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can you give me the implementation of sevenflags but the classes ride and VirtualLine import LinkedList instead of ArrayList . The following is the output
Can you give me the implementation of sevenflags but the classes ride and VirtualLine import LinkedList instead of ArrayList The following is the output sample run:
Welcome to Seven Flags!
Please enter the number of regular customers:
Please enter the number of silver customers:
Please enter the number of gold customers:
Please enter simulation length:
Please enter the duration of Blue Scream of Death minutes:
Please enter the capacity of Blue Scream of Death:
Please enter the holding queue size for Blue Scream of Death:
Please enter the duration of Kingda Knuth minutes:
Please enter the capacity of Kingda Knuth:
Please enter the holding queue size for Kingda Knuth:
Please enter the duration of i Tower of Terror minutes:
Please enter the capacity of i Tower of Terror:
Please enter the holding queue size for i Tower of Terror:
Please enter the duration of GeForce minutes:
Please enter the capacity of GeForce:
Please enter the holding queue size for GeForce:
At Time :
Blue Scream of Death Time remaining: min
On Ride: Gold Silver Silver
Holding Queue: Silver Regular Regular Regular
Virtual Queue: Gold Silver Silver Gold
Kingda Knuth Time remaining: min
On Ride: Silver Regular
Holding Queue: Regular Regular
Virtual Queue: Gold Silver Gold
i Tower of Terror Time remaining: min
On Ride: Gold
Holding Queue: Silver
Virtual Queue: Regular Gold Silver
GeForce Time remaining: min
On Ride: Gold
Holding Queue: Silver Regular
Virtual Queue: Regular Silver Gold
Regular Customers:
Num Line Status
BSOD Holding
KK OnRide
BSOD Holding
BSOD Holding
KK Holding
KK Holding
GF Holding
ToT Available
KK Available
GF Available
Silver Customers:
Num Line Line Status
BSOD GF On Ride
BSOD ToT On Ride
KK KK On Ride
ToT BSOD Holding
GF BSOD Holding
Gold Customers:
Num Line Line Line Status
BSOD KK BSOD OnRide
ToT BSOD GF OnRide
GF GF ToT OnRide
At Time :
Blue Scream of Death Time remaining: min
On Ride:Gold Silver Silver
Holding Queue: Silver Regular Regular Regular
Virtual Queue:Gold Silver Silver Gold
Kingda Knuth Time remaining: min
On Ride: Silver Regular
Holding Queue: Regular Regular
Virtual Queue:Gold Silver Gold
i Tower of Terror Time remaining: min
On Ride: Gold
Holding Queue: Silver
Virtual Queue: Regular Gold Silver Gold
GeForce Time remaining: min
On Ride: Silver
Holding Queue: Regular Regular
Virtual Queue:Silver Gold
Regular Customers:
Num Line Status
BSOD Holding
KK OnRide
BSOD Holding
BSOD Holding
KK Holding
KK Holding
GF Holding
ToT Available
KK Available
GF Holding
Silver Customers:
Num Line Line Status
BSOD GF On Ride
BSOD ToT On Ride
KK KK On Ride
ToT BSOD Holding
GF BSOD OnRide
Gold Customers:
Num Line Line Line Status
BSOD KK BSOD OnRide
ToT BSOD GF OnRide
ToT GF ToT Available
At Time :
Blue Scream of Death Time remaining: min
On Ride: Gold Silver Silver
Holding Queue: Silver Regular Regular Regular
Virtual Queue: Gold Silver Silver Gold Silver Regular
Kingda Knuth Time remaining: min
On Ride: Regular Regular
Holding Queue: Silver Gold
Virtual Queue: Gold Silver Gold gold was not available, so gold was placed in the back of the queue. You may place the customers with time conflicts either before or after the people being enqueued at this timestep.
i Tower of Terror Time remaining: min
On Ride: Silver
Holding Queue: Regular
Virtual Queue: Gold Silver Gold
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started