This project is taken from the Bridges folks, and will be discovered right here – https://bridgesuncc.github.io/assignments/knowledge//2-ListEQ/README.html The documentation in that hyperlink is damaged, right here is the API data for SLelement: https://bridgesuncc.github.io/doc/cxx-api/present/html/classbridges_1_1datastructure_1_1_s_lelement.html For ElementVisualizer: https://bridgesuncc.github.io/doc/cxx-api/present/html/classbridges_1_1datastructure_1_1_element_visualizer.html One letter grade might be given for every of those bullet factors you do: 1) Get your linked listing visualized on the BRIDGES site (this principally includes simply getting your credentials plugged in and never breaking something) For the following ones, you need to loop over the linked listing (maintain getting getNext() till you get a null pointer) and get the info of every node within the linked listing utilizing getVisualizer() to get a pointer to the ElementVisualizer in it. 2) It’s essential to change the dimensions of every earthquake visualized based mostly on the magnitude of the earthquake. It ought to scale from measurement 10 with a magnitude 1 to a measurement 20 with a 5.zero or up. (So a magnitude three can be measurement 15.) three) It’s essential to change the form of every earthquake to a diamond whether it is in Alaska or a plus whether it is in Hawaii four) It’s essential to change the colour of it based mostly on the magnitude: Magnitude <= 1.zero quakes – blue Magnitude 1.1 to 1.9 quakes – inexperienced Magnitude 2.zero to 2.9 quakes – yellow Magnitude three.zero to three.9 quakes – orange Magnitude four.zero to four.9 quakes – pink Magnitude 5.zero and up quakes – purple 5) Output the imply, median, and mode (for mode spherical to nearest entire quantity) for the earthquake knowledge Pattern output for a run (your username and venture title might be completely different, don’t be concerned, the autograder will ignore): Success: Project posted to the server. Try your visualization at: http://bridges-cs.herokuapp.com/assignments/1005/wkerney AVERAGE = 2.2298 MEDIAN = 1.72 MODE = 1 You’ll be able to run my pattern executable in /public/bridges_earthquake/a.out to confirm your program is giving equal output. There is no such thing as a autograder or inputfiles in any other case.

Published by
Medical
View all posts