<liclass="toctree-l2"><aclass="reference internal"href="examples.html#implementing-your-own-data-importer">Implementing your own data importer</a></li>
<h1>PyCTBN.PyCTBN.structure_graph package<aclass="headerlink"href="#pyctbn-pyctbn-structure-graph-package"title="Permalink to this headline">¶</a></h1>
<spanid="pyctbn-pyctbn-structure-graph-conditional-intensity-matrix-module"></span><h2>PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix module<aclass="headerlink"href="#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><spanclass="sig-prename descclassname"><spanclass="pre">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.</span></span><spanclass="sig-name descname"><spanclass="pre">ConditionalIntensityMatrix</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">state_residence_times</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">numpy.array</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">state_transition_matrix</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">numpy.array</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">cim</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">numpy.array</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">cim</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">numpy.ndarray</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.cim"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">compute_cim_coefficients</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span>→<spanclass="pre">None</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.compute_cim_coefficients"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">state_residence_times</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">numpy.ndarray</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_residence_times"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">state_transition_matrix</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">numpy.ndarray</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_transition_matrix"title="Permalink to this definition">¶</a></dt>
<spanid="pyctbn-pyctbn-structure-graph-network-generator-module"></span><h2>PyCTBN.PyCTBN.structure_graph.network_generator module<aclass="headerlink"href="#module-PyCTBN.PyCTBN.structure_graph.network_generator"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><spanclass="sig-prename descclassname"><spanclass="pre">PyCTBN.PyCTBN.structure_graph.network_generator.</span></span><spanclass="sig-name descname"><spanclass="pre">NetworkGenerator</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">labels</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">vals</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">cims</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">dict</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.cims"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">dyn_str</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">list</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.dyn_str"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">generate_cims</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">min_val</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">max_val</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.generate_cims"title="Permalink to this definition">¶</a></dt>
<dd><dlclass="simple">
<dt>For each node, generate the corresponding SetOfCims. The objective is to group the CIMs </dt><dd><p>(actually generated by private method __generate_cim) according to parents possibles states of every node.
This method must obviously be executed after the graph has been generated.</p>
</dd>
</dl>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>min_val</strong> (<em>float</em>) – Minimum value allowed for the coefficients in the CIMs</p></li>
<li><p><strong>max_val</strong> (<em>float</em>) – Maximum value allowed for the coefficients in the CIMs</p></li>
<spanclass="sig-name descname"><spanclass="pre">generate_graph</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">density</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">fixed</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">bool</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">False</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.generate_graph"title="Permalink to this definition">¶</a></dt>
<dd><dlclass="simple">
<dt>Generate the edges according to specified density, and then instantiate the NetworkGraph object</dt><dd><p>to represent the network</p>
</dd>
</dl>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>density</strong> (<em>float</em>) – Probability of an edge between two nodes to exist</p></li>
<li><p><strong>fixed</strong> (<em>bool</em>) – Specifies whether the required density is mandatory or it’s just a probability</p></li>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">graph</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.graph"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">variables</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">list</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.variables"title="Permalink to this definition">¶</a></dt>
<spanid="pyctbn-pyctbn-structure-graph-network-graph-module"></span><h2>PyCTBN.PyCTBN.structure_graph.network_graph module<aclass="headerlink"href="#module-PyCTBN.PyCTBN.structure_graph.network_graph"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><spanclass="sig-prename descclassname"><spanclass="pre">PyCTBN.PyCTBN.structure_graph.network_graph.</span></span><spanclass="sig-name descname"><spanclass="pre">NetworkGraph</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">graph_struct</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><aclass="reference internal"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure"title="PyCTBN.PyCTBN.structure_graph.structure.Structure"><spanclass="pre">PyCTBN.PyCTBN.structure_graph.structure.Structure</span></a></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph"title="Permalink to this definition">¶</a></dt>
<p>Abstracts the infos contained in the Structure class in the form of a directed graph.
Has the task of creating all the necessary filtering and indexing structures for parameters estimation</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>graph_struct</strong> (<aclass="reference internal"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure"title="PyCTBN.PyCTBN.structure_graph.structure.Structure"><em>Structure</em></a>) – the <codeclass="docutils literal notranslate"><spanclass="pre">Structure</span></code> object from which infos about the net will be extracted</p>
<spanclass="sig-name descname"><spanclass="pre">add_edges</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">list_of_edges</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">List</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">None</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.add_edges"title="Permalink to this definition">¶</a></dt>
<dd><p>Add the edges to the <codeclass="docutils literal notranslate"><spanclass="pre">_graph</span></code> contained in the list <codeclass="docutils literal notranslate"><spanclass="pre">list_of_edges</span></code>.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>list_of_edges</strong> (<em>List</em>) – the list containing of tuples containing the edges</p>
<spanclass="sig-name descname"><spanclass="pre">add_nodes</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">list_of_nodes</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">List</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">None</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.add_nodes"title="Permalink to this definition">¶</a></dt>
<dd><p>Adds the nodes to the <codeclass="docutils literal notranslate"><spanclass="pre">_graph</span></code> contained in the list of nodes <codeclass="docutils literal notranslate"><spanclass="pre">list_of_nodes</span></code>.
Sets all the properties that identify a nodes (index, positional index, cardinality)</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>list_of_nodes</strong> (<em>List</em>) – the nodes to add to <codeclass="docutils literal notranslate"><spanclass="pre">_graph</span></code></p>
<emclass="property"><spanclass="pre">static</span></em><spanclass="sig-name descname"><spanclass="pre">build_p_comb_structure_for_a_node</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">parents_values</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">List</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">numpy.ndarray</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_p_comb_structure_for_a_node"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">static</span></em><spanclass="sig-name descname"><spanclass="pre">build_time_columns_filtering_for_a_node</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node_indx</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">int</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">p_indxs</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">List</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">numpy.ndarray</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_time_columns_filtering_for_a_node"title="Permalink to this definition">¶</a></dt>
<dd><p>Builds the necessary structure to filter the desired columns indicated by <codeclass="docutils literal notranslate"><spanclass="pre">node_indx</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">p_indxs</span></code>
in the dataset.
This structute will be used in the computation of the state res times.
:param node_indx: the index of the node
:type node_indx: int
:param p_indxs: the indexes of the node’s parents
:type p_indxs: List
:return: The filtering structure for times estimation
<emclass="property"><spanclass="pre">static</span></em><spanclass="sig-name descname"><spanclass="pre">build_time_scalar_indexing_structure_for_a_node</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node_states</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">int</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">parents_vals</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">List</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">numpy.ndarray</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_time_scalar_indexing_structure_for_a_node"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">static</span></em><spanclass="sig-name descname"><spanclass="pre">build_transition_filtering_for_a_node</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node_indx</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">int</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">p_indxs</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">List</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">nodes_number</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">int</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">numpy.ndarray</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_transition_filtering_for_a_node"title="Permalink to this definition">¶</a></dt>
<dd><p>Builds the necessary structure to filter the desired columns indicated by <codeclass="docutils literal notranslate"><spanclass="pre">node_indx</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">p_indxs</span></code>
in the dataset.
This structure will be used in the computation of the state transitions values.
:param node_indx: the index of the node
:type node_indx: int
:param p_indxs: the indexes of the node’s parents
:type p_indxs: List
:param nodes_number: the total number of nodes in the dataset
:type nodes_number: int
:return: The filtering structure for transitions estimation
<emclass="property"><spanclass="pre">static</span></em><spanclass="sig-name descname"><spanclass="pre">build_transition_scalar_indexing_structure_for_a_node</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node_states_number</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">int</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">parents_vals</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">List</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">numpy.ndarray</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_transition_scalar_indexing_structure_for_a_node"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">clear_indexing_filtering_structures</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span>→<spanclass="pre">None</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.clear_indexing_filtering_structures"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">edges</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">List</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.edges"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">fast_init</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node_id</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">None</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.fast_init"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_node_indx</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node_id</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">int</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_node_indx"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_ordered_by_indx_set_of_parents</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">Tuple</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_ordered_by_indx_set_of_parents"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_parents_by_id</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node_id</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">List</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_parents_by_id"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_positional_node_indx</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node_id</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">int</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_positional_node_indx"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_states_number</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node_id</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">int</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_states_number"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">has_edge</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">edge</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">tuple</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">bool</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.has_edge"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">nodes</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">List</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">nodes_indexes</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">numpy.ndarray</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes_indexes"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">nodes_values</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">numpy.ndarray</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes_values"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">p_combs</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">numpy.ndarray</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.p_combs"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">remove_edges</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">list_of_edges</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">List</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">None</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.remove_edges"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">remove_node</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node_id</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">None</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.remove_node"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">time_filtering</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">numpy.ndarray</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.time_filtering"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">time_scalar_indexing_strucure</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">numpy.ndarray</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.time_scalar_indexing_strucure"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">transition_filtering</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">numpy.ndarray</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.transition_filtering"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">transition_scalar_indexing_structure</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">numpy.ndarray</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.transition_scalar_indexing_structure"title="Permalink to this definition">¶</a></dt>
<spanid="pyctbn-pyctbn-structure-graph-sample-path-module"></span><h2>PyCTBN.PyCTBN.structure_graph.sample_path module<aclass="headerlink"href="#module-PyCTBN.PyCTBN.structure_graph.sample_path"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><spanclass="sig-prename descclassname"><spanclass="pre">PyCTBN.PyCTBN.structure_graph.sample_path.</span></span><spanclass="sig-name descname"><spanclass="pre">SamplePath</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">importer</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><aclass="reference internal"href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter"title="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter"><spanclass="pre">PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter</span></a></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath"title="Permalink to this definition">¶</a></dt>
<p>Aggregates all the informations about the trajectories, the real structure of the sampled net and variables
cardinalites. Has the task of creating the objects <codeclass="docutils literal notranslate"><spanclass="pre">Trajectory</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">Structure</span></code> that will
contain the mentioned data.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>importer</strong> (<aclass="reference internal"href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter"title="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter"><em>AbstractImporter</em></a>) – the Importer object which contains the imported and processed data</p>
</dd>
<dtclass="field-even">_trajectories</dt>
<ddclass="field-even"><p>the <codeclass="docutils literal notranslate"><spanclass="pre">Trajectory</span></code> object that will contain all the concatenated trajectories</p>
</dd>
<dtclass="field-odd">_structure</dt>
<ddclass="field-odd"><p>the <codeclass="docutils literal notranslate"><spanclass="pre">Structure</span></code> Object that will contain all the structural infos about the net</p>
</dd>
<dtclass="field-even">_total_variables_count</dt>
<ddclass="field-even"><p>the number of variables in the net</p>
<spanclass="sig-name descname"><spanclass="pre">build_structure</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span>→<spanclass="pre">None</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.build_structure"title="Permalink to this definition">¶</a></dt>
<dd><p>Builds the <codeclass="docutils literal notranslate"><spanclass="pre">Structure</span></code> object that aggregates all the infos about the net.</p>
<spanclass="sig-name descname"><spanclass="pre">build_trajectories</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span>→<spanclass="pre">None</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.build_trajectories"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">clear_memory</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.clear_memory"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">has_prior_net_structure</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">bool</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.has_prior_net_structure"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">structure</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">PyCTBN.PyCTBN.structure_graph.structure.Structure</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.structure"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">total_variables_count</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">int</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.total_variables_count"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">trajectories</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.trajectories"title="Permalink to this definition">¶</a></dt>
<spanid="pyctbn-pyctbn-structure-graph-set-of-cims-module"></span><h2>PyCTBN.PyCTBN.structure_graph.set_of_cims module<aclass="headerlink"href="#module-PyCTBN.PyCTBN.structure_graph.set_of_cims"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><spanclass="sig-prename descclassname"><spanclass="pre">PyCTBN.PyCTBN.structure_graph.set_of_cims.</span></span><spanclass="sig-name descname"><spanclass="pre">SetOfCims</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node_id</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">str</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">parents_states_number</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">List</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">node_states_number</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">int</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">p_combs</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">numpy.ndarray</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">cims</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">numpy.ndarray</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">actual_cims</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">numpy.ndarray</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.actual_cims"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">build_cims</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">state_res_times</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">numpy.ndarray</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">transition_matrices</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">numpy.ndarray</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">None</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.build_cims"title="Permalink to this definition">¶</a></dt>
<dd><p>Build the <codeclass="docutils literal notranslate"><spanclass="pre">ConditionalIntensityMatrix</span></code> objects given the state residence times and transitions matrices.
Compute the cim coefficients.The class member <codeclass="docutils literal notranslate"><spanclass="pre">_actual_cims</span></code> will contain the computed cims.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>state_res_times</strong> (<em>numpy.ndArray</em>) – the state residence times matrix</p></li>
<li><p><strong>transition_matrices</strong> (<em>numpy.ndArray</em>) – the transition matrices</p></li>
<spanclass="sig-name descname"><spanclass="pre">build_times_and_transitions_structures</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span>→<spanclass="pre">None</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.build_times_and_transitions_structures"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">filter_cims_with_mask</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">mask_arr</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">numpy.ndarray</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">comb</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">List</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">numpy.ndarray</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.filter_cims_with_mask"title="Permalink to this definition">¶</a></dt>
<dd><p>Filter the cims contained in the array <codeclass="docutils literal notranslate"><spanclass="pre">_actual_cims</span></code> given the boolean mask <codeclass="docutils literal notranslate"><spanclass="pre">mask_arr</span></code> and the index
<spanclass="sig-name descname"><spanclass="pre">get_cims_number</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.get_cims_number"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">p_combs</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">numpy.ndarray</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.p_combs"title="Permalink to this definition">¶</a></dt>
<spanid="pyctbn-pyctbn-structure-graph-structure-module"></span><h2>PyCTBN.PyCTBN.structure_graph.structure module<aclass="headerlink"href="#module-PyCTBN.PyCTBN.structure_graph.structure"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><spanclass="sig-prename descclassname"><spanclass="pre">PyCTBN.PyCTBN.structure_graph.structure.</span></span><spanclass="sig-name descname"><spanclass="pre">Structure</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">nodes_labels_list</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">List</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">nodes_indexes_arr</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">numpy.ndarray</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">nodes_vals_arr</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">numpy.ndarray</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">edges_list</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">List</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">total_variables_number</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">int</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">add_edge</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">edge</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">tuple</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.add_edge"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">clean_structure_edges</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.clean_structure_edges"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">contains_edge</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">edge</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">tuple</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">bool</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.contains_edge"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">edges</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">List</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.edges"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_node_id</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node_indx</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">int</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">str</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.get_node_id"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_node_indx</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node_id</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">int</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.get_node_indx"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_positional_node_indx</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node_id</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">int</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.get_positional_node_indx"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_states_number</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">int</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.get_states_number"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">nodes_indexes</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">numpy.ndarray</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_indexes"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">nodes_labels</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">List</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_labels"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">nodes_values</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">numpy.ndarray</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_values"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">remove_edge</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">edge</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">tuple</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.remove_edge"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">remove_node</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node_id</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">None</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.remove_node"title="Permalink to this definition">¶</a></dt>
<dd><p>Remove the node <codeclass="docutils literal notranslate"><spanclass="pre">node_id</span></code> from all the class members.
The class member <codeclass="docutils literal notranslate"><spanclass="pre">_total_variables_number</span></code> since it refers to the total number of variables in the dataset.</p>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">total_variables_number</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">int</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.total_variables_number"title="Permalink to this definition">¶</a></dt>
<spanid="pyctbn-pyctbn-structure-graph-trajectory-module"></span><h2>PyCTBN.PyCTBN.structure_graph.trajectory module<aclass="headerlink"href="#module-PyCTBN.PyCTBN.structure_graph.trajectory"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><spanclass="sig-prename descclassname"><spanclass="pre">PyCTBN.PyCTBN.structure_graph.trajectory.</span></span><spanclass="sig-name descname"><spanclass="pre">Trajectory</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">list_of_columns</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">List</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">original_cols_number</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">int</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">complete_trajectory</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">numpy.ndarray</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.complete_trajectory"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">size</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.size"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">times</span></span><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.times"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">trajectory</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">numpy.ndarray</span></em><aclass="headerlink"href="#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.trajectory"title="Permalink to this definition">¶</a></dt>
<spanid="module-contents"></span><h2>Module contents<aclass="headerlink"href="#module-PyCTBN.PyCTBN.structure_graph"title="Permalink to this headline">¶</a></h2>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/jucacrispim/sphinx_pdj_theme">theme</a> provided by <ahref="http://poraodojuca.net">Porão do Juca</a>.