class Target:
- def __init__(self, config_file = None,
- start = None, end = None, timestep = None, cumulative = None):
+ def __init__(self, config_file=None,
+ start=None, end=None, timestep=None, cumulative=None):
self._config = ConfigParser()
self._config.read(config_file)
self._stream_file = eval(self._config['DATA']['csv_file'])
self._get_located_interventions()
-
-
@property
def start(self):
return self._start
def start(self, x):
self._start = x
-
@property
def end(self):
return self._end
def end(self, x):
self._end = x
-
@property
def y(self):
return self._y
def end(self, y):
self._y = y
-
-
def _get_located_interventions(self):
if not self._config['SPECIFICATION'].getboolean('origin')\
and not self._config['SPECIFICATION'].getboolean('destination'):