Functional Approach towards Approximation Problems: Suitability of applying functional languages for implementation of approximation algorithms