Old engine for Continuous Time Bayesian Networks. Superseded by reCTBN. 🐍
https://github.com/madlabunimib/PyCTBN
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
914 lines
61 KiB
914 lines
61 KiB
4 years ago
|
|
||
|
|
||
|
|
||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||
|
<html xml:lang="" lang="" version="-//W3C//DTD XHTML 1.1//EN" xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
|
||
|
|
||
|
<title>classes.structure_graph package — PyCTBN 2.0 documentation</title>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'/>
|
||
|
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<link rel="index" title="Index"
|
||
|
href="genindex.html"/>
|
||
|
<link rel="search" title="Search" href="search.html"/>
|
||
|
<link rel="top" title="PyCTBN 2.0 documentation" href="index.html"/>
|
||
|
|
||
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||
|
<meta http-equiv="cache-control" content="public" />
|
||
|
<meta name="robots" content="follow, all" />
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
|
<!-- Add jQuery library -->
|
||
|
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
|
||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body class="wy-body-for-nav" role="document">
|
||
|
|
||
|
<div class="wy-grid-for-nav">
|
||
|
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
||
|
<div class="wy-side-nav-search">
|
||
|
<a href="index.html" class="fa fa-home"> PyCTBN </a>
|
||
|
<div role="search">
|
||
|
<form id ="rtd-search-form" class="wy-form"
|
||
|
action="search.html" method="get">
|
||
|
<input type="text" name="q" placeholder="Search docs" />
|
||
|
<input type="hidden" name="check_keywords" value="yes" />
|
||
|
<input type="hidden" name="area" value="default" />
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||
|
|
||
|
|
||
|
|
||
|
<p class="caption"><span class="caption-text">Contents:</span></p>
|
||
|
<ul>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="examples.html">Examples</a><ul>
|
||
|
<li class="toctree-l2"><a class="reference internal" href="examples.html#installation-usage">Installation/Usage</a></li>
|
||
|
<li class="toctree-l2"><a class="reference internal" href="examples.html#implementing-your-own-data-importer">Implementing your own data importer</a></li>
|
||
|
<li class="toctree-l2"><a class="reference internal" href="examples.html#parameters-estimation-example">Parameters Estimation Example</a></li>
|
||
|
<li class="toctree-l2"><a class="reference internal" href="examples.html#structure-estimation-example">Structure Estimation Example</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</nav>
|
||
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
||
|
|
||
|
<nav class="wy-nav-top" id="barra-mobile" role="navigation" aria-label="top navigation">
|
||
|
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
||
|
<a href="#">Porão do Juca</a>
|
||
|
</nav>
|
||
|
|
||
|
<div class="wy-nav-content">
|
||
|
<div class="fundo-claro">
|
||
|
</div>
|
||
|
<div class="fundo-escuro">
|
||
|
</div>
|
||
|
|
||
|
<div class="rst-content">
|
||
|
<div role="navigation" aria-label="breadcrumbs navigation">
|
||
|
|
||
|
<!-- <ul class="wy-breadcrumbs"> -->
|
||
|
<!-- <li><a href="#">Docs</a> »</li> -->
|
||
|
|
||
|
<!-- <li>Features</li> -->
|
||
|
<!-- <li class="wy-breadcrumbs-aside"> -->
|
||
|
|
||
|
<!-- <a href="_sources/index.txt" rel="nofollow"> View page source</a> -->
|
||
|
|
||
|
<!-- </li> -->
|
||
|
<!-- </ul> -->
|
||
|
<!-- <hr/> -->
|
||
|
</div>
|
||
|
|
||
|
<div role="main" class="">
|
||
|
|
||
|
<div id="content" class="hfeed entry-container hentry">
|
||
|
<div class="section" id="classes-structure-graph-package">
|
||
|
<h1>classes.structure_graph package<a class="headerlink" href="#classes-structure-graph-package" title="Permalink to this headline">¶</a></h1>
|
||
|
<div class="section" id="submodules">
|
||
|
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
|
||
|
</div>
|
||
|
<div class="section" id="module-classes.structure_graph.abstract_sample_path">
|
||
|
<span id="classes-structure-graph-abstract-sample-path-module"></span><h2>classes.structure_graph.abstract_sample_path module<a class="headerlink" href="#module-classes.structure_graph.abstract_sample_path" title="Permalink to this headline">¶</a></h2>
|
||
|
<dl class="py class">
|
||
|
<dt id="classes.structure_graph.abstract_sample_path.AbstractSamplePath">
|
||
|
<em class="property">class </em><code class="sig-prename descclassname">classes.structure_graph.abstract_sample_path.</code><code class="sig-name descname">AbstractSamplePath</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">importer</span><span class="p">:</span> <span class="n">utility.abstract_importer.AbstractImporter</span></em><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.abstract_sample_path.AbstractSamplePath" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">abc.ABC</span></code></p>
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.abstract_sample_path.AbstractSamplePath.build_structure">
|
||
|
<em class="property">abstract </em><code class="sig-name descname">build_structure</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.abstract_sample_path.AbstractSamplePath.build_structure" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Builds the Structure object that aggregates all the infos about the net.
|
||
|
Assigns the Structure object to the instance attribuite _structure
|
||
|
Parameters:</p>
|
||
|
<blockquote>
|
||
|
<div><p>void</p>
|
||
|
</div></blockquote>
|
||
|
<dl class="simple">
|
||
|
<dt>Returns:</dt><dd><p>void</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.abstract_sample_path.AbstractSamplePath.build_trajectories">
|
||
|
<em class="property">abstract </em><code class="sig-name descname">build_trajectories</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.abstract_sample_path.AbstractSamplePath.build_trajectories" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Builds the Trajectory object that will contain all the trajectories.
|
||
|
Assigns the Trajectoriy object to the instance attribute _trajectories
|
||
|
Clears all the unused dataframes in Importer Object</p>
|
||
|
<dl class="simple">
|
||
|
<dt>Parameters:</dt><dd><p>void</p>
|
||
|
</dd>
|
||
|
<dt>Returns:</dt><dd><p>void</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
</dd></dl>
|
||
|
|
||
|
</div>
|
||
|
<div class="section" id="module-classes.structure_graph.conditional_intensity_matrix">
|
||
|
<span id="classes-structure-graph-conditional-intensity-matrix-module"></span><h2>classes.structure_graph.conditional_intensity_matrix module<a class="headerlink" href="#module-classes.structure_graph.conditional_intensity_matrix" title="Permalink to this headline">¶</a></h2>
|
||
|
<dl class="py class">
|
||
|
<dt id="classes.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix">
|
||
|
<em class="property">class </em><code class="sig-prename descclassname">classes.structure_graph.conditional_intensity_matrix.</code><code class="sig-name descname">ConditionalIntensityMatrix</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">state_residence_times</span><span class="p">:</span> <span class="n">numpy.array</span></em>, <em class="sig-param"><span class="n">state_transition_matrix</span><span class="p">:</span> <span class="n">numpy.array</span></em><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
|
||
|
<p>Abstracts the Conditional Intesity matrix of a node as aggregation of the state residence times vector
|
||
|
and state transition matrix and the actual CIM matrix.</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><ul class="simple">
|
||
|
<li><p><strong>state_residence_times</strong> (<em>numpy.array</em>) – state residence times vector</p></li>
|
||
|
<li><p><strong>state_transition_matrix</strong> (<em>numpy.ndArray</em>) – the transitions count matrix</p></li>
|
||
|
</ul>
|
||
|
</dd>
|
||
|
<dt class="field-even">_cim</dt>
|
||
|
<dd class="field-even"><p>the actual cim of the node</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.cim">
|
||
|
<em class="property">property </em><code class="sig-name descname">cim</code><a class="headerlink" href="#classes.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.cim" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.compute_cim_coefficients">
|
||
|
<code class="sig-name descname">compute_cim_coefficients</code><span class="sig-paren">(</span><span class="sig-paren">)</span> → None<a class="headerlink" href="#classes.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.compute_cim_coefficients" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Compute the coefficients of the matrix _cim by using the following equality q_xx’ = M[x, x’] / T[x].
|
||
|
The class member <code class="docutils literal notranslate"><span class="pre">_cim</span></code> will contain the computed cim</p>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_residence_times">
|
||
|
<em class="property">property </em><code class="sig-name descname">state_residence_times</code><a class="headerlink" href="#classes.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_residence_times" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_transition_matrix">
|
||
|
<em class="property">property </em><code class="sig-name descname">state_transition_matrix</code><a class="headerlink" href="#classes.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_transition_matrix" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
</dd></dl>
|
||
|
|
||
|
</div>
|
||
|
<div class="section" id="module-classes.structure_graph.network_graph">
|
||
|
<span id="classes-structure-graph-network-graph-module"></span><h2>classes.structure_graph.network_graph module<a class="headerlink" href="#module-classes.structure_graph.network_graph" title="Permalink to this headline">¶</a></h2>
|
||
|
<dl class="py class">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph">
|
||
|
<em class="property">class </em><code class="sig-prename descclassname">classes.structure_graph.network_graph.</code><code class="sig-name descname">NetworkGraph</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">graph_struct</span><span class="p">:</span> <span class="n"><a class="reference internal" href="#classes.structure_graph.structure.Structure" title="classes.structure_graph.structure.Structure">classes.structure_graph.structure.Structure</a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
|
||
|
<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>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><p><strong>graph_struct</strong> (<a class="reference internal" href="#classes.structure_graph.structure.Structure" title="classes.structure_graph.structure.Structure"><em>Structure</em></a>) – the <code class="docutils literal notranslate"><span class="pre">Structure</span></code> object from which infos about the net will be extracted</p>
|
||
|
</dd>
|
||
|
<dt class="field-even">_graph</dt>
|
||
|
<dd class="field-even"><p>directed graph</p>
|
||
|
</dd>
|
||
|
<dt class="field-odd">_aggregated_info_about_nodes_parents</dt>
|
||
|
<dd class="field-odd"><p>a structure that contains all the necessary infos
|
||
|
about every parents of the node of which all the indexing and filtering structures will be constructed.</p>
|
||
|
</dd>
|
||
|
<dt class="field-even">_time_scalar_indexing_structure</dt>
|
||
|
<dd class="field-even"><p>the indexing structure for state res time estimation</p>
|
||
|
</dd>
|
||
|
<dt class="field-odd">_transition_scalar_indexing_structure</dt>
|
||
|
<dd class="field-odd"><p>the indexing structure for transition computation</p>
|
||
|
</dd>
|
||
|
<dt class="field-even">_time_filtering</dt>
|
||
|
<dd class="field-even"><p>the columns filtering structure used in the computation of the state res times</p>
|
||
|
</dd>
|
||
|
<dt class="field-odd">_transition_filtering</dt>
|
||
|
<dd class="field-odd"><p>the columns filtering structure used in the computation of the transition
|
||
|
from one state to another</p>
|
||
|
</dd>
|
||
|
<dt class="field-even">_p_combs_structure</dt>
|
||
|
<dd class="field-even"><p>all the possible parents states combination for the node of interest</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.add_edges">
|
||
|
<code class="sig-name descname">add_edges</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">list_of_edges</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> → None<a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.add_edges" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Add the edges to the <code class="docutils literal notranslate"><span class="pre">_graph</span></code> contained in the list <code class="docutils literal notranslate"><span class="pre">list_of_edges</span></code>.</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><p><strong>list_of_edges</strong> (<em>List</em>) – the list containing of tuples containing the edges</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.add_nodes">
|
||
|
<code class="sig-name descname">add_nodes</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">list_of_nodes</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> → None<a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.add_nodes" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Adds the nodes to the <code class="docutils literal notranslate"><span class="pre">_graph</span></code> contained in the list of nodes <code class="docutils literal notranslate"><span class="pre">list_of_nodes</span></code>.
|
||
|
Sets all the properties that identify a nodes (index, positional index, cardinality)</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><p><strong>list_of_nodes</strong> (<em>List</em>) – the nodes to add to <code class="docutils literal notranslate"><span class="pre">_graph</span></code></p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.build_p_comb_structure_for_a_node">
|
||
|
<em class="property">static </em><code class="sig-name descname">build_p_comb_structure_for_a_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">parents_values</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> → numpy.ndarray<a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.build_p_comb_structure_for_a_node" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Builds the combinatorial structure that contains the combinations of all the values contained in
|
||
|
<code class="docutils literal notranslate"><span class="pre">parents_values</span></code>.</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><p><strong>parents_values</strong> (<em>List</em>) – the cardinalities of the nodes</p>
|
||
|
</dd>
|
||
|
<dt class="field-even">Returns</dt>
|
||
|
<dd class="field-even"><p>A numpy matrix containing a grid of the combinations</p>
|
||
|
</dd>
|
||
|
<dt class="field-odd">Return type</dt>
|
||
|
<dd class="field-odd"><p>numpy.ndArray</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.build_time_columns_filtering_for_a_node">
|
||
|
<em class="property">static </em><code class="sig-name descname">build_time_columns_filtering_for_a_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_indx</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">p_indxs</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> → numpy.ndarray<a class="headerlink" href="#classes.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 <code class="docutils literal notranslate"><span class="pre">node_indx</span></code> and <code class="docutils literal notranslate"><span class="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
|
||
|
:rtype: numpy.ndArray</p>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.build_time_scalar_indexing_structure_for_a_node">
|
||
|
<em class="property">static </em><code class="sig-name descname">build_time_scalar_indexing_structure_for_a_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_states</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">parents_vals</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> → numpy.ndarray<a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.build_time_scalar_indexing_structure_for_a_node" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Builds an indexing structure for the computation of state residence times values.</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><ul class="simple">
|
||
|
<li><p><strong>node_states</strong> (<em>int</em>) – the node cardinality</p></li>
|
||
|
<li><p><strong>parents_vals</strong> (<em>List</em>) – the caridinalites of the node’s parents</p></li>
|
||
|
</ul>
|
||
|
</dd>
|
||
|
<dt class="field-even">Returns</dt>
|
||
|
<dd class="field-even"><p>The time indexing structure</p>
|
||
|
</dd>
|
||
|
<dt class="field-odd">Return type</dt>
|
||
|
<dd class="field-odd"><p>numpy.ndArray</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.build_transition_filtering_for_a_node">
|
||
|
<em class="property">static </em><code class="sig-name descname">build_transition_filtering_for_a_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_indx</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">p_indxs</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">nodes_number</span><span class="p">:</span> <span class="n">int</span></em><span class="sig-paren">)</span> → numpy.ndarray<a class="headerlink" href="#classes.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 <code class="docutils literal notranslate"><span class="pre">node_indx</span></code> and <code class="docutils literal notranslate"><span class="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
|
||
|
:rtype: numpy.ndArray</p>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.build_transition_scalar_indexing_structure_for_a_node">
|
||
|
<em class="property">static </em><code class="sig-name descname">build_transition_scalar_indexing_structure_for_a_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_states_number</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">parents_vals</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> → numpy.ndarray<a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.build_transition_scalar_indexing_structure_for_a_node" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Builds an indexing structure for the computation of state transitions values.</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><ul class="simple">
|
||
|
<li><p><strong>node_states_number</strong> (<em>int</em>) – the node cardinality</p></li>
|
||
|
<li><p><strong>parents_vals</strong> (<em>List</em>) – the caridinalites of the node’s parents</p></li>
|
||
|
</ul>
|
||
|
</dd>
|
||
|
<dt class="field-even">Returns</dt>
|
||
|
<dd class="field-even"><p>The transition indexing structure</p>
|
||
|
</dd>
|
||
|
<dt class="field-odd">Return type</dt>
|
||
|
<dd class="field-odd"><p>numpy.ndArray</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.clear_indexing_filtering_structures">
|
||
|
<code class="sig-name descname">clear_indexing_filtering_structures</code><span class="sig-paren">(</span><span class="sig-paren">)</span> → None<a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.clear_indexing_filtering_structures" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Initialize all the filtering/indexing structures.</p>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.edges">
|
||
|
<em class="property">property </em><code class="sig-name descname">edges</code><a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.edges" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.fast_init">
|
||
|
<code class="sig-name descname">fast_init</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> → None<a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.fast_init" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Initializes all the necessary structures for parameters estimation of the node identified by the label
|
||
|
node_id</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><p><strong>node_id</strong> (<em>string</em>) – the label of the node</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.get_node_indx">
|
||
|
<code class="sig-name descname">get_node_indx</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span></em><span class="sig-paren">)</span> → int<a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.get_node_indx" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.get_ordered_by_indx_set_of_parents">
|
||
|
<code class="sig-name descname">get_ordered_by_indx_set_of_parents</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> → Tuple<a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.get_ordered_by_indx_set_of_parents" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Builds the aggregated structure that holds all the infos relative to the parent set of the node, namely
|
||
|
(parents_labels, parents_indexes, parents_cardinalities).</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><p><strong>node</strong> (<em>string</em>) – the label of the node</p>
|
||
|
</dd>
|
||
|
<dt class="field-even">Returns</dt>
|
||
|
<dd class="field-even"><p>a tuple containing all the parent set infos</p>
|
||
|
</dd>
|
||
|
<dt class="field-odd">Return type</dt>
|
||
|
<dd class="field-odd"><p>Tuple</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.get_parents_by_id">
|
||
|
<code class="sig-name descname">get_parents_by_id</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span></em><span class="sig-paren">)</span> → List<a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.get_parents_by_id" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Returns a list of labels of the parents of the node <code class="docutils literal notranslate"><span class="pre">node_id</span></code></p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><p><strong>node_id</strong> (<em>string</em>) – the node label</p>
|
||
|
</dd>
|
||
|
<dt class="field-even">Returns</dt>
|
||
|
<dd class="field-even"><p>a List of labels of the parents</p>
|
||
|
</dd>
|
||
|
<dt class="field-odd">Return type</dt>
|
||
|
<dd class="field-odd"><p>List</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.get_positional_node_indx">
|
||
|
<code class="sig-name descname">get_positional_node_indx</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span></em><span class="sig-paren">)</span> → int<a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.get_positional_node_indx" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.get_states_number">
|
||
|
<code class="sig-name descname">get_states_number</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span></em><span class="sig-paren">)</span> → int<a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.get_states_number" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.has_edge">
|
||
|
<code class="sig-name descname">has_edge</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">edge</span><span class="p">:</span> <span class="n">tuple</span></em><span class="sig-paren">)</span> → bool<a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.has_edge" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Check if the graph contains a specific edge</p>
|
||
|
<dl class="simple">
|
||
|
<dt>Parameters:</dt><dd><p>edge: a tuple that rappresents the edge</p>
|
||
|
</dd>
|
||
|
<dt>Returns:</dt><dd><p>bool</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.init_graph">
|
||
|
<code class="sig-name descname">init_graph</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.init_graph" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.nodes">
|
||
|
<em class="property">property </em><code class="sig-name descname">nodes</code><a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.nodes" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.nodes_indexes">
|
||
|
<em class="property">property </em><code class="sig-name descname">nodes_indexes</code><a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.nodes_indexes" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.nodes_values">
|
||
|
<em class="property">property </em><code class="sig-name descname">nodes_values</code><a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.nodes_values" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.p_combs">
|
||
|
<em class="property">property </em><code class="sig-name descname">p_combs</code><a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.p_combs" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.remove_edges">
|
||
|
<code class="sig-name descname">remove_edges</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">list_of_edges</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> → None<a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.remove_edges" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Remove the edges to the graph contained in the list list_of_edges.</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><p><strong>list_of_edges</strong> (<em>List</em>) – The edges to remove from the graph</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.remove_node">
|
||
|
<code class="sig-name descname">remove_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> → None<a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.remove_node" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Remove the node <code class="docutils literal notranslate"><span class="pre">node_id</span></code> from all the class members.
|
||
|
Initialize all the filtering/indexing structures.</p>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.time_filtering">
|
||
|
<em class="property">property </em><code class="sig-name descname">time_filtering</code><a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.time_filtering" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.time_scalar_indexing_strucure">
|
||
|
<em class="property">property </em><code class="sig-name descname">time_scalar_indexing_strucure</code><a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.time_scalar_indexing_strucure" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.transition_filtering">
|
||
|
<em class="property">property </em><code class="sig-name descname">transition_filtering</code><a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.transition_filtering" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.network_graph.NetworkGraph.transition_scalar_indexing_structure">
|
||
|
<em class="property">property </em><code class="sig-name descname">transition_scalar_indexing_structure</code><a class="headerlink" href="#classes.structure_graph.network_graph.NetworkGraph.transition_scalar_indexing_structure" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
</dd></dl>
|
||
|
|
||
|
</div>
|
||
|
<div class="section" id="module-classes.structure_graph.sample_path">
|
||
|
<span id="classes-structure-graph-sample-path-module"></span><h2>classes.structure_graph.sample_path module<a class="headerlink" href="#module-classes.structure_graph.sample_path" title="Permalink to this headline">¶</a></h2>
|
||
|
<dl class="py class">
|
||
|
<dt id="classes.structure_graph.sample_path.SamplePath">
|
||
|
<em class="property">class </em><code class="sig-prename descclassname">classes.structure_graph.sample_path.</code><code class="sig-name descname">SamplePath</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">importer</span><span class="p">:</span> <span class="n"><a class="reference internal" href="classes.utility.html#classes.utility.abstract_importer.AbstractImporter" title="classes.utility.abstract_importer.AbstractImporter">classes.utility.abstract_importer.AbstractImporter</a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.sample_path.SamplePath" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
|
||
|
<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 <code class="docutils literal notranslate"><span class="pre">Trajectory</span></code> and <code class="docutils literal notranslate"><span class="pre">Structure</span></code> that will
|
||
|
contain the mentioned data.</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><p><strong>importer</strong> (<a class="reference internal" href="classes.utility.html#classes.utility.abstract_importer.AbstractImporter" title="classes.utility.abstract_importer.AbstractImporter"><em>AbstractImporter</em></a>) – the Importer object which contains the imported and processed data</p>
|
||
|
</dd>
|
||
|
<dt class="field-even">_trajectories</dt>
|
||
|
<dd class="field-even"><p>the <code class="docutils literal notranslate"><span class="pre">Trajectory</span></code> object that will contain all the concatenated trajectories</p>
|
||
|
</dd>
|
||
|
<dt class="field-odd">_structure</dt>
|
||
|
<dd class="field-odd"><p>the <code class="docutils literal notranslate"><span class="pre">Structure</span></code> Object that will contain all the structural infos about the net</p>
|
||
|
</dd>
|
||
|
<dt class="field-even">_total_variables_count</dt>
|
||
|
<dd class="field-even"><p>the number of variables in the net</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.sample_path.SamplePath.build_structure">
|
||
|
<code class="sig-name descname">build_structure</code><span class="sig-paren">(</span><span class="sig-paren">)</span> → None<a class="headerlink" href="#classes.structure_graph.sample_path.SamplePath.build_structure" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Builds the <code class="docutils literal notranslate"><span class="pre">Structure</span></code> object that aggregates all the infos about the net.</p>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.sample_path.SamplePath.build_trajectories">
|
||
|
<code class="sig-name descname">build_trajectories</code><span class="sig-paren">(</span><span class="sig-paren">)</span> → None<a class="headerlink" href="#classes.structure_graph.sample_path.SamplePath.build_trajectories" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Builds the Trajectory object that will contain all the trajectories.
|
||
|
Clears all the unused dataframes in <code class="docutils literal notranslate"><span class="pre">_importer</span></code> Object</p>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.sample_path.SamplePath.clear_memory">
|
||
|
<code class="sig-name descname">clear_memory</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.sample_path.SamplePath.clear_memory" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.sample_path.SamplePath.has_prior_net_structure">
|
||
|
<em class="property">property </em><code class="sig-name descname">has_prior_net_structure</code><a class="headerlink" href="#classes.structure_graph.sample_path.SamplePath.has_prior_net_structure" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.sample_path.SamplePath.structure">
|
||
|
<em class="property">property </em><code class="sig-name descname">structure</code><a class="headerlink" href="#classes.structure_graph.sample_path.SamplePath.structure" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.sample_path.SamplePath.total_variables_count">
|
||
|
<em class="property">property </em><code class="sig-name descname">total_variables_count</code><a class="headerlink" href="#classes.structure_graph.sample_path.SamplePath.total_variables_count" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.sample_path.SamplePath.trajectories">
|
||
|
<em class="property">property </em><code class="sig-name descname">trajectories</code><a class="headerlink" href="#classes.structure_graph.sample_path.SamplePath.trajectories" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
</dd></dl>
|
||
|
|
||
|
</div>
|
||
|
<div class="section" id="module-classes.structure_graph.set_of_cims">
|
||
|
<span id="classes-structure-graph-set-of-cims-module"></span><h2>classes.structure_graph.set_of_cims module<a class="headerlink" href="#module-classes.structure_graph.set_of_cims" title="Permalink to this headline">¶</a></h2>
|
||
|
<dl class="py class">
|
||
|
<dt id="classes.structure_graph.set_of_cims.SetOfCims">
|
||
|
<em class="property">class </em><code class="sig-prename descclassname">classes.structure_graph.set_of_cims.</code><code class="sig-name descname">SetOfCims</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">parents_states_number</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">node_states_number</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">p_combs</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.set_of_cims.SetOfCims" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
|
||
|
<p>Aggregates all the CIMS of the node identified by the label _node_id.</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><ul class="simple">
|
||
|
<li><p><strong>node_id</strong> – the node label</p></li>
|
||
|
<li><p><strong>parents_states_number</strong> (<em>List</em>) – the cardinalities of the parents</p></li>
|
||
|
<li><p><strong>node_states_number</strong> (<em>int</em>) – the caridinality of the node</p></li>
|
||
|
<li><p><strong>p_combs</strong> (<em>numpy.ndArray</em>) – the p_comb structure bound to this node</p></li>
|
||
|
</ul>
|
||
|
</dd>
|
||
|
<dt class="field-even">_state_residence_time</dt>
|
||
|
<dd class="field-even"><p>matrix containing all the state residence time vectors for the node</p>
|
||
|
</dd>
|
||
|
<dt class="field-odd">_transition_matrices</dt>
|
||
|
<dd class="field-odd"><p>matrix containing all the transition matrices for the node</p>
|
||
|
</dd>
|
||
|
<dt class="field-even">_actual_cims</dt>
|
||
|
<dd class="field-even"><p>the cims of the node</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.set_of_cims.SetOfCims.actual_cims">
|
||
|
<em class="property">property </em><code class="sig-name descname">actual_cims</code><a class="headerlink" href="#classes.structure_graph.set_of_cims.SetOfCims.actual_cims" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.set_of_cims.SetOfCims.build_cims">
|
||
|
<code class="sig-name descname">build_cims</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">state_res_times</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">transition_matrices</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em><span class="sig-paren">)</span> → None<a class="headerlink" href="#classes.structure_graph.set_of_cims.SetOfCims.build_cims" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Build the <code class="docutils literal notranslate"><span class="pre">ConditionalIntensityMatrix</span></code> objects given the state residence times and transitions matrices.
|
||
|
Compute the cim coefficients.The class member <code class="docutils literal notranslate"><span class="pre">_actual_cims</span></code> will contain the computed cims.</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><ul class="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>
|
||
|
</ul>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.set_of_cims.SetOfCims.build_times_and_transitions_structures">
|
||
|
<code class="sig-name descname">build_times_and_transitions_structures</code><span class="sig-paren">(</span><span class="sig-paren">)</span> → None<a class="headerlink" href="#classes.structure_graph.set_of_cims.SetOfCims.build_times_and_transitions_structures" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Initializes at the correct dimensions the state residence times matrix and the state transition matrices.</p>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.set_of_cims.SetOfCims.filter_cims_with_mask">
|
||
|
<code class="sig-name descname">filter_cims_with_mask</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">mask_arr</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">comb</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> → numpy.ndarray<a class="headerlink" href="#classes.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 <code class="docutils literal notranslate"><span class="pre">_actual_cims</span></code> given the boolean mask <code class="docutils literal notranslate"><span class="pre">mask_arr</span></code> and the index
|
||
|
<code class="docutils literal notranslate"><span class="pre">comb</span></code>.</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><ul class="simple">
|
||
|
<li><p><strong>mask_arr</strong> (<em>numpy.array</em>) – the boolean mask that indicates which parent to consider</p></li>
|
||
|
<li><p><strong>comb</strong> (<em>numpy.array</em>) – the state/s of the filtered parents</p></li>
|
||
|
</ul>
|
||
|
</dd>
|
||
|
<dt class="field-even">Returns</dt>
|
||
|
<dd class="field-even"><p>Array of <code class="docutils literal notranslate"><span class="pre">ConditionalIntensityMatrix</span></code> objects</p>
|
||
|
</dd>
|
||
|
<dt class="field-odd">Return type</dt>
|
||
|
<dd class="field-odd"><p>numpy.array</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.set_of_cims.SetOfCims.get_cims_number">
|
||
|
<code class="sig-name descname">get_cims_number</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.set_of_cims.SetOfCims.get_cims_number" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.set_of_cims.SetOfCims.p_combs">
|
||
|
<em class="property">property </em><code class="sig-name descname">p_combs</code><a class="headerlink" href="#classes.structure_graph.set_of_cims.SetOfCims.p_combs" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
</dd></dl>
|
||
|
|
||
|
</div>
|
||
|
<div class="section" id="module-classes.structure_graph.sets_of_cims_container">
|
||
|
<span id="classes-structure-graph-sets-of-cims-container-module"></span><h2>classes.structure_graph.sets_of_cims_container module<a class="headerlink" href="#module-classes.structure_graph.sets_of_cims_container" title="Permalink to this headline">¶</a></h2>
|
||
|
<dl class="py class">
|
||
|
<dt id="classes.structure_graph.sets_of_cims_container.SetsOfCimsContainer">
|
||
|
<em class="property">class </em><code class="sig-prename descclassname">classes.structure_graph.sets_of_cims_container.</code><code class="sig-name descname">SetsOfCimsContainer</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">list_of_keys</span></em>, <em class="sig-param"><span class="n">states_number_per_node</span></em>, <em class="sig-param"><span class="n">list_of_parents_states_number</span></em>, <em class="sig-param"><span class="n">p_combs_list</span></em><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.sets_of_cims_container.SetsOfCimsContainer" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
|
||
|
<p>Aggrega un insieme di oggetti SetOfCims</p>
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.sets_of_cims_container.SetsOfCimsContainer.get_cims_of_node">
|
||
|
<code class="sig-name descname">get_cims_of_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_indx</span></em>, <em class="sig-param"><span class="n">cim_indx</span></em><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.sets_of_cims_container.SetsOfCimsContainer.get_cims_of_node" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.sets_of_cims_container.SetsOfCimsContainer.get_set_of_cims">
|
||
|
<code class="sig-name descname">get_set_of_cims</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_indx</span></em><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.sets_of_cims_container.SetsOfCimsContainer.get_set_of_cims" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.sets_of_cims_container.SetsOfCimsContainer.init_cims_structure">
|
||
|
<code class="sig-name descname">init_cims_structure</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">keys</span></em>, <em class="sig-param"><span class="n">states_number_per_node</span></em>, <em class="sig-param"><span class="n">list_of_parents_states_number</span></em>, <em class="sig-param"><span class="n">p_combs_list</span></em><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.sets_of_cims_container.SetsOfCimsContainer.init_cims_structure" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>for indx, key in enumerate(keys):
|
||
|
self.sets_of_cims.append(</p>
|
||
|
<blockquote>
|
||
|
<div><p>socim.SetOfCims(key, list_of_parents_states_number[indx], states_number_per_node[indx]))</p>
|
||
|
</div></blockquote>
|
||
|
</dd></dl>
|
||
|
|
||
|
</dd></dl>
|
||
|
|
||
|
</div>
|
||
|
<div class="section" id="module-classes.structure_graph.structure">
|
||
|
<span id="classes-structure-graph-structure-module"></span><h2>classes.structure_graph.structure module<a class="headerlink" href="#module-classes.structure_graph.structure" title="Permalink to this headline">¶</a></h2>
|
||
|
<dl class="py class">
|
||
|
<dt id="classes.structure_graph.structure.Structure">
|
||
|
<em class="property">class </em><code class="sig-prename descclassname">classes.structure_graph.structure.</code><code class="sig-name descname">Structure</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">nodes_labels_list</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">nodes_indexes_arr</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">nodes_vals_arr</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">edges_list</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">total_variables_number</span><span class="p">:</span> <span class="n">int</span></em><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.structure.Structure" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
|
||
|
<p>Contains all the infos about the network structure(nodes labels, nodes caridinalites, edges, indexes)</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><ul class="simple">
|
||
|
<li><p><strong>nodes_labels_list</strong> (<em>List</em>) – the symbolic names of the variables</p></li>
|
||
|
<li><p><strong>nodes_indexes_arr</strong> (<em>numpy.ndArray</em>) – the indexes of the nodes</p></li>
|
||
|
<li><p><strong>nodes_vals_arr</strong> (<em>numpy.ndArray</em>) – the cardinalites of the nodes</p></li>
|
||
|
<li><p><strong>edges_list</strong> (<em>List</em>) – the edges of the network</p></li>
|
||
|
<li><p><strong>total_variables_number</strong> (<em>int</em>) – the total number of variables in the dataset</p></li>
|
||
|
</ul>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.structure.Structure.add_edge">
|
||
|
<code class="sig-name descname">add_edge</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">edge</span><span class="p">:</span> <span class="n">tuple</span></em><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.structure.Structure.add_edge" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.structure.Structure.clean_structure_edges">
|
||
|
<code class="sig-name descname">clean_structure_edges</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.structure.Structure.clean_structure_edges" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.structure.Structure.contains_edge">
|
||
|
<code class="sig-name descname">contains_edge</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">edge</span><span class="p">:</span> <span class="n">tuple</span></em><span class="sig-paren">)</span> → bool<a class="headerlink" href="#classes.structure_graph.structure.Structure.contains_edge" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.structure.Structure.edges">
|
||
|
<em class="property">property </em><code class="sig-name descname">edges</code><a class="headerlink" href="#classes.structure_graph.structure.Structure.edges" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.structure.Structure.get_node_id">
|
||
|
<code class="sig-name descname">get_node_id</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_indx</span><span class="p">:</span> <span class="n">int</span></em><span class="sig-paren">)</span> → str<a class="headerlink" href="#classes.structure_graph.structure.Structure.get_node_id" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Given the <code class="docutils literal notranslate"><span class="pre">node_index</span></code> returns the node label.</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><p><strong>node_indx</strong> (<em>int</em>) – the node index</p>
|
||
|
</dd>
|
||
|
<dt class="field-even">Returns</dt>
|
||
|
<dd class="field-even"><p>the node label</p>
|
||
|
</dd>
|
||
|
<dt class="field-odd">Return type</dt>
|
||
|
<dd class="field-odd"><p>string</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.structure.Structure.get_node_indx">
|
||
|
<code class="sig-name descname">get_node_indx</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> → int<a class="headerlink" href="#classes.structure_graph.structure.Structure.get_node_indx" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Given the <code class="docutils literal notranslate"><span class="pre">node_index</span></code> returns the node label.</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><p><strong>node_id</strong> (<em>string</em>) – the node label</p>
|
||
|
</dd>
|
||
|
<dt class="field-even">Returns</dt>
|
||
|
<dd class="field-even"><p>the node index</p>
|
||
|
</dd>
|
||
|
<dt class="field-odd">Return type</dt>
|
||
|
<dd class="field-odd"><p>int</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.structure.Structure.get_positional_node_indx">
|
||
|
<code class="sig-name descname">get_positional_node_indx</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> → int<a class="headerlink" href="#classes.structure_graph.structure.Structure.get_positional_node_indx" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.structure.Structure.get_states_number">
|
||
|
<code class="sig-name descname">get_states_number</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> → int<a class="headerlink" href="#classes.structure_graph.structure.Structure.get_states_number" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Given the node label <code class="docutils literal notranslate"><span class="pre">node</span></code> returns the cardinality of the node.</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><p><strong>node</strong> (<em>string</em>) – the node label</p>
|
||
|
</dd>
|
||
|
<dt class="field-even">Returns</dt>
|
||
|
<dd class="field-even"><p>the node cardinality</p>
|
||
|
</dd>
|
||
|
<dt class="field-odd">Return type</dt>
|
||
|
<dd class="field-odd"><p>int</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.structure.Structure.nodes_indexes">
|
||
|
<em class="property">property </em><code class="sig-name descname">nodes_indexes</code><a class="headerlink" href="#classes.structure_graph.structure.Structure.nodes_indexes" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.structure.Structure.nodes_labels">
|
||
|
<em class="property">property </em><code class="sig-name descname">nodes_labels</code><a class="headerlink" href="#classes.structure_graph.structure.Structure.nodes_labels" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.structure.Structure.nodes_values">
|
||
|
<em class="property">property </em><code class="sig-name descname">nodes_values</code><a class="headerlink" href="#classes.structure_graph.structure.Structure.nodes_values" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.structure.Structure.remove_edge">
|
||
|
<code class="sig-name descname">remove_edge</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">edge</span><span class="p">:</span> <span class="n">tuple</span></em><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.structure.Structure.remove_edge" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.structure.Structure.remove_node">
|
||
|
<code class="sig-name descname">remove_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> → None<a class="headerlink" href="#classes.structure_graph.structure.Structure.remove_node" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Remove the node <code class="docutils literal notranslate"><span class="pre">node_id</span></code> from all the class members.
|
||
|
The class member <code class="docutils literal notranslate"><span class="pre">_total_variables_number</span></code> since it refers to the total number of variables in the dataset.</p>
|
||
|
</dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.structure.Structure.total_variables_number">
|
||
|
<em class="property">property </em><code class="sig-name descname">total_variables_number</code><a class="headerlink" href="#classes.structure_graph.structure.Structure.total_variables_number" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
</dd></dl>
|
||
|
|
||
|
</div>
|
||
|
<div class="section" id="module-classes.structure_graph.trajectory">
|
||
|
<span id="classes-structure-graph-trajectory-module"></span><h2>classes.structure_graph.trajectory module<a class="headerlink" href="#module-classes.structure_graph.trajectory" title="Permalink to this headline">¶</a></h2>
|
||
|
<dl class="py class">
|
||
|
<dt id="classes.structure_graph.trajectory.Trajectory">
|
||
|
<em class="property">class </em><code class="sig-prename descclassname">classes.structure_graph.trajectory.</code><code class="sig-name descname">Trajectory</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">list_of_columns</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">original_cols_number</span><span class="p">:</span> <span class="n">int</span></em><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.trajectory.Trajectory" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
|
||
|
<p>Abstracts the infos about a complete set of trajectories, represented as a numpy array of doubles
|
||
|
(the time deltas) and a numpy matrix of ints (the changes of states).</p>
|
||
|
<dl class="field-list simple">
|
||
|
<dt class="field-odd">Parameters</dt>
|
||
|
<dd class="field-odd"><ul class="simple">
|
||
|
<li><p><strong>list_of_columns</strong> (<em>List</em>) – the list containing the times array and values matrix</p></li>
|
||
|
<li><p><strong>original_cols_number</strong> (<em>int</em>) – total number of cols in the data</p></li>
|
||
|
</ul>
|
||
|
</dd>
|
||
|
<dt class="field-even">_actual_trajectory</dt>
|
||
|
<dd class="field-even"><p>the trajectory containing also the duplicated/shifted values</p>
|
||
|
</dd>
|
||
|
<dt class="field-odd">_times</dt>
|
||
|
<dd class="field-odd"><p>the array containing the time deltas</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.trajectory.Trajectory.complete_trajectory">
|
||
|
<em class="property">property </em><code class="sig-name descname">complete_trajectory</code><a class="headerlink" href="#classes.structure_graph.trajectory.Trajectory.complete_trajectory" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.trajectory.Trajectory.size">
|
||
|
<code class="sig-name descname">size</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#classes.structure_graph.trajectory.Trajectory.size" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.trajectory.Trajectory.times">
|
||
|
<em class="property">property </em><code class="sig-name descname">times</code><a class="headerlink" href="#classes.structure_graph.trajectory.Trajectory.times" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
<dl class="py method">
|
||
|
<dt id="classes.structure_graph.trajectory.Trajectory.trajectory">
|
||
|
<em class="property">property </em><code class="sig-name descname">trajectory</code><a class="headerlink" href="#classes.structure_graph.trajectory.Trajectory.trajectory" title="Permalink to this definition">¶</a></dt>
|
||
|
<dd></dd></dl>
|
||
|
|
||
|
</dd></dl>
|
||
|
|
||
|
</div>
|
||
|
<div class="section" id="module-classes.structure_graph">
|
||
|
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-classes.structure_graph" title="Permalink to this headline">¶</a></h2>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
<footer>
|
||
|
|
||
|
|
||
|
<hr/>
|
||
|
|
||
|
<div role="contentinfo">
|
||
|
<p>
|
||
|
© Copyright 2021, Bregoli Alessandro, Martini Filippo, Moretti Luca.
|
||
|
</p>
|
||
|
</div>
|
||
|
|
||
|
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/jucacrispim/sphinx_pdj_theme">theme</a> provided by <a href="http://poraodojuca.net">Porão do Juca</a>.
|
||
|
|
||
|
</footer>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
var DOCUMENTATION_OPTIONS = {
|
||
|
URL_ROOT:'./',
|
||
|
VERSION:'2.0',
|
||
|
COLLAPSE_INDEX:false,
|
||
|
FILE_SUFFIX:'.html',
|
||
|
HAS_SOURCE: true
|
||
|
};
|
||
|
</script>
|
||
|
<script type="text/javascript" src="_static/jquery.js">
|
||
|
|
||
|
</script>
|
||
|
<script type="text/javascript" src="_static/underscore.js">
|
||
|
|
||
|
</script>
|
||
|
<script type="text/javascript" src="_static/doctools.js">
|
||
|
|
||
|
</script>
|
||
|
<script type="text/javascript" src="_static/language_data.js">
|
||
|
|
||
|
</script>
|
||
|
|
||
|
|
||
|
|
||
|
<script type="text/javascript"
|
||
|
src="_static/js/theme.js"></script>
|
||
|
|
||
|
<script type="text/javascript"
|
||
|
src="_static/js/pdj.js"></script>
|
||
|
|
||
|
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
jQuery(function () {
|
||
|
SphinxRtdTheme.StickyNav.enable();
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
|
||
|
</body>
|
||
|
</html>
|