Definition of cost of service and quality of service types