From 8dfabb72c4d4cc2c447e244b3c9ee8fa7e256590 Mon Sep 17 00:00:00 2001 From: Pietro Date: Tue, 27 Apr 2021 09:01:04 +0200 Subject: [PATCH] Comments --- PyCTBN/PyCTBN/structure_graph/trajectory_generator.py | 4 ++-- example.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/PyCTBN/PyCTBN/structure_graph/trajectory_generator.py b/PyCTBN/PyCTBN/structure_graph/trajectory_generator.py index 05603f4..7c6e921 100644 --- a/PyCTBN/PyCTBN/structure_graph/trajectory_generator.py +++ b/PyCTBN/PyCTBN/structure_graph/trajectory_generator.py @@ -26,8 +26,8 @@ class TrajectoryGenerator(object): def __init__(self, importer: AbstractImporter = None, variables: list = None, dyn_str: list = None, dyn_cims: dict = None): """Constructor Method - It parses and elaborates the data fetched from importer in order to make the objects structure - more suitable for the forthcoming trajectory generation + It parses and elaborates the data fetched from importer (if defined, otherwise variables, dyn_str and dyn_cims are used) + in order to make the objects structure more suitable for the forthcoming trajectory generation """ self._importer = importer diff --git a/example.py b/example.py index 429ca43..1f51e57 100644 --- a/example.py +++ b/example.py @@ -12,7 +12,6 @@ card = 3 vals = [card for l in labels] cim_min = 1 cim_max = 3 - ng = NetworkGenerator(labels, vals) ng.generate_graph(0.3) ng.generate_cims(cim_min, cim_max)