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.
23 lines
477 B
23 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
|
|
|
|
|