- COMP.CS.300
- 10. PRG1
- 10.1 Assignment graders
- 10.1.7 Perfestimate
Perfestimate¶
Perfomance estimate is, in summary, a single number that reflects the efficiency of Project 1. The estimate is calculated as a weighted average of efficiency measurements for mandatory functions. The unit of efficiency measurement is ”command count,” meaning the command counter, with a value read as N, is set to 100,000. The smaller the command counter value, the more efficient is the function.
The weights for functions are listed below:
Function | Weight |
get_place_count | 10 |
all_places | 1 |
get_place_name | 10 |
add_place | 10 |
get_place_coord | 10 |
find_places_with_coord | 10 |
get_places_alphabetically | 1 |
get_places_distance_increasing | 1 |
all_areas | 10 |
get_area_name | 10 |
get_area_coords | 10 |
change_place_coord | 10 |
change_place_name | 10 |
ancestor_areas_of_subarea | 10 |
A+ esittää tässä kohdassa tehtävän palautuslomakkeen.
Posting submission...