1
0
Fork 0
master
Pietro 4 years ago
parent c6a19ea86a
commit 8dfabb72c4
  1. 4
      PyCTBN/PyCTBN/structure_graph/trajectory_generator.py
  2. 1
      example.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

@ -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)