"""Author: Changbeom Choi (@cbchoi)Copyright (c) 2014-2020 Handong Global UniversityCopyright (c) 2021-2024 Hanbat National UniversityLicense: MIT. The full license text is available at:https://github.com/eventsim/pyjevsim/blob/main/LICENSEThis module contains Executor, the parent class of all Executor Types. """
[docs]classExecutor:"""Base class for executors."""def__init__(self,itime,dtime,ename,model,parent):""" Args: itime (float): Instance creation time dtime (float): Destruction time ename (str): Engine name """self.engine_name=enameself._instance_t=itimeself._destruct_t=dtimeself.model=modelself.parent=parent