by means of an algorithm