# Abstract class for experts from abc import ABCMeta, abstractmethod class Purpose(metaclass=ABCMeta): # Given a trace, return the set of enabled actions after that trace @abstractmethod def getEnabled(self, trace): pass