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.
|
|
|
|
|
|
|
from abc import ABC, abstractmethod
|
|
|
|
|
|
|
|
import abstract_importer as ai
|
|
|
|
|
|
|
|
import sys
|
|
|
|
sys.path.append('.')
|
|
|
|
|
|
|
|
class AbstractSamplePath(ABC):
|
|
|
|
|
|
|
|
def __init__(self, importer: ai.AbstractImporter):
|
|
|
|
self.importer = importer
|
|
|
|
self._trajectories = None
|
|
|
|
self._structure = None
|
|
|
|
super().__init__()
|
|
|
|
|
|
|
|
@abstractmethod
|
|
|
|
def build_trajectories(self):
|
|
|
|
"""
|
|
|
|
Builds the Trajectory object that will contain all the trajectories.
|
|
|
|
Assigns the Trajectoriy object to the instance attribute _trajectories
|
|
|
|
Clears all the unused dataframes in Importer Object
|
|
|
|
|
|
|
|
Parameters:
|
|
|
|
void
|
|
|
|
Returns:
|
|
|
|
void
|
|
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
|
|
@abstractmethod
|
|
|
|
def build_structure(self):
|
|
|
|
"""
|
|
|
|
Builds the Structure object that aggregates all the infos about the net.
|
|
|
|
Assigns the Structure object to the instance attribuite _structure
|
|
|
|
Parameters:
|
|
|
|
void
|
|
|
|
Returns:
|
|
|
|
void
|
|
|
|
"""
|
|
|
|
pass
|