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.
24 lines
477 B
24 lines
477 B
4 years ago
|
from abc import ABC, abstractmethod
|
||
|
|
||
|
|
||
|
class AbstractImporter(ABC):
|
||
4 years ago
|
"""
|
||
4 years ago
|
Interface that exposes all the necessary methods to import the trajectories and the net structure.
|
||
4 years ago
|
|
||
4 years ago
|
:file_path: the file path
|
||
4 years ago
|
|
||
|
"""
|
||
4 years ago
|
|
||
4 years ago
|
def __init__(self, file_path: str):
|
||
|
self.file_path = file_path
|
||
4 years ago
|
super().__init__()
|
||
|
|
||
|
@abstractmethod
|
||
|
def import_trajectories(self, raw_data):
|
||
|
pass
|
||
|
|
||
|
@abstractmethod
|
||
|
def import_structure(self, raw_data):
|
||
|
pass
|
||
4 years ago
|
|