Name the metrics for selecting top algorithm
There are a number of metrics for selecting top algorithm:
i) Computational complexity: Computational complexity refers to efficiency. The processor time increases as a function of size of data structure. But small factors of inefficiency are unimportant if they improve clarity.
ii) Ease of use: a simple algorithm, which is easy to use and understand, could be used for less important operations.
iii) Flexibility: The fully optimized algorithm is normally less readable and very hard to implement. The solution for this is to provide two implementations of the crucial operations:
- A complicated but very proficient algorithm.
- A simple but unproductive algorithm.