from abc import abstractmethod

from richard.core.Model import Model


class SomeQueryOptimizer:
    @abstractmethod
    def optimize(self, composition: list[tuple], root_variables: list[str]) -> dict[str, list[tuple]]:
        pass
