15 lines
284 B
Python
15 lines
284 B
Python
from abc import abstractmethod
|
|
|
|
from .abstract_problem import AbstractProblem
|
|
|
|
|
|
class TimeDependentProblem(AbstractProblem):
|
|
|
|
@abstractmethod
|
|
def temporal_domain(self):
|
|
pass
|
|
|
|
@property
|
|
def temporal_variable(self):
|
|
return self.temporal_domain.variables
|