Theory of main algorithms implemented