1
0
Fork 0
Old engine for Continuous Time Bayesian Networks. Superseded by reCTBN. 🐍 https://github.com/madlabunimib/PyCTBN
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
PyCTBN/main_package/classes/abstract_importer.py

24 lines
477 B

from abc import ABC, abstractmethod
class AbstractImporter(ABC):
"""
Interface that exposes all the necessary methods to import the trajectories and the net structure.
:file_path: the file path
"""
def __init__(self, file_path: str):
self.file_path = file_path
super().__init__()
@abstractmethod
def import_trajectories(self, raw_data):
pass
@abstractmethod
def import_structure(self, raw_data):
pass