Source code for pankus.taurus.path
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = 'Maciej Kamiński Politechnika Wrocławska'
from .data_journal import DataJournal
[docs]class Path(DataJournal):
def __init__(self,**kwargs):
super().__init__(**kwargs)
self.kwargs=kwargs
[docs] def create_path(self,k_path=1):
if k_path > 1:
raise NotImplemented
else:
assert self.table_exists('distance')
self.do('')