basepurpose.py 243 Bytes
Newer Older
Michele's avatar
Michele committed
1
2
3
4
5
6
7
8
9
# 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