From 73e8763db3f51f884e0b40c197d596a71ffef8d0 Mon Sep 17 00:00:00 2001 From: Brenda Praggastis Date: Tue, 8 Sep 2020 12:57:50 -0700 Subject: [PATCH 1/3] updating version number --- README.md | 3 --- docs/source/conf.py | 2 +- setup.py | 41 ++++++++++++++++++++--------------------- 3 files changed, 21 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index f99c9b2d..ac0c805b 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,6 @@ Tutorials may be run in your browser using Google Colab - Open In Colab Tutorial 2 - Visualization Methods @@ -41,7 +40,6 @@ Tutorials may be run in your browser using Google Colab - Open In Colab Tutorial 3 - LesMis Case Study @@ -49,7 +47,6 @@ Tutorials may be run in your browser using Google Colab - Open In Colab Tutorial 4 - LesMis Visualizations-Book Tour diff --git a/docs/source/conf.py b/docs/source/conf.py index 3d3a9527..705f508d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -19,7 +19,7 @@ import os import shlex -__version__ = "0.3.4" +__version__ = "0.3.5" # If extensions (or modules to document with autodoc) are in another directory, diff --git a/setup.py b/setup.py index 06a8c0ac..f5759121 100644 --- a/setup.py +++ b/setup.py @@ -1,15 +1,16 @@ -from setuptools import setup -import sys, os.path +from setuptools import setup +import sys +import os.path -__version__ = '0.3.4' +__version__ = '0.3.5' -if sys.version_info < (3,6): +if sys.version_info < (3, 6): sys.exit('HyperNetX requires Python 3.6 or later.') setup( name='hypernetx', packages=['hypernetx', - 'hypernetx.algorithms', + 'hypernetx.algorithms', 'hypernetx.classes', 'hypernetx.drawing', 'hypernetx.reports'], @@ -18,28 +19,26 @@ author_email="hypernetx@pnnl.gov", url='https://github.com/pnnl/HyperNetX', description='HyperNetX is a Python library for the creation and study of hypergraphs.', - install_requires=['networkx>=2.2,<3.0','numpy>=1.15.0,<2.0','scipy>=1.1.0,<2.0','matplotlib>3.0','scikit-learn>=0.20.0'], + install_requires=['networkx>=2.2,<3.0', 'numpy>=1.15.0,<2.0', 'scipy>=1.1.0,<2.0', 'matplotlib>3.0', 'scikit-learn>=0.20.0'], license='3-Clause BSD license', long_description=''' - The HyperNetX library provides classes and methods for complex network data. - HyperNetX uses data structures designed to represent set systems containing - nested data and/or multi-way relationships. The library generalizes traditional - graph metrics to hypergraphs. + The HyperNetX library provides classes and methods for complex network data. + HyperNetX uses data structures designed to represent set systems containing + nested data and/or multi-way relationships. The library generalizes traditional + graph metrics to hypergraphs. - The current version is preliminary. We are actively testing and would be grateful - for comments and suggestions. Expect changes in both class names and methods as + The current version is preliminary. We are actively testing and would be grateful + for comments and suggestions. Expect changes in both class names and methods as many of the requirements demanded of the library are worked out. ''', extras_require={ - 'testing':['pytest>=4.0'], - 'notebooks':['jupyter>=1.0','pandas>=0.23'], - 'tutorials':['jupyter>=1.0','pandas>=0.23'], - 'documentation':['sphinx>=1.8.2','nb2plots>=0.6','sphinx-rtd-theme>=0.4.2'], - 'all':['sphinx>=1.8.2','nb2plots>=0.6','sphinx-rtd-theme>=0.4.2','pytest>=4.0','jupyter>=1.0','pandas>=0.23'] + 'testing': ['pytest>=4.0'], + 'notebooks': ['jupyter>=1.0', 'pandas>=0.23'], + 'tutorials': ['jupyter>=1.0', 'pandas>=0.23'], + 'documentation': ['sphinx>=1.8.2', 'nb2plots>=0.6', 'sphinx-rtd-theme>=0.4.2'], + 'all': ['sphinx>=1.8.2', 'nb2plots>=0.6', 'sphinx-rtd-theme>=0.4.2', 'pytest>=4.0', 'jupyter>=1.0', 'pandas>=0.23'] } ) -### Since this package is still in development, please install in a virtualenv or conda environment. -### See README for installations instructions - - +# Since this package is still in development, please install in a virtualenv or conda environment. +# See README for installations instructions From 469ba0063cd866ac350414f2e678033d1e6b0669 Mon Sep 17 00:00:00 2001 From: Brenda Praggastis Date: Tue, 8 Sep 2020 13:02:33 -0700 Subject: [PATCH 2/3] updating docs --- docs/build/.buildinfo | 2 +- .../.doctrees/algorithms/algorithms.doctree | Bin 123590 -> 125156 bytes docs/build/.doctrees/environment.pickle | Bin 208261 -> 208485 bytes .../_modules/algorithms/homology_mod2.html | 2 +- .../algorithms/s_centrality_measures.html | 13 +++++++++++-- docs/build/_modules/classes/entity.html | 2 +- docs/build/_modules/classes/hypergraph.html | 2 +- docs/build/_modules/drawing/rubber_band.html | 2 +- docs/build/_modules/drawing/two_column.html | 2 +- docs/build/_modules/drawing/util.html | 2 +- docs/build/_modules/index.html | 2 +- .../_modules/reports/descriptive_stats.html | 2 +- docs/build/_static/documentation_options.js | 2 +- docs/build/algorithms/algorithms.html | 14 +++++++++++--- docs/build/algorithms/modules.html | 2 +- docs/build/classes/classes.html | 2 +- docs/build/classes/modules.html | 2 +- docs/build/drawing/drawing.html | 2 +- docs/build/drawing/modules.html | 2 +- docs/build/genindex.html | 2 +- docs/build/glossary.html | 2 +- docs/build/index.html | 2 +- docs/build/install.html | 2 +- docs/build/license.html | 2 +- docs/build/overview/index.html | 2 +- docs/build/py-modindex.html | 2 +- docs/build/reports/modules.html | 2 +- docs/build/reports/reports.html | 2 +- docs/build/search.html | 2 +- docs/build/searchindex.js | 2 +- hypernetx/algorithms/s_centrality_measures.py | 6 ++++++ 31 files changed, 54 insertions(+), 31 deletions(-) diff --git a/docs/build/.buildinfo b/docs/build/.buildinfo index b088336c..7f8381d9 100644 --- a/docs/build/.buildinfo +++ b/docs/build/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 100d5f0571659fa080bb0f6ef7eebc72 +config: 12513d66143dfa27e7a4e78bbb5b3696 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/build/.doctrees/algorithms/algorithms.doctree b/docs/build/.doctrees/algorithms/algorithms.doctree index 174f4a4861bb9d7c33e16da040169144775abb7b..3d23841ad24a38f15f2882653da8b2e945751a7f 100644 GIT binary patch delta 2485 zcmbVOYiv_x80I;{_Oxv4${3ej&p@|zZG{cOCa&Bfmt-=z#ehiIn8o(Ebz9dG!KlC= zXI!Gv#y6m2M#4=^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sudr75Ar zCM2Z+I@_GIrrANg-{R6??JF~dEQ2aA<=brET z&Ueo_b7w}4{e8wpH`WSY-aZq9$(p)Ep-d1OMCu5~ zR@AHG=MW9yJ&}@RY_-&LLAZikHn~Nl?9UNH#pm&i;1QLoXE);nT{@3K;VbP+I3ZFa zAzL`N6pT`lK&QVz%rc#i%M5frZCFv9WAG}50NXhvaAKL2|w|@1jUoP4)s)e z0UOrTFdutdNxR*yl-+K*MpUM9W2yWjWZGLm3$c&WhIL=-SR;>k*@-L#vY}FwaNrS{KL5vziFGKBKxtiJsV5hW8xMoV!85^l% z5Xp4!B0?g(x@JbQ@$D4aIRsIS|gi-vBaFsWGMsQSL^CDq^_jmf)&H+eXkRT$R+` z5j-D+R5fB0o*?5QgUa&~bzeuHafE*iO4KlhSO*_4HdpNNFWRjrJxp0`dZwakFRC{Ef)2-c1Ex{EBE1mA* zP=5J!=v@u?tC^6UMFV;$oYHMj)ie@$`=Sf)tg38&q_WAU%-bzo(Us9p_iiJ*AebFw o$zph*^GC`0O~j11Yod5s; diff --git a/docs/build/.doctrees/environment.pickle b/docs/build/.doctrees/environment.pickle index cc52055ea0b2a88d286ee1b56226247f27ee59c8..c7fca4ddb50c611f85084cd4bf169204f124a021 100644 GIT binary patch delta 5515 zcmbVQdsLLywdZ^wZ$VyyAo3U-UNWGBhsGB^qcp9AG%58l8Q~M=bB1s3%%Fi56I)Xq z9dTffe29P`YJ7l_HCE*v+{E+~{PKePT7CS4h~&aIA;hQ_V;h5rPD_C+=fo!UH>55LhSKw)}3e3706 zZCQ(8M4J=j;)_4v&S=R<=MHUF8mvoS2rU^IzAkA5hsME+B|RC| zX63@zJipJ<(p>OO*36)f)fi_+b6E;3%`U~2JF_3arFk0YnzI$=qnwlTEv(7az|^ut zFzSB9uEN0FRCsZH4E#&C4l;Eb=-;G)1G$^vojeUp%d3M+$eql43(n2ez*%by=;yA3 zpd1az_UZ6nbIaHjo?*j05x&YzgOJ9V@Yi{f5S9NrKXNJ4*T;t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7X#?@6$%R57MZ$bj^5-H#ZXAicr+#u_*mm4NMo< zO!ltQa)G5zSUHWfiP#UCD;;>fG40UJ3#{RPG4}fhg*a_d(;?i0eW=oSP)I{DpoyC( zwA!BsAr|?9*M;e@u??SnQd3Y=ye{NuDUu-KK#HbDqZ-8@cIDjbLOzDwdtJzg9uw^(L{(Ch~gaw+nGG+#f#PZ?;k~H=#40J138K))}c?rJEswfX$$Crd>!z z@o_s}*+0?pZcbq%crhu}{6pNg;Sk^E%P6#v80c&FUbBW4zSU2)$kYxYP6=zFPDepK zRVznIix8!0J*e@vC{SCAD@JK)6{ZDHyF*Jue;f`y-614t1D1ubl# zl(J4CQ;YhfO^DaD7uy7E5tX+(d7cp*7W-H!y!Yoomk>9JoOMtO(L+UDf_1(heIb>* zw{Y~Za{glhKk-W0SGdDrX7Rz z;hUfsZ6Q^ngA$4cepN6|>3m45ANu)2;b{I`Y7<;Rm9n+gK>am-(TNDrZq#@xnA`?z zrRjg9Yl=J1H`<@aPE*{ezSBy)BmHpW_}kFZl8!kl$I{wyxf5rKf(N&wsOwUu=zZg( QwAr<`baZxQq24#+-!Y>Q_y7O^ diff --git a/docs/build/_modules/algorithms/homology_mod2.html b/docs/build/_modules/algorithms/homology_mod2.html index e04f7a90..524dae71 100644 --- a/docs/build/_modules/algorithms/homology_mod2.html +++ b/docs/build/_modules/algorithms/homology_mod2.html @@ -8,7 +8,7 @@ - algorithms.homology_mod2 — HyperNetX 0.3.4 documentation + algorithms.homology_mod2 — HyperNetX 0.3.5 documentation diff --git a/docs/build/_modules/algorithms/s_centrality_measures.html b/docs/build/_modules/algorithms/s_centrality_measures.html index fde9ab8c..27c3ef2f 100644 --- a/docs/build/_modules/algorithms/s_centrality_measures.html +++ b/docs/build/_modules/algorithms/s_centrality_measures.html @@ -8,7 +8,7 @@ - algorithms.s_centrality_measures — HyperNetX 0.3.4 documentation + algorithms.s_centrality_measures — HyperNetX 0.3.5 documentation @@ -193,10 +193,12 @@

Source code for algorithms.s_centrality_measures

A dictionary of s-betweenness centrality value of the edges. ''' + # Confirm there is at least 1 s edge for which we can compute the centrality # Find all s-edges #M,rdict,_ = H.incidence_matrix(index=True) #A = M.transpose().dot(M) + A, coldict = H.edge_adjacency_matrix(s=s, index=True) A.setdiag(0) A = (A >= s) * 1 @@ -227,8 +229,10 @@

Source code for algorithms.s_centrality_measures

If edge then a single value is returned. ''' + # Confirm there is at least 1 s edge for which we can compute the centrality # Find all s-edges + if edge and len(H.edges[edge]) < s: return 0 @@ -250,6 +254,7 @@

Source code for algorithms.s_centrality_measures

# confirm there are at least 2 s-edges # we follow the NX convention that the s-closeness centrality of a single edge Hypergraph is 0 + output = {} if not bool(Es) or len(Es) == 1: output = {e: 0 for e in edges} @@ -280,7 +285,11 @@

Source code for algorithms.s_centrality_measures

eccentricity[f] : float else: eccentricity_dict : dict - + : dict or float + returns the s-eccentricity value of the edges, a floating point number + If edge=None a dictionary of values for each s-edge in H is returned. + If edge then a single value is returned. + ''' if f: if isinstance(f, Entity): diff --git a/docs/build/_modules/classes/entity.html b/docs/build/_modules/classes/entity.html index b8bb3fd5..79c7c5ba 100644 --- a/docs/build/_modules/classes/entity.html +++ b/docs/build/_modules/classes/entity.html @@ -8,7 +8,7 @@ - classes.entity — HyperNetX 0.3.4 documentation + classes.entity — HyperNetX 0.3.5 documentation diff --git a/docs/build/_modules/classes/hypergraph.html b/docs/build/_modules/classes/hypergraph.html index 98df0572..d35cec2e 100644 --- a/docs/build/_modules/classes/hypergraph.html +++ b/docs/build/_modules/classes/hypergraph.html @@ -8,7 +8,7 @@ - classes.hypergraph — HyperNetX 0.3.4 documentation + classes.hypergraph — HyperNetX 0.3.5 documentation diff --git a/docs/build/_modules/drawing/rubber_band.html b/docs/build/_modules/drawing/rubber_band.html index ea2b8369..11b98e95 100644 --- a/docs/build/_modules/drawing/rubber_band.html +++ b/docs/build/_modules/drawing/rubber_band.html @@ -8,7 +8,7 @@ - drawing.rubber_band — HyperNetX 0.3.4 documentation + drawing.rubber_band — HyperNetX 0.3.5 documentation diff --git a/docs/build/_modules/drawing/two_column.html b/docs/build/_modules/drawing/two_column.html index 7c977043..352a2116 100644 --- a/docs/build/_modules/drawing/two_column.html +++ b/docs/build/_modules/drawing/two_column.html @@ -8,7 +8,7 @@ - drawing.two_column — HyperNetX 0.3.4 documentation + drawing.two_column — HyperNetX 0.3.5 documentation diff --git a/docs/build/_modules/drawing/util.html b/docs/build/_modules/drawing/util.html index 0e71704e..50b7a36f 100644 --- a/docs/build/_modules/drawing/util.html +++ b/docs/build/_modules/drawing/util.html @@ -8,7 +8,7 @@ - drawing.util — HyperNetX 0.3.4 documentation + drawing.util — HyperNetX 0.3.5 documentation diff --git a/docs/build/_modules/index.html b/docs/build/_modules/index.html index ff8e508d..9a56bc17 100644 --- a/docs/build/_modules/index.html +++ b/docs/build/_modules/index.html @@ -8,7 +8,7 @@ - Overview: module code — HyperNetX 0.3.4 documentation + Overview: module code — HyperNetX 0.3.5 documentation diff --git a/docs/build/_modules/reports/descriptive_stats.html b/docs/build/_modules/reports/descriptive_stats.html index bf2ab790..099b33f3 100644 --- a/docs/build/_modules/reports/descriptive_stats.html +++ b/docs/build/_modules/reports/descriptive_stats.html @@ -8,7 +8,7 @@ - reports.descriptive_stats — HyperNetX 0.3.4 documentation + reports.descriptive_stats — HyperNetX 0.3.5 documentation diff --git a/docs/build/_static/documentation_options.js b/docs/build/_static/documentation_options.js index 6e4da6fd..883b606f 100644 --- a/docs/build/_static/documentation_options.js +++ b/docs/build/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '0.3.4', + VERSION: '0.3.5', LANGUAGE: 'None', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/docs/build/algorithms/algorithms.html b/docs/build/algorithms/algorithms.html index 96106adb..51d97608 100644 --- a/docs/build/algorithms/algorithms.html +++ b/docs/build/algorithms/algorithms.html @@ -8,7 +8,7 @@ - algorithms package — HyperNetX 0.3.4 documentation + algorithms package — HyperNetX 0.3.5 documentation @@ -630,10 +630,18 @@

Homology Mod2 +
if f:

eccentricity[f] : float

-
else:

eccentricity_dict : dict

+
else:
+

eccentricity_dict : dict

+
+
+
: dict or float

returns the s-eccentricity value of the edges, a floating point number +If edge=None a dictionary of values for each s-edge in H is returned. +If edge then a single value is returned.

+
+
diff --git a/docs/build/algorithms/modules.html b/docs/build/algorithms/modules.html index 3c3fbb74..52eb3a45 100644 --- a/docs/build/algorithms/modules.html +++ b/docs/build/algorithms/modules.html @@ -8,7 +8,7 @@ - algorithms — HyperNetX 0.3.4 documentation + algorithms — HyperNetX 0.3.5 documentation diff --git a/docs/build/classes/classes.html b/docs/build/classes/classes.html index 6519bcfd..0d765a01 100644 --- a/docs/build/classes/classes.html +++ b/docs/build/classes/classes.html @@ -8,7 +8,7 @@ - classes package — HyperNetX 0.3.4 documentation + classes package — HyperNetX 0.3.5 documentation diff --git a/docs/build/classes/modules.html b/docs/build/classes/modules.html index 9913da1a..bdd51296 100644 --- a/docs/build/classes/modules.html +++ b/docs/build/classes/modules.html @@ -8,7 +8,7 @@ - classes — HyperNetX 0.3.4 documentation + classes — HyperNetX 0.3.5 documentation diff --git a/docs/build/drawing/drawing.html b/docs/build/drawing/drawing.html index f0a41b20..2923aa73 100644 --- a/docs/build/drawing/drawing.html +++ b/docs/build/drawing/drawing.html @@ -8,7 +8,7 @@ - drawing package — HyperNetX 0.3.4 documentation + drawing package — HyperNetX 0.3.5 documentation diff --git a/docs/build/drawing/modules.html b/docs/build/drawing/modules.html index 82eedc21..9b1ca2e8 100644 --- a/docs/build/drawing/modules.html +++ b/docs/build/drawing/modules.html @@ -8,7 +8,7 @@ - drawing — HyperNetX 0.3.4 documentation + drawing — HyperNetX 0.3.5 documentation diff --git a/docs/build/genindex.html b/docs/build/genindex.html index f6432d5e..d72a5c80 100644 --- a/docs/build/genindex.html +++ b/docs/build/genindex.html @@ -9,7 +9,7 @@ - Index — HyperNetX 0.3.4 documentation + Index — HyperNetX 0.3.5 documentation diff --git a/docs/build/glossary.html b/docs/build/glossary.html index 8a412121..48f4fc33 100644 --- a/docs/build/glossary.html +++ b/docs/build/glossary.html @@ -8,7 +8,7 @@ - Glossary of HNX terms — HyperNetX 0.3.4 documentation + Glossary of HNX terms — HyperNetX 0.3.5 documentation diff --git a/docs/build/index.html b/docs/build/index.html index 0cbbfe5a..255ddf92 100644 --- a/docs/build/index.html +++ b/docs/build/index.html @@ -8,7 +8,7 @@ - HyperNetX (HNX) — HyperNetX 0.3.4 documentation + HyperNetX (HNX) — HyperNetX 0.3.5 documentation diff --git a/docs/build/install.html b/docs/build/install.html index 890dd8a3..9e26fadc 100644 --- a/docs/build/install.html +++ b/docs/build/install.html @@ -8,7 +8,7 @@ - Installing HyperNetX — HyperNetX 0.3.4 documentation + Installing HyperNetX — HyperNetX 0.3.5 documentation diff --git a/docs/build/license.html b/docs/build/license.html index ab054128..20805e71 100644 --- a/docs/build/license.html +++ b/docs/build/license.html @@ -8,7 +8,7 @@ - License — HyperNetX 0.3.4 documentation + License — HyperNetX 0.3.5 documentation diff --git a/docs/build/overview/index.html b/docs/build/overview/index.html index 1dda0f8e..e1dcae6f 100644 --- a/docs/build/overview/index.html +++ b/docs/build/overview/index.html @@ -8,7 +8,7 @@ - Overview — HyperNetX 0.3.4 documentation + Overview — HyperNetX 0.3.5 documentation diff --git a/docs/build/py-modindex.html b/docs/build/py-modindex.html index ce4e9d6c..c6528fe6 100644 --- a/docs/build/py-modindex.html +++ b/docs/build/py-modindex.html @@ -8,7 +8,7 @@ - Python Module Index — HyperNetX 0.3.4 documentation + Python Module Index — HyperNetX 0.3.5 documentation diff --git a/docs/build/reports/modules.html b/docs/build/reports/modules.html index f13a1467..ec4413f1 100644 --- a/docs/build/reports/modules.html +++ b/docs/build/reports/modules.html @@ -8,7 +8,7 @@ - reports — HyperNetX 0.3.4 documentation + reports — HyperNetX 0.3.5 documentation diff --git a/docs/build/reports/reports.html b/docs/build/reports/reports.html index a9c0d014..6436b5e2 100644 --- a/docs/build/reports/reports.html +++ b/docs/build/reports/reports.html @@ -8,7 +8,7 @@ - reports package — HyperNetX 0.3.4 documentation + reports package — HyperNetX 0.3.5 documentation diff --git a/docs/build/search.html b/docs/build/search.html index 90bdd44d..b330fd4e 100644 --- a/docs/build/search.html +++ b/docs/build/search.html @@ -8,7 +8,7 @@ - Search — HyperNetX 0.3.4 documentation + Search — HyperNetX 0.3.5 documentation diff --git a/docs/build/searchindex.js b/docs/build/searchindex.js index b981cdc7..976b5739 100644 --- a/docs/build/searchindex.js +++ b/docs/build/searchindex.js @@ -1 +1 @@ -Search.setIndex({docnames:["algorithms/algorithms","algorithms/modules","classes/classes","classes/modules","drawing/drawing","drawing/modules","glossary","index","install","license","overview/index","reports/modules","reports/reports"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,"sphinx.ext.intersphinx":1,"sphinx.ext.todo":2,"sphinx.ext.viewcode":1,sphinx:56},filenames:["algorithms/algorithms.rst","algorithms/modules.rst","classes/classes.rst","classes/modules.rst","drawing/drawing.rst","drawing/modules.rst","glossary.rst","index.rst","install.rst","license.rst","overview/index.rst","reports/modules.rst","reports/reports.rst"],objects:{"":{algorithms:[0,0,0,"-"],classes:[2,0,0,"-"],drawing:[4,0,0,"-"],reports:[12,0,0,"-"]},"algorithms.homology_mod2":{add_to_column:[0,1,1,""],add_to_row:[0,1,1,""],bkMatrix:[0,1,1,""],coset:[0,1,1,""],homology_basis:[0,1,1,""],hypergraph_homology_basis:[0,1,1,""],interpret:[0,1,1,""],kchainbasis:[0,1,1,""],logical_dot:[0,1,1,""],logical_matadd:[0,1,1,""],logical_matmul:[0,1,1,""],matmulreduce:[0,1,1,""],reduced_row_echelon_form_mod2:[0,1,1,""],smith_normal_form_mod2:[0,1,1,""],swap_columns:[0,1,1,""],swap_rows:[0,1,1,""]},"algorithms.s_centrality_measures":{s_betweenness_centrality:[0,1,1,""],s_eccentricity:[0,1,1,""],s_harmonic_closeness_centrality:[0,1,1,""]},"classes.entity":{Entity:[2,2,1,""],EntitySet:[2,2,1,""]},"classes.entity.Entity":{add:[2,3,1,""],add_element:[2,3,1,""],add_elements_from:[2,3,1,""],children:[2,3,1,""],clone:[2,3,1,""],complete_registry:[2,3,1,""],depth:[2,3,1,""],elements:[2,3,1,""],fullregistry:[2,3,1,""],incidence_dict:[2,3,1,""],intersection:[2,3,1,""],is_bipartite:[2,3,1,""],is_empty:[2,3,1,""],level:[2,3,1,""],levelset:[2,3,1,""],memberships:[2,3,1,""],merge_entities:[2,3,1,""],nested_incidence_dict:[2,3,1,""],properties:[2,3,1,""],registry:[2,3,1,""],remove:[2,3,1,""],remove_element:[2,3,1,""],remove_elements_from:[2,3,1,""],restrict_to:[2,3,1,""],size:[2,3,1,""],uid:[2,3,1,""],uidset:[2,3,1,""]},"classes.entity.EntitySet":{add:[2,3,1,""],clone:[2,3,1,""],collapse_identical_elements:[2,3,1,""],incidence_matrix:[2,3,1,""],restrict_to:[2,3,1,""]},"classes.hypergraph":{Hypergraph:[2,2,1,""]},"classes.hypergraph.Hypergraph":{add_edge:[2,3,1,""],add_edges_from:[2,3,1,""],add_node_to_edge:[2,3,1,""],adjacency_matrix:[2,3,1,""],auxiliary_matrix:[2,3,1,""],bipartite:[2,3,1,""],collapse_edges:[2,3,1,""],collapse_nodes:[2,3,1,""],collapse_nodes_and_edges:[2,3,1,""],component_subgraphs:[2,3,1,""],components:[2,3,1,""],connected_component_subgraphs:[2,3,1,""],connected_components:[2,3,1,""],degree:[2,3,1,""],diameter:[2,3,1,""],dim:[2,3,1,""],distance:[2,3,1,""],dual:[2,3,1,""],edge_adjacency_matrix:[2,3,1,""],edge_diameter:[2,3,1,""],edge_diameters:[2,3,1,""],edge_distance:[2,3,1,""],edges:[2,3,1,""],from_bipartite:[2,3,1,""],from_dataframe:[2,3,1,""],from_numpy_array:[2,3,1,""],incidence_dict:[2,3,1,""],incidence_matrix:[2,3,1,""],is_connected:[2,3,1,""],neighbors:[2,3,1,""],node_diameters:[2,3,1,""],nodes:[2,3,1,""],number_of_edges:[2,3,1,""],number_of_nodes:[2,3,1,""],order:[2,3,1,""],remove_edge:[2,3,1,""],remove_edges:[2,3,1,""],remove_node:[2,3,1,""],remove_nodes:[2,3,1,""],remove_singletons:[2,3,1,""],restrict_to_edges:[2,3,1,""],restrict_to_nodes:[2,3,1,""],s_component_subgraphs:[2,3,1,""],s_components:[2,3,1,""],s_connected_components:[2,3,1,""],s_degree:[2,3,1,""],shape:[2,3,1,""],singletons:[2,3,1,""],size:[2,3,1,""],toplexes:[2,3,1,""]},"drawing.rubber_band":{draw:[4,1,1,""],draw_hyper_edge_labels:[4,1,1,""],draw_hyper_edges:[4,1,1,""],draw_hyper_labels:[4,1,1,""],draw_hyper_nodes:[4,1,1,""],get_default_radius:[4,1,1,""],inflate_kwargs:[4,1,1,""],layout_hyper_edges:[4,1,1,""],layout_node_link:[4,1,1,""]},"drawing.two_column":{draw:[4,1,1,""],draw_hyper_edges:[4,1,1,""],draw_hyper_labels:[4,1,1,""],layout_two_column:[4,1,1,""]},"drawing.util":{get_frozenset_label:[4,1,1,""],get_line_graph:[4,1,1,""],get_set_layering:[4,1,1,""]},"reports.descriptive_stats":{centrality_stats:[12,1,1,""],comp_dist:[12,1,1,""],degree_dist:[12,1,1,""],dist_stats:[12,1,1,""],edge_size_dist:[12,1,1,""],frequency_distribution:[12,1,1,""],info:[12,1,1,""],info_dict:[12,1,1,""],s_comp_dist:[12,1,1,""],s_edge_diameter_dist:[12,1,1,""],s_node_diameter_dist:[12,1,1,""],toplex_dist:[12,1,1,""]},algorithms:{homology_mod2:[0,0,0,"-"],s_centrality_measures:[0,0,0,"-"]},classes:{entity:[2,0,0,"-"],hypergraph:[2,0,0,"-"]},drawing:{rubber_band:[4,0,0,"-"],two_column:[4,0,0,"-"],util:[4,0,0,"-"]},reports:{descriptive_stats:[12,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"],"2":["py","class","Python class"],"3":["py","method","Python method"]},objtypes:{"0":"py:module","1":"py:function","2":"py:class","3":"py:method"},terms:{"2x2":2,"76rl01830":10,"abstract":0,"boolean":[0,2],"case":2,"class":[6,7,10],"default":[0,2,4,12],"final":0,"float":[0,2,4],"function":[2,4],"import":2,"int":[0,2,4],"long":[2,12],"new":[0,2,4],"null":8,"return":[0,2,4,6,12],"static":2,"switch":6,"true":[0,2,4,12],AND:9,ARE:9,BUT:9,FOR:9,For:[0,2,4,6,7,8,10],NOT:9,Not:2,One:2,SUCH:9,Such:9,THE:9,The:[0,2,4,6,7,10],Then:4,These:0,USE:9,Use:6,Uses:2,Using:2,__dict__:2,abov:[4,9,12],abs:2,ac05:10,accept:[2,4],access:[6,8],account:10,accuraci:10,aco5:10,across:4,action:0,activ:[7,8,10],add:2,add_edg:2,add_edges_from:2,add_el:2,add_elements_from:2,add_node_to_edg:2,add_nodes_from:2,add_to_column:0,add_to_row:0,added:[0,2,4],adding:2,addit:[0,2],adjac:[2,6],adjacency_matrix:2,adjust:4,advis:9,after:2,against:2,agenc:10,aggreg:12,aksoi:10,algorithm:[4,7,10],align:4,all:[0,2,4,6,8,12],allow:[2,4],alpha:4,alreadi:2,also:[2,6,12],alter:0,amount:4,anaconda3:8,anaconda:7,analysi:10,analyt:10,angl:4,ani:[2,6,9,10],annot:4,anoth:[0,4,6],apparatu:10,appear:2,appli:[0,2,4],applic:2,approach:4,appropri:4,ar1:0,ar2:0,arbitrari:4,arendt:10,arg:[0,2],arg_set:2,argument:[2,4],argumetn:4,aris:9,around:4,arr:0,arrai:[0,2],asc:0,aspect:12,assign:[2,4],associ:[0,2,9],assum:[2,10],attribut:6,author:10,auxiliari:[2,6],auxiliary_matrix:2,axi:4,band:4,base:[0,2,4,6],basi:0,basic:[2,6,12],bat:8,battel:[9,10],becom:2,befor:2,behavior:0,behind:4,being:0,belong:[2,6],below:8,berg:0,best:0,betti:0,between:[0,2,4,6,7],binari:[0,9],bipartit:[2,4,6],bkmatrix:0,bool:[0,2,4],both:[2,6,7,10],bound:0,boundari:[0,4],box:4,brenda:10,briefest:0,browser:8,bsd:8,build:[2,8],build_doc:8,busi:9,c_k:0,calcul:4,call:[4,6],can:[2,4,6,7],cannot:2,cardin:2,care:2,caus:[2,9],cell:[0,2,12],center:4,central:[0,12],centrality_stat:12,certain:2,chain:0,chang:[4,7,10],check:2,child:2,children:[2,6],chmod:8,choos:2,chosen:4,circl:4,classmethod:2,claus:8,cliff:10,clone:[2,8],close:0,code:9,cokernel:0,coldict:2,collaps:[2,4],collapse_edg:2,collapse_identical_el:2,collapse_nod:2,collapse_nodes_and_edg:2,collect:4,collumn:4,color:4,column:[0,2,4,6,12],column_index:2,com:8,come:8,command:8,comment:[7,10],commerci:10,comp:12,comp_dist:12,complet:[6,10],complete_registri:2,complex:[0,2,7,10],compon:[2,4,6,12],component_subgraph:2,comput:[0,2,4,12],concentr:4,conda:8,condit:[2,6,9],conflict:2,connect:[0,2,4,6,12],connected_compon:2,connected_component_subgraph:2,consecut:2,consent:9,consequenti:9,consid:[0,2],constitut:10,construct:[2,6],constructor:[2,4],contact:[7,10],contain:[0,2,4,6,7,10,12],content:[1,3,5,11],continu:8,contract:[9,10],contributor:9,control:2,conveni:4,convert:[2,4],convex:4,cooper:10,coordin:4,copi:[0,2,9],copyright:9,correct:4,correspond:[0,2,6],coset:0,could:2,count:[2,4,12],creat:[2,8,12],cross:4,csr:2,csr_matrix:2,current:[7,10],curvi:4,custom:4,cycl:[0,2,4],cyclic:0,damag:9,data:[0,2,4,7,9,10],datafram:2,dedup:2,deeper:2,defin:2,degre:[2,6,12],degree_dist:12,delet:2,demand:[7,10],densiti:12,depart:10,depend:2,depth:[2,6],descend:2,descript:0,descriptive_stat:11,design:[7,10],desir:2,determin:[2,4],develop:[7,10],deviat:12,diagon:[0,2],diagram:4,diamet:[2,6,12],dict:[0,2,4,12],dictionari:[0,2,4,6,12],differ:2,digraph:4,dim:2,dimens:[0,2],dimension:0,direct:[2,4,9],directli:[7,10],dirti:4,disabl:4,discard:2,disclaim:9,disclos:10,disconnect:4,discov:0,disjoint:[2,6],disonnecct:4,dist:12,dist_stat:12,distanc:[2,4,6],distant:4,distinct:2,distinguish:[2,6],distribut:[9,12],dlfer:0,doc:8,document:[8,9],doe:[2,4,10],doing:2,done:2,dot:0,draw:7,draw_hyper_edg:4,draw_hyper_edge_label:4,draw_hyper_label:4,draw_hyper_nod:4,drawn:4,drop:2,dual:[2,6,7],duplic:[0,2],dustin:10,e_1:2,e_2:2,e_end:2,e_n:2,e_start:2,each:[0,2,4,6,7,12],easier:4,eccentr:0,eccentricity_dict:0,echelon:0,edg:[0,2,4,6,7,12],edge_adjac:2,edge_adjacency_matrix:2,edge_diamet:2,edge_dist:2,edge_kwarg:4,edge_label:2,edge_labels_kwarg:4,edge_nam:2,edge_set:2,edge_size_dist:12,edge_uid:2,edges_kwarg:4,edgeset:2,edgess:2,edit:8,effect:2,either:[6,7,12],element:[0,2,4,6,12],element_subset:2,els:0,emili:10,emploi:2,employe:10,empti:[2,6],end:2,endors:10,energi:10,ensur:2,ent1:2,ent2:2,entiti:[0,3,4,6,7,9],entityset:[2,6],entri:[0,6],env:8,environ:7,equal:[0,2,6,12],equat:0,equival:[0,2],error:[0,2],evalu:2,even:9,event:9,everi:[0,2,6],exactli:6,exampl:[0,2,4,8],exceed:2,except:6,exe:8,execut:8,exemplari:9,exhibit:0,exist:[2,4,6],expand:4,expect:[7,10],express:[9,10],extens:8,facecolor:4,fail:2,fals:[0,2,4,12],favor:10,featur:0,ferrario:0,figur:4,file:[8,9],fill:12,fillna:2,find:4,first:[2,4],firstlevel:2,fit:9,follow:[2,4,8,9],fork:8,form:[1,9],format:12,found:7,fraction:[0,4],frequenc:12,frequency_distribut:12,from:[0,2,4,6,8,12],from_bipartit:[2,6],from_datafram:2,from_numpy_arrai:2,frozen:2,frozenset:2,fruchterman_reingold_layout:4,full:2,fullregistri:2,further:4,gener:[0,2,4,6,7,8,10,12],get_default_radiu:4,get_frozenset_label:4,get_line_graph:4,get_set_lay:4,github:8,give:2,given:[0,2,4,6],glossari:7,going:12,good:[0,9],gotten:2,gov:[7,10],govern:10,grant:9,graph:[2,4,6,7,10],graphic:10,grate:[7,10],greater:[0,2],group:0,guarante:4,handl:4,harmon:0,has:[2,6,10],hashabl:2,have:[0,2,4,6],header:2,helper:4,henc:2,herebi:9,herein:[9,10],hereinaft:9,high:10,higher:0,hist:12,hnx:[0,2,8],holder:9,homolog:1,homology_basi:0,homology_mod2:1,honor:2,howev:9,hpda:10,html:8,http:[0,8],hull:4,hyper:[2,4,6,7],hyperedg:[2,6],hypergraph:[0,3,4,6,7,10,12],hypergraph_homology_basi:0,hypernet:10,hypernetx:[2,9,10],hypernetxerror:[0,2],i_m:0,i_n:0,ideal:0,ident:[0,2,4],identifi:[0,2],ids:[2,4],illustr:4,im2:0,imag:0,impli:[4,9,10],impos:6,incid:[2,6,12],incidence_dict:2,incidence_matrix:2,incident:9,includ:[2,9],inclus:0,inde:2,independ:4,index:[0,2,6,7,8],indic:2,indirect:9,induc:[2,6],inf:2,infin:2,infinit:6,inflate_kwarg:4,info:12,info_dict:12,inform:[10,12],infring:10,inner:0,inseper:2,instal:7,instanc:[2,6],instanti:[2,6],instead:[2,4],institut:[9,10],instruct:8,integ:[0,2,4,6,12],intend:4,intens:2,inter:2,interest:0,intermedi:0,interpret:0,interrupt:9,intersect:[0,2,4,6],intuit:6,invers:0,invert:0,investig:10,invis:4,is_bipartit:2,is_connect:2,is_empti:2,isn:2,isomorph:[2,6],item:[2,12],iter:[0,2,4,12],ith:0,iti:6,its:[0,2,4,6,10],itself:[2,6],joslyn:10,jth:0,jupyt:8,jurisdict:10,kbasi:0,kchain:0,kchainbasi:0,keep:[2,12],kei:[0,2,4,6,12],kernel:0,keyword:[2,4],km1basi:0,known:2,kth:0,kwarg:4,kyle:10,label:[2,4],label_alpha:4,laberl:4,laboratori:10,larg:2,last:2,lastlevel:2,lawfulli:9,layer:4,layout:4,layout_hyper_edg:4,layout_kwarg:4,layout_node_link:4,layout_two_column:4,least:[2,4,6],left:[0,4],legal:10,len:12,length:[0,2,4,6],less:[0,2],let:2,level:[2,4,6],levelset:[2,6],liabil:[9,10],liabl:9,librari:[7,10],licens:7,like:[2,4],limit:9,line:[2,4],linecollect:4,linewidth:4,link:2,linv:0,list:[0,2,4,9,12],llinv:0,lmr:0,locat:[4,8],log:0,logfil:0,logic:0,logical_dot:0,logical_matadd:0,logical_matmul:0,longest:2,look:0,loss:9,lower:4,mac:8,made:2,mai:[2,6,7,8,9,10],make:[2,4,10],manag:10,mani:[2,7,10,12],manual:4,manufactur:10,map:[0,4],mark:10,mat1:0,mat2:0,mat:0,match:[0,2],materi:10,mathemat:10,matmulreduc:0,matplotlib:[4,8],matric:[0,4],matrix:[0,2,6,12],max:[0,12],max_depth:2,maxim:[2,6],maximum:[2,6],mean:[0,2,12],measur:0,median:[4,12],membership:[2,4,6],memori:[9,10],merchant:9,merg:[2,9],merge_ent:2,method:[0,2,6,7,10,12],metric:[7,10],min:12,minim:[0,4,8],minimum:[0,4],minu:2,miss:4,mod2:1,mod:0,model:7,modif:9,modifi:9,modul:[1,3,5,7,11],modulo:0,monson:10,more:[2,6],most:4,multi:[2,7,10],multipl:[0,2,6],multipli:0,must:[0,2,9],mxn:0,name:[2,7,8,9,10],nation:10,ncell:12,ncol:12,ndarrai:[0,2],necessarili:10,need:[0,4,8],neglig:9,neighbor:2,neither:[9,10],nest:[2,7,10],nested_incidence_dict:2,network:[2,7,10],networkx:[2,4],netwrokx:4,newuid:2,node:[0,2,4,6,7,12],node_diamet:2,node_label:2,node_labels_kwarg:4,node_nam:2,node_radiu:4,node_set:2,nodes_kwarg:4,nodeset:2,non:6,none:[0,2,4,12],nonempti:[2,6],nonexist:2,nonzero:6,nor:10,normal:1,northwest:10,note:[0,2,6],notebook:8,noth:2,notic:[7,9],nrow:12,num:12,number:[0,2,4,6,12],number_of_edg:2,number_of_nod:2,numpi:[0,2,4],nx2:4,nxm:0,obj:12,object:[2,6,12],obtain:[0,6,9],occupi:6,occur:2,off:2,offset:4,onc:8,one:[0,2,4,6],onli:[0,2,6],open:8,oper:10,opinion:10,optim:4,option:[0,2,12],order:[0,2,4],organ:10,orient:4,origin:0,other:[0,2,4,6,7,9],otherwis:[2,6,8,9,10],out:[0,4,7,9,10],output:2,over:[0,4,6],overlap:4,overview:7,own:[6,10],pacif:10,packag:[1,3,5,7,11],page:7,pair:[2,4,6],pairwis:2,panda:2,paper:4,parallel:4,paramet:[0,2,4,12],part:[4,10],particular:[2,9],partit:[2,6],pass:[0,4],path:[0,2,4,8],perform:[2,10],permiss:9,permit:9,person:9,pickl:[0,2],pip:7,place:2,planar:4,plot:4,pnnl:[7,8,10],point:4,poli:4,polycollect:4,polygon:4,pos:4,poset:2,posit:[2,4,6,12],possibl:[4,9],post:0,powershel:8,praggasti:10,pre:4,precis:6,prefer:2,preliminari:[7,10],prepar:10,prepend:2,present:2,preserv:2,principl:10,print:[0,12],prior:2,privat:10,process:[2,10],procur:9,product:[0,10],profit:9,program:10,project:[0,10],prompt:8,prop:2,properli:6,properti:[2,6],provid:[2,4,7,9,10],ps1:8,publish:9,purpos:[0,9],purvin:10,put:12,pytest:8,python:8,question:[7,10],quick:4,quit:2,radiu:4,rais:[0,2],rang:0,rather:12,ratio:12,rauga:10,read:4,real:2,reason:[2,4],recommend:[4,10],rectangular:[0,6],recurs:0,redistribut:9,reduc:[0,4],reduced_row_echelon_form_mod2:0,refer:[2,10],referenc:[0,2],reflect:[2,10],regist:2,registri:[2,6],relat:2,relationship:[0,2,7,10],releas:8,remov:2,remove_edg:2,remove_el:2,remove_elements_from:2,remove_nod:2,remove_singleton:2,render:4,rep:2,repeatedli:0,replac:[0,2],report:7,repres:[0,2,4,7,10],represent:4,reproduc:[4,9],requir:[7,10],reserv:4,respect:[0,2],respons:10,restrict:[2,6],restrict_to:2,restrict_to_edg:2,restrict_to_nod:2,result:4,retain:9,return_count:2,revers:[0,2],right:[0,4,10],rigor:4,ring:4,role:[2,6],root:2,row:[0,2,6,12],rowdict:2,rubber:4,rubber_band:5,run:8,s_betweenness_centr:0,s_centrality_measur:1,s_comp_dist:12,s_compon:2,s_component_subgraph:2,s_components_subgraph:2,s_connect:2,s_connected_compon:2,s_degre:2,s_distanc:0,s_eccentr:0,s_edge_connect:2,s_edge_diameter_dist:12,s_harmonic_closeness_centr:0,s_node_diameter_dist:12,same:[0,2,4,6],sampl:2,satifi:2,satisfi:[2,6],scipi:2,script:8,search:7,see:[2,4,6,8,12],self:2,sell:9,sens:6,sensibl:4,separ:2,sequenc:[2,6],serv:2,servic:[9,10],set:[0,2,4,6,7,10],set_nam:2,setsystem:2,shabang:8,shall:9,shallow:2,shape:2,share:[2,6],shortest:[0,2,6],shortest_path_length:2,should:[0,2,4],side:[0,2],similar:2,simpl:[0,2,6,12],simplici:0,sinan:10,sinc:[2,6],singl:[0,2,6,12],singleton:2,size:[0,2,4,6,12],small:[0,4],smaller:4,smallest:0,smith:1,smith_normal_form_mod2:0,snf:0,softwar:[9,10],some:6,sometim:4,sortabl:[0,2],sourc:[0,2,4,8,9,12],space:4,spars:2,special:9,specif:[2,6,10],specifi:[4,8],spectral:4,sponsor:10,spring_layout:4,squar:6,stack:4,standard:12,start:[0,2,4,12],stat:12,state:10,statist:12,store:0,str:[0,2],strict:9,string:[2,4,12],structur:[2,6,7,10],style:4,subgraph:[0,2],subhypergraph:6,subject:9,sublicens:9,submatrix:6,submodul:[1,3,5,11],subset:[2,4,6],substitut:9,success:6,suggest:[7,10],sum:0,summari:12,suppli:4,support:10,sure:2,surround:4,swap:0,swap_column:0,swap_row:0,system:[2,4,7,10],take:[2,4],target:2,techniqu:4,test:[7,8,10],text:4,textbook:4,than:[0,2,6,9,12],thei:[2,4],them:[6,7,8,12],theori:9,therefor:2,thereof:10,thi:[0,2,4,6,8,9,10,12],those:10,through:[0,4],thrown:2,time:2,togeth:[0,4],toplex:[0,2,6,12],toplex_dist:12,topolog:0,tort:9,track:[0,2,12],trade:10,trademark:10,tradit:[7,10],transform:[0,2],transpar:4,transpos:2,treat:2,truthi:2,tupl:[0,2],tutori:8,two:[0,2,4,6],two_column:5,type:[0,2,4,12],typic:4,uid:[0,2,6,12],uidset:[2,6],under:[8,10],undesir:2,uniqu:[2,6,12],unit:10,unpack:2,unweight:[2,6],updat:2,use:[2,4,8,9,10],use_rep:2,used:[0,2,4,6,9],usefulness:10,user:[2,8],uses:[2,7,10],using:[0,2,4,6,7],usual:4,util:5,v_1:2,v_2:2,v_end:2,v_n:2,v_start:2,valu:[0,2,4,6,12],variou:12,vector:0,veri:0,verifi:0,version:[7,8,10],vertex:4,vertic:[2,4],view:10,virtual:8,virtualenv:7,visual:10,wai:[2,4,7,9,10],walk:[2,6],want:0,warn:0,warranti:[9,10],weight:[2,6],well:4,whatsoev:9,when:2,where:[0,2,4,6],whether:9,which:[0,2,4,6,12],whitespac:4,whole:8,whose:[4,6],window:8,wish:8,with_color:4,with_edge_count:4,with_edge_label:4,with_node_count:4,with_node_label:4,within:[2,4,12],without:9,work:[0,4,7,10],would:[2,7,10],wrap:4,written:9,www:0,x_0:2,x_1:2,xor:0,xyz:0,yet:2,you:[4,7,8,10],your:8,z_2:0,zero:2},titles:["algorithms package","algorithms","classes package","classes","drawing package","drawing","Glossary of HNX terms","HyperNetX (HNX)","Installing HyperNetX","License","Overview","reports","reports package"],titleterms:{"class":[2,3],algorithm:[0,1],anaconda:8,content:[0,2,4,7,12],descript:7,descriptive_stat:12,draw:[4,5],entiti:2,environ:8,form:0,glossari:6,hnx:[6,7],homolog:0,homology_mod2:0,hypergraph:2,hypernetx:[7,8],indic:7,instal:8,licens:[8,9],mod2:0,modul:[0,2,4,12],normal:0,notic:10,overview:10,packag:[0,2,4,12],pip:8,report:[11,12],rubber_band:4,s_centrality_measur:0,smith:0,submodul:[0,2,4,12],tabl:7,term:6,two_column:4,using:8,util:4,virtualenv:8}}) \ No newline at end of file +Search.setIndex({docnames:["algorithms/algorithms","algorithms/modules","classes/classes","classes/modules","drawing/drawing","drawing/modules","glossary","index","install","license","overview/index","reports/modules","reports/reports"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,"sphinx.ext.intersphinx":1,"sphinx.ext.todo":2,"sphinx.ext.viewcode":1,sphinx:56},filenames:["algorithms/algorithms.rst","algorithms/modules.rst","classes/classes.rst","classes/modules.rst","drawing/drawing.rst","drawing/modules.rst","glossary.rst","index.rst","install.rst","license.rst","overview/index.rst","reports/modules.rst","reports/reports.rst"],objects:{"":{algorithms:[0,0,0,"-"],classes:[2,0,0,"-"],drawing:[4,0,0,"-"],reports:[12,0,0,"-"]},"algorithms.homology_mod2":{add_to_column:[0,1,1,""],add_to_row:[0,1,1,""],bkMatrix:[0,1,1,""],coset:[0,1,1,""],homology_basis:[0,1,1,""],hypergraph_homology_basis:[0,1,1,""],interpret:[0,1,1,""],kchainbasis:[0,1,1,""],logical_dot:[0,1,1,""],logical_matadd:[0,1,1,""],logical_matmul:[0,1,1,""],matmulreduce:[0,1,1,""],reduced_row_echelon_form_mod2:[0,1,1,""],smith_normal_form_mod2:[0,1,1,""],swap_columns:[0,1,1,""],swap_rows:[0,1,1,""]},"algorithms.s_centrality_measures":{s_betweenness_centrality:[0,1,1,""],s_eccentricity:[0,1,1,""],s_harmonic_closeness_centrality:[0,1,1,""]},"classes.entity":{Entity:[2,2,1,""],EntitySet:[2,2,1,""]},"classes.entity.Entity":{add:[2,3,1,""],add_element:[2,3,1,""],add_elements_from:[2,3,1,""],children:[2,3,1,""],clone:[2,3,1,""],complete_registry:[2,3,1,""],depth:[2,3,1,""],elements:[2,3,1,""],fullregistry:[2,3,1,""],incidence_dict:[2,3,1,""],intersection:[2,3,1,""],is_bipartite:[2,3,1,""],is_empty:[2,3,1,""],level:[2,3,1,""],levelset:[2,3,1,""],memberships:[2,3,1,""],merge_entities:[2,3,1,""],nested_incidence_dict:[2,3,1,""],properties:[2,3,1,""],registry:[2,3,1,""],remove:[2,3,1,""],remove_element:[2,3,1,""],remove_elements_from:[2,3,1,""],restrict_to:[2,3,1,""],size:[2,3,1,""],uid:[2,3,1,""],uidset:[2,3,1,""]},"classes.entity.EntitySet":{add:[2,3,1,""],clone:[2,3,1,""],collapse_identical_elements:[2,3,1,""],incidence_matrix:[2,3,1,""],restrict_to:[2,3,1,""]},"classes.hypergraph":{Hypergraph:[2,2,1,""]},"classes.hypergraph.Hypergraph":{add_edge:[2,3,1,""],add_edges_from:[2,3,1,""],add_node_to_edge:[2,3,1,""],adjacency_matrix:[2,3,1,""],auxiliary_matrix:[2,3,1,""],bipartite:[2,3,1,""],collapse_edges:[2,3,1,""],collapse_nodes:[2,3,1,""],collapse_nodes_and_edges:[2,3,1,""],component_subgraphs:[2,3,1,""],components:[2,3,1,""],connected_component_subgraphs:[2,3,1,""],connected_components:[2,3,1,""],degree:[2,3,1,""],diameter:[2,3,1,""],dim:[2,3,1,""],distance:[2,3,1,""],dual:[2,3,1,""],edge_adjacency_matrix:[2,3,1,""],edge_diameter:[2,3,1,""],edge_diameters:[2,3,1,""],edge_distance:[2,3,1,""],edges:[2,3,1,""],from_bipartite:[2,3,1,""],from_dataframe:[2,3,1,""],from_numpy_array:[2,3,1,""],incidence_dict:[2,3,1,""],incidence_matrix:[2,3,1,""],is_connected:[2,3,1,""],neighbors:[2,3,1,""],node_diameters:[2,3,1,""],nodes:[2,3,1,""],number_of_edges:[2,3,1,""],number_of_nodes:[2,3,1,""],order:[2,3,1,""],remove_edge:[2,3,1,""],remove_edges:[2,3,1,""],remove_node:[2,3,1,""],remove_nodes:[2,3,1,""],remove_singletons:[2,3,1,""],restrict_to_edges:[2,3,1,""],restrict_to_nodes:[2,3,1,""],s_component_subgraphs:[2,3,1,""],s_components:[2,3,1,""],s_connected_components:[2,3,1,""],s_degree:[2,3,1,""],shape:[2,3,1,""],singletons:[2,3,1,""],size:[2,3,1,""],toplexes:[2,3,1,""]},"drawing.rubber_band":{draw:[4,1,1,""],draw_hyper_edge_labels:[4,1,1,""],draw_hyper_edges:[4,1,1,""],draw_hyper_labels:[4,1,1,""],draw_hyper_nodes:[4,1,1,""],get_default_radius:[4,1,1,""],inflate_kwargs:[4,1,1,""],layout_hyper_edges:[4,1,1,""],layout_node_link:[4,1,1,""]},"drawing.two_column":{draw:[4,1,1,""],draw_hyper_edges:[4,1,1,""],draw_hyper_labels:[4,1,1,""],layout_two_column:[4,1,1,""]},"drawing.util":{get_frozenset_label:[4,1,1,""],get_line_graph:[4,1,1,""],get_set_layering:[4,1,1,""]},"reports.descriptive_stats":{centrality_stats:[12,1,1,""],comp_dist:[12,1,1,""],degree_dist:[12,1,1,""],dist_stats:[12,1,1,""],edge_size_dist:[12,1,1,""],frequency_distribution:[12,1,1,""],info:[12,1,1,""],info_dict:[12,1,1,""],s_comp_dist:[12,1,1,""],s_edge_diameter_dist:[12,1,1,""],s_node_diameter_dist:[12,1,1,""],toplex_dist:[12,1,1,""]},algorithms:{homology_mod2:[0,0,0,"-"],s_centrality_measures:[0,0,0,"-"]},classes:{entity:[2,0,0,"-"],hypergraph:[2,0,0,"-"]},drawing:{rubber_band:[4,0,0,"-"],two_column:[4,0,0,"-"],util:[4,0,0,"-"]},reports:{descriptive_stats:[12,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"],"2":["py","class","Python class"],"3":["py","method","Python method"]},objtypes:{"0":"py:module","1":"py:function","2":"py:class","3":"py:method"},terms:{"2x2":2,"76rl01830":10,"abstract":0,"boolean":[0,2],"case":2,"class":[6,7,10],"default":[0,2,4,12],"final":0,"float":[0,2,4],"function":[2,4],"import":2,"int":[0,2,4],"long":[2,12],"new":[0,2,4],"null":8,"return":[0,2,4,6,12],"static":2,"switch":6,"true":[0,2,4,12],AND:9,ARE:9,BUT:9,FOR:9,For:[0,2,4,6,7,8,10],NOT:9,Not:2,One:2,SUCH:9,Such:9,THE:9,The:[0,2,4,6,7,10],Then:4,These:0,USE:9,Use:6,Uses:2,Using:2,__dict__:2,abov:[4,9,12],abs:2,ac05:10,accept:[2,4],access:[6,8],account:10,accuraci:10,aco5:10,across:4,action:0,activ:[7,8,10],add:2,add_edg:2,add_edges_from:2,add_el:2,add_elements_from:2,add_node_to_edg:2,add_nodes_from:2,add_to_column:0,add_to_row:0,added:[0,2,4],adding:2,addit:[0,2],adjac:[2,6],adjacency_matrix:2,adjust:4,advis:9,after:2,against:2,agenc:10,aggreg:12,aksoi:10,algorithm:[4,7,10],align:4,all:[0,2,4,6,8,12],allow:[2,4],alpha:4,alreadi:2,also:[2,6,12],alter:0,amount:4,anaconda3:8,anaconda:7,analysi:10,analyt:10,angl:4,ani:[2,6,9,10],annot:4,anoth:[0,4,6],apparatu:10,appear:2,appli:[0,2,4],applic:2,approach:4,appropri:4,ar1:0,ar2:0,arbitrari:4,arendt:10,arg:[0,2],arg_set:2,argument:[2,4],argumetn:4,aris:9,around:4,arr:0,arrai:[0,2],asc:0,aspect:12,assign:[2,4],associ:[0,2,9],assum:[2,10],attribut:6,author:10,auxiliari:[2,6],auxiliary_matrix:2,axi:4,band:4,base:[0,2,4,6],basi:0,basic:[2,6,12],bat:8,battel:[9,10],becom:2,befor:2,behavior:0,behind:4,being:0,belong:[2,6],below:8,berg:0,best:0,betti:0,between:[0,2,4,6,7],binari:[0,9],bipartit:[2,4,6],bkmatrix:0,bool:[0,2,4],both:[2,6,7,10],bound:0,boundari:[0,4],box:4,brenda:10,briefest:0,browser:8,bsd:8,build:[2,8],build_doc:8,busi:9,c_k:0,calcul:4,call:[4,6],can:[2,4,6,7],cannot:2,cardin:2,care:2,caus:[2,9],cell:[0,2,12],center:4,central:[0,12],centrality_stat:12,certain:2,chain:0,chang:[4,7,10],check:2,child:2,children:[2,6],chmod:8,choos:2,chosen:4,circl:4,classmethod:2,claus:8,cliff:10,clone:[2,8],close:0,code:9,cokernel:0,coldict:2,collaps:[2,4],collapse_edg:2,collapse_identical_el:2,collapse_nod:2,collapse_nodes_and_edg:2,collect:4,collumn:4,color:4,column:[0,2,4,6,12],column_index:2,com:8,come:8,command:8,comment:[7,10],commerci:10,comp:12,comp_dist:12,complet:[6,10],complete_registri:2,complex:[0,2,7,10],compon:[2,4,6,12],component_subgraph:2,comput:[0,2,4,12],concentr:4,conda:8,condit:[2,6,9],conflict:2,connect:[0,2,4,6,12],connected_compon:2,connected_component_subgraph:2,consecut:2,consent:9,consequenti:9,consid:[0,2],constitut:10,construct:[2,6],constructor:[2,4],contact:[7,10],contain:[0,2,4,6,7,10,12],content:[1,3,5,11],continu:8,contract:[9,10],contributor:9,control:2,conveni:4,convert:[2,4],convex:4,cooper:10,coordin:4,copi:[0,2,9],copyright:9,correct:4,correspond:[0,2,6],coset:0,could:2,count:[2,4,12],creat:[2,8,12],cross:4,csr:2,csr_matrix:2,current:[7,10],curvi:4,custom:4,cycl:[0,2,4],cyclic:0,damag:9,data:[0,2,4,7,9,10],datafram:2,dedup:2,deeper:2,defin:2,degre:[2,6,12],degree_dist:12,delet:2,demand:[7,10],densiti:12,depart:10,depend:2,depth:[2,6],descend:2,descript:0,descriptive_stat:11,design:[7,10],desir:2,determin:[2,4],develop:[7,10],deviat:12,diagon:[0,2],diagram:4,diamet:[2,6,12],dict:[0,2,4,12],dictionari:[0,2,4,6,12],differ:2,digraph:4,dim:2,dimens:[0,2],dimension:0,direct:[2,4,9],directli:[7,10],dirti:4,disabl:4,discard:2,disclaim:9,disclos:10,disconnect:4,discov:0,disjoint:[2,6],disonnecct:4,dist:12,dist_stat:12,distanc:[2,4,6],distant:4,distinct:2,distinguish:[2,6],distribut:[9,12],dlfer:0,doc:8,document:[8,9],doe:[2,4,10],doing:2,done:2,dot:0,draw:7,draw_hyper_edg:4,draw_hyper_edge_label:4,draw_hyper_label:4,draw_hyper_nod:4,drawn:4,drop:2,dual:[2,6,7],duplic:[0,2],dustin:10,e_1:2,e_2:2,e_end:2,e_n:2,e_start:2,each:[0,2,4,6,7,12],easier:4,eccentr:0,eccentricity_dict:0,echelon:0,edg:[0,2,4,6,7,12],edge_adjac:2,edge_adjacency_matrix:2,edge_diamet:2,edge_dist:2,edge_kwarg:4,edge_label:2,edge_labels_kwarg:4,edge_nam:2,edge_set:2,edge_size_dist:12,edge_uid:2,edges_kwarg:4,edgeset:2,edgess:2,edit:8,effect:2,either:[6,7,12],element:[0,2,4,6,12],element_subset:2,els:0,emili:10,emploi:2,employe:10,empti:[2,6],end:2,endors:10,energi:10,ensur:2,ent1:2,ent2:2,entiti:[0,3,4,6,7,9],entityset:[2,6],entri:[0,6],env:8,environ:7,equal:[0,2,6,12],equat:0,equival:[0,2],error:[0,2],evalu:2,even:9,event:9,everi:[0,2,6],exactli:6,exampl:[0,2,4,8],exceed:2,except:6,exe:8,execut:8,exemplari:9,exhibit:0,exist:[2,4,6],expand:4,expect:[7,10],express:[9,10],extens:8,facecolor:4,fail:2,fals:[0,2,4,12],favor:10,featur:0,ferrario:0,figur:4,file:[8,9],fill:12,fillna:2,find:4,first:[2,4],firstlevel:2,fit:9,follow:[2,4,8,9],fork:8,form:[1,9],format:12,found:7,fraction:[0,4],frequenc:12,frequency_distribut:12,from:[0,2,4,6,8,12],from_bipartit:[2,6],from_datafram:2,from_numpy_arrai:2,frozen:2,frozenset:2,fruchterman_reingold_layout:4,full:2,fullregistri:2,further:4,gener:[0,2,4,6,7,8,10,12],get_default_radiu:4,get_frozenset_label:4,get_line_graph:4,get_set_lay:4,github:8,give:2,given:[0,2,4,6],glossari:7,going:12,good:[0,9],gotten:2,gov:[7,10],govern:10,grant:9,graph:[2,4,6,7,10],graphic:10,grate:[7,10],greater:[0,2],group:0,guarante:4,handl:4,harmon:0,has:[2,6,10],hashabl:2,have:[0,2,4,6],header:2,helper:4,henc:2,herebi:9,herein:[9,10],hereinaft:9,high:10,higher:0,hist:12,hnx:[0,2,8],holder:9,homolog:1,homology_basi:0,homology_mod2:1,honor:2,howev:9,hpda:10,html:8,http:[0,8],hull:4,hyper:[2,4,6,7],hyperedg:[2,6],hypergraph:[0,3,4,6,7,10,12],hypergraph_homology_basi:0,hypernet:10,hypernetx:[2,9,10],hypernetxerror:[0,2],i_m:0,i_n:0,ideal:0,ident:[0,2,4],identifi:[0,2],ids:[2,4],illustr:4,im2:0,imag:0,impli:[4,9,10],impos:6,incid:[2,6,12],incidence_dict:2,incidence_matrix:2,incident:9,includ:[2,9],inclus:0,inde:2,independ:4,index:[0,2,6,7,8],indic:2,indirect:9,induc:[2,6],inf:2,infin:2,infinit:6,inflate_kwarg:4,info:12,info_dict:12,inform:[10,12],infring:10,inner:0,inseper:2,instal:7,instanc:[2,6],instanti:[2,6],instead:[2,4],institut:[9,10],instruct:8,integ:[0,2,4,6,12],intend:4,intens:2,inter:2,interest:0,intermedi:0,interpret:0,interrupt:9,intersect:[0,2,4,6],intuit:6,invers:0,invert:0,investig:10,invis:4,is_bipartit:2,is_connect:2,is_empti:2,isn:2,isomorph:[2,6],item:[2,12],iter:[0,2,4,12],ith:0,iti:6,its:[0,2,4,6,10],itself:[2,6],joslyn:10,jth:0,jupyt:8,jurisdict:10,kbasi:0,kchain:0,kchainbasi:0,keep:[2,12],kei:[0,2,4,6,12],kernel:0,keyword:[2,4],km1basi:0,known:2,kth:0,kwarg:4,kyle:10,label:[2,4],label_alpha:4,laberl:4,laboratori:10,larg:2,last:2,lastlevel:2,lawfulli:9,layer:4,layout:4,layout_hyper_edg:4,layout_kwarg:4,layout_node_link:4,layout_two_column:4,least:[2,4,6],left:[0,4],legal:10,len:12,length:[0,2,4,6],less:[0,2],let:2,level:[2,4,6],levelset:[2,6],liabil:[9,10],liabl:9,librari:[7,10],licens:7,like:[2,4],limit:9,line:[2,4],linecollect:4,linewidth:4,link:2,linv:0,list:[0,2,4,9,12],llinv:0,lmr:0,locat:[4,8],log:0,logfil:0,logic:0,logical_dot:0,logical_matadd:0,logical_matmul:0,longest:2,look:0,loss:9,lower:4,mac:8,made:2,mai:[2,6,7,8,9,10],make:[2,4,10],manag:10,mani:[2,7,10,12],manual:4,manufactur:10,map:[0,4],mark:10,mat1:0,mat2:0,mat:0,match:[0,2],materi:10,mathemat:10,matmulreduc:0,matplotlib:[4,8],matric:[0,4],matrix:[0,2,6,12],max:[0,12],max_depth:2,maxim:[2,6],maximum:[2,6],mean:[0,2,12],measur:0,median:[4,12],membership:[2,4,6],memori:[9,10],merchant:9,merg:[2,9],merge_ent:2,method:[0,2,6,7,10,12],metric:[7,10],min:12,minim:[0,4,8],minimum:[0,4],minu:2,miss:4,mod2:1,mod:0,model:7,modif:9,modifi:9,modul:[1,3,5,7,11],modulo:0,monson:10,more:[2,6],most:4,multi:[2,7,10],multipl:[0,2,6],multipli:0,must:[0,2,9],mxn:0,name:[2,7,8,9,10],nation:10,ncell:12,ncol:12,ndarrai:[0,2],necessarili:10,need:[0,4,8],neglig:9,neighbor:2,neither:[9,10],nest:[2,7,10],nested_incidence_dict:2,network:[2,7,10],networkx:[2,4],netwrokx:4,newuid:2,node:[0,2,4,6,7,12],node_diamet:2,node_label:2,node_labels_kwarg:4,node_nam:2,node_radiu:4,node_set:2,nodes_kwarg:4,nodeset:2,non:6,none:[0,2,4,12],nonempti:[2,6],nonexist:2,nonzero:6,nor:10,normal:1,northwest:10,note:[0,2,6],notebook:8,noth:2,notic:[7,9],nrow:12,num:12,number:[0,2,4,6,12],number_of_edg:2,number_of_nod:2,numpi:[0,2,4],nx2:4,nxm:0,obj:12,object:[2,6,12],obtain:[0,6,9],occupi:6,occur:2,off:2,offset:4,onc:8,one:[0,2,4,6],onli:[0,2,6],open:8,oper:10,opinion:10,optim:4,option:[0,2,12],order:[0,2,4],organ:10,orient:4,origin:0,other:[0,2,4,6,7,9],otherwis:[2,6,8,9,10],out:[0,4,7,9,10],output:2,over:[0,4,6],overlap:4,overview:7,own:[6,10],pacif:10,packag:[1,3,5,7,11],page:7,pair:[2,4,6],pairwis:2,panda:2,paper:4,parallel:4,paramet:[0,2,4,12],part:[4,10],particular:[2,9],partit:[2,6],pass:[0,4],path:[0,2,4,8],perform:[2,10],permiss:9,permit:9,person:9,pickl:[0,2],pip:7,place:2,planar:4,plot:4,pnnl:[7,8,10],point:[0,4],poli:4,polycollect:4,polygon:4,pos:4,poset:2,posit:[2,4,6,12],possibl:[4,9],post:0,powershel:8,praggasti:10,pre:4,precis:6,prefer:2,preliminari:[7,10],prepar:10,prepend:2,present:2,preserv:2,principl:10,print:[0,12],prior:2,privat:10,process:[2,10],procur:9,product:[0,10],profit:9,program:10,project:[0,10],prompt:8,prop:2,properli:6,properti:[2,6],provid:[2,4,7,9,10],ps1:8,publish:9,purpos:[0,9],purvin:10,put:12,pytest:8,python:8,question:[7,10],quick:4,quit:2,radiu:4,rais:[0,2],rang:0,rather:12,ratio:12,rauga:10,read:4,real:2,reason:[2,4],recommend:[4,10],rectangular:[0,6],recurs:0,redistribut:9,reduc:[0,4],reduced_row_echelon_form_mod2:0,refer:[2,10],referenc:[0,2],reflect:[2,10],regist:2,registri:[2,6],relat:2,relationship:[0,2,7,10],releas:8,remov:2,remove_edg:2,remove_el:2,remove_elements_from:2,remove_nod:2,remove_singleton:2,render:4,rep:2,repeatedli:0,replac:[0,2],report:7,repres:[0,2,4,7,10],represent:4,reproduc:[4,9],requir:[7,10],reserv:4,respect:[0,2],respons:10,restrict:[2,6],restrict_to:2,restrict_to_edg:2,restrict_to_nod:2,result:4,retain:9,return_count:2,revers:[0,2],right:[0,4,10],rigor:4,ring:4,role:[2,6],root:2,row:[0,2,6,12],rowdict:2,rubber:4,rubber_band:5,run:8,s_betweenness_centr:0,s_centrality_measur:1,s_comp_dist:12,s_compon:2,s_component_subgraph:2,s_components_subgraph:2,s_connect:2,s_connected_compon:2,s_degre:2,s_distanc:0,s_eccentr:0,s_edge_connect:2,s_edge_diameter_dist:12,s_harmonic_closeness_centr:0,s_node_diameter_dist:12,same:[0,2,4,6],sampl:2,satifi:2,satisfi:[2,6],scipi:2,script:8,search:7,see:[2,4,6,8,12],self:2,sell:9,sens:6,sensibl:4,separ:2,sequenc:[2,6],serv:2,servic:[9,10],set:[0,2,4,6,7,10],set_nam:2,setsystem:2,shabang:8,shall:9,shallow:2,shape:2,share:[2,6],shortest:[0,2,6],shortest_path_length:2,should:[0,2,4],side:[0,2],similar:2,simpl:[0,2,6,12],simplici:0,sinan:10,sinc:[2,6],singl:[0,2,6,12],singleton:2,size:[0,2,4,6,12],small:[0,4],smaller:4,smallest:0,smith:1,smith_normal_form_mod2:0,snf:0,softwar:[9,10],some:6,sometim:4,sortabl:[0,2],sourc:[0,2,4,8,9,12],space:4,spars:2,special:9,specif:[2,6,10],specifi:[4,8],spectral:4,sponsor:10,spring_layout:4,squar:6,stack:4,standard:12,start:[0,2,4,12],stat:12,state:10,statist:12,store:0,str:[0,2],strict:9,string:[2,4,12],structur:[2,6,7,10],style:4,subgraph:[0,2],subhypergraph:6,subject:9,sublicens:9,submatrix:6,submodul:[1,3,5,11],subset:[2,4,6],substitut:9,success:6,suggest:[7,10],sum:0,summari:12,suppli:4,support:10,sure:2,surround:4,swap:0,swap_column:0,swap_row:0,system:[2,4,7,10],take:[2,4],target:2,techniqu:4,test:[7,8,10],text:4,textbook:4,than:[0,2,6,9,12],thei:[2,4],them:[6,7,8,12],theori:9,therefor:2,thereof:10,thi:[0,2,4,6,8,9,10,12],those:10,through:[0,4],thrown:2,time:2,togeth:[0,4],toplex:[0,2,6,12],toplex_dist:12,topolog:0,tort:9,track:[0,2,12],trade:10,trademark:10,tradit:[7,10],transform:[0,2],transpar:4,transpos:2,treat:2,truthi:2,tupl:[0,2],tutori:8,two:[0,2,4,6],two_column:5,type:[0,2,4,12],typic:4,uid:[0,2,6,12],uidset:[2,6],under:[8,10],undesir:2,uniqu:[2,6,12],unit:10,unpack:2,unweight:[2,6],updat:2,use:[2,4,8,9,10],use_rep:2,used:[0,2,4,6,9],usefulness:10,user:[2,8],uses:[2,7,10],using:[0,2,4,6,7],usual:4,util:5,v_1:2,v_2:2,v_end:2,v_n:2,v_start:2,valu:[0,2,4,6,12],variou:12,vector:0,veri:0,verifi:0,version:[7,8,10],vertex:4,vertic:[2,4],view:10,virtual:8,virtualenv:7,visual:10,wai:[2,4,7,9,10],walk:[2,6],want:0,warn:0,warranti:[9,10],weight:[2,6],well:4,whatsoev:9,when:2,where:[0,2,4,6],whether:9,which:[0,2,4,6,12],whitespac:4,whole:8,whose:[4,6],window:8,wish:8,with_color:4,with_edge_count:4,with_edge_label:4,with_node_count:4,with_node_label:4,within:[2,4,12],without:9,work:[0,4,7,10],would:[2,7,10],wrap:4,written:9,www:0,x_0:2,x_1:2,xor:0,xyz:0,yet:2,you:[4,7,8,10],your:8,z_2:0,zero:2},titles:["algorithms package","algorithms","classes package","classes","drawing package","drawing","Glossary of HNX terms","HyperNetX (HNX)","Installing HyperNetX","License","Overview","reports","reports package"],titleterms:{"class":[2,3],algorithm:[0,1],anaconda:8,content:[0,2,4,7,12],descript:7,descriptive_stat:12,draw:[4,5],entiti:2,environ:8,form:0,glossari:6,hnx:[6,7],homolog:0,homology_mod2:0,hypergraph:2,hypernetx:[7,8],indic:7,instal:8,licens:[8,9],mod2:0,modul:[0,2,4,12],normal:0,notic:10,overview:10,packag:[0,2,4,12],pip:8,report:[11,12],rubber_band:4,s_centrality_measur:0,smith:0,submodul:[0,2,4,12],tabl:7,term:6,two_column:4,using:8,util:4,virtualenv:8}}) \ No newline at end of file diff --git a/hypernetx/algorithms/s_centrality_measures.py b/hypernetx/algorithms/s_centrality_measures.py index fd3d5ec6..84f7d0b2 100644 --- a/hypernetx/algorithms/s_centrality_measures.py +++ b/hypernetx/algorithms/s_centrality_measures.py @@ -32,10 +32,12 @@ def s_betweenness_centrality(H, s=1, normalized=True): A dictionary of s-betweenness centrality value of the edges. ''' + # Confirm there is at least 1 s edge for which we can compute the centrality # Find all s-edges #M,rdict,_ = H.incidence_matrix(index=True) #A = M.transpose().dot(M) + A, coldict = H.edge_adjacency_matrix(s=s, index=True) A.setdiag(0) A = (A >= s) * 1 @@ -66,8 +68,10 @@ def s_harmonic_closeness_centrality(H, edge=None, s=1): If edge then a single value is returned. ''' + # Confirm there is at least 1 s edge for which we can compute the centrality # Find all s-edges + if edge and len(H.edges[edge]) < s: return 0 @@ -89,6 +93,7 @@ def temp(e, f): # confirm there are at least 2 s-edges # we follow the NX convention that the s-closeness centrality of a single edge Hypergraph is 0 + output = {} if not bool(Es) or len(Es) == 1: output = {e: 0 for e in edges} @@ -123,6 +128,7 @@ def s_eccentricity(H, f=None, s=1): returns the s-eccentricity value of the edges, a floating point number If edge=None a dictionary of values for each s-edge in H is returned. If edge then a single value is returned. + ''' if f: if isinstance(f, Entity): From 672abb0bc9bdaaa9cc84b3f02fbd21c719901ee7 Mon Sep 17 00:00:00 2001 From: Brenda Praggastis Date: Tue, 8 Sep 2020 14:08:05 -0700 Subject: [PATCH 3/3] updating docs --- .../.doctrees/algorithms/algorithms.doctree | Bin 125156 -> 127875 bytes docs/build/.doctrees/environment.pickle | Bin 208485 -> 209621 bytes .../algorithms/s_centrality_measures.html | 17 ++++++++++++++++- docs/build/algorithms/algorithms.html | 16 +++++++++++++++- docs/build/algorithms/modules.html | 5 ++++- docs/build/searchindex.js | 2 +- hypernetx/algorithms/s_centrality_measures.py | 17 ++++++++++++++++- 7 files changed, 52 insertions(+), 5 deletions(-) diff --git a/docs/build/.doctrees/algorithms/algorithms.doctree b/docs/build/.doctrees/algorithms/algorithms.doctree index 3d23841ad24a38f15f2882653da8b2e945751a7f..8c35281041a1aa25e53d579f943979369db26658 100644 GIT binary patch delta 6543 zcmcIodvH|M8P9hKVQ(G~8UjiJxeJ)xY&M%j0*ykjJT%dmsDsZamd)-ZcdubL?rwlk z>iQU`*sc`3D@UDT4B`VV1z+9z7^;#MDy1z`YXypbS_!9V(a=iIx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_fM<+Q{^Y8lf5t~wvG3V6W*zVMEJ2fD2~Gy#^61b@oMotmTuGC8#=0& ou#ZzBi(*@N%4fSIQq7*2MA$h_CFi;&;!M>k5f=rjxPrU>3tJ&0iU0rr diff --git a/docs/build/.doctrees/environment.pickle b/docs/build/.doctrees/environment.pickle index c7fca4ddb50c611f85084cd4bf169204f124a021..ce4425f6201401c8873fe2e9a1879ac27e93a537 100644 GIT binary patch delta 14341 zcmbVT33yahmgc@JWO+%b>}0Kwkd0JjVM`z^0R*)y0c{Wzh(%H)^{Av`RRs(*L}Y9T zlw>&t57`89MV0^x0%29aurwg;0tiCe?R57@BepYb_p~zS+*eh3Nu2MSZ}KH~`OmrM zoO|wm-_0Mt6hHl=81RDs+W*em8=xBi4FfWsim0@k7Fuen@@s6B^;WaP?FzRoFxwYc z%nS1^wUy@Q-LAftT8GnQwYptFRaTqBVX`;4T`?wWmCbH(R@XT4yOM5Kgxy?cvpb<< zKr-wb5HldaBgCi2qYuSeEfwZkhj~9se^+QcEA;6zsqFJl|FzvU`+MnJSMK)1Ql~H1 z{zHp&(wEzNYrS;Ampik3zVu;N?gyiE#+Uo}i^rw&zFcR+H_~Ze?p$<$ba7Z$cG-RD zBVX=(-an*|yK*(lrBlA#mAf0jlsPh(OmB8)y9UFvS&8uH%mkLnQztURpd%|4%CmHk zmNhE4g;xYQp*bg8aHT$Ps*&7*P@5ee;#_De zudrF`Yigl2yBLhwv4ZPSxRad@WjT|v#3-oA&h~4OF2doQB=!+}o|D>_Z0)WuP|*i( z=MLhwCFkaoHuz_5Qt(AjJ+fP;roq@j26lG8YtRw~kL0IAo~|D5V!Xi^1J`s@*ac`W z8~|Zclfj~&0VPElQ2IRg0O_Vwhdk04ip_)niDNijcoum}Cs&t7`-F!*YMiEZI3(#td0 zMxToH0nj>h13T&=aksO>UNSq#Q&>IWy#OejHVtl1Dr0wi%!?k*Ww(6HH@Y)VhZi4t zm<7PHCniC9xdzf7)iVKeO7$OfXPyR^W(;LHKIYjoL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%9s9vaH-=o z$D-FYyOz*Xo4Dmw+obr;prVwFO&s1PrE7*KHc36T(zly%`nRh|+xdtM*)GM$bPJGc zby90M>FCPs($c{=*a7z?db_6G=QE(>KA+u+Cat*7r`R4XyMSOGpH#hA=_q<0d(dYN z?LjXc!%FWXR)_y>xpCUjt54rYpRTESUr5oI9sUPK?wV>ssRvi*-j|}rQ^^r*sh(45 zsx=$uEi~EYVstnfR%u#nt*bRw(DLQ}IfrXPT^d@=jFpz^d06A<-7lo+(b~=`&@fP4 zi`F%%(D1x^{k{~PNgXh}Xn4J=`-a~b&OhP2=yD=&QRiy0cA*uw6|`;CoUC(%LH_jc zqd)&c+U%dk8}Kvqq4jF6xt3fr8@1bXZAnZqjK)VURPu@l|bVP0|3S|pyV zc1;bEyfA!6Qzfryv^Kn&=S8btOP&{v-N$)eF)`ef!SE6`>tANAsxi{3l(tXbp*D_d zm-78upmtRD=zHaR(Qal0X4#z9!PoR2I2`zbcXR4%1ztTPv|3%dd{I4E;Fb12#c1wa diff --git a/docs/build/_modules/algorithms/s_centrality_measures.html b/docs/build/_modules/algorithms/s_centrality_measures.html index 27c3ef2f..153730f6 100644 --- a/docs/build/_modules/algorithms/s_centrality_measures.html +++ b/docs/build/_modules/algorithms/s_centrality_measures.html @@ -161,7 +161,22 @@

Source code for algorithms.s_centrality_measures

 # Copyright © 2018 Battelle Memorial Institute
 # All rights reserved.
-# This module developed for PNNL's hyperbio LDRD project summer 2019
+
+"""
+
+S-Centrality Measures
+=====================
+We generalize graph metrics to s-metrics for a hypergraph by using its s-connected
+components. This is accomplished by computing the s edge-adjacency matrix and
+constructing the corresponding graph of the matrix. We then use existing graph metrics
+on this representation of the hypergraph. In essence we construct an *s*-line graph
+corresponding to the hypergraph on which to apply our methods.
+
+S-Metrics for hypergraphs are discussed in depth in:        
+*Aksoy, S.G., Joslyn, C., Ortiz Marrero, C. et al. Hypernetwork science via high-order hypergraph walks.
+EPJ Data Sci. 9, 16 (2020). https://doi.org/10.1140/epjds/s13688-020-00231-0*
+
+"""
 
 import numpy as np
 from collections import defaultdict
diff --git a/docs/build/algorithms/algorithms.html b/docs/build/algorithms/algorithms.html
index 51d97608..228bd9e3 100644
--- a/docs/build/algorithms/algorithms.html
+++ b/docs/build/algorithms/algorithms.html
@@ -101,7 +101,10 @@
 
  • Homology and Smith Normal Form
  • -
  • algorithms.s_centrality_measures module
  • +
  • algorithms.s_centrality_measures module +
  • Module contents
  • @@ -599,6 +602,16 @@

    Homology Mod2

    algorithms.s_centrality_measures module

    +
    +

    S-Centrality Measures

    +

    We generalize graph metrics to s-metrics for a hypergraph by using its s-connected +components. This is accomplished by computing the s edge-adjacency matrix and +constructing the corresponding graph of the matrix. We then use existing graph metrics +on this representation of the hypergraph. In essence we construct an s-line graph +corresponding to the hypergraph on which to apply our methods.

    +

    S-Metrics for hypergraphs are discussed in depth in: +Aksoy, S.G., Joslyn, C., Ortiz Marrero, C. et al. Hypernetwork science via high-order hypergraph walks. +EPJ Data Sci. 9, 16 (2020). https://doi.org/10.1140/epjds/s13688-020-00231-0

    algorithms.s_centrality_measures.s_betweenness_centrality(H, s=1, normalized=True)[source]
    @@ -672,6 +685,7 @@

    Homology Mod2

    Module contents

    diff --git a/docs/build/algorithms/modules.html b/docs/build/algorithms/modules.html index 52eb3a45..e96b072a 100644 --- a/docs/build/algorithms/modules.html +++ b/docs/build/algorithms/modules.html @@ -178,7 +178,10 @@

    algorithmsalgorithms.s_centrality_measures module +
  • algorithms.s_centrality_measures module +
  • Module contents
  • diff --git a/docs/build/searchindex.js b/docs/build/searchindex.js index 976b5739..c4f8af3b 100644 --- a/docs/build/searchindex.js +++ b/docs/build/searchindex.js @@ -1 +1 @@ -Search.setIndex({docnames:["algorithms/algorithms","algorithms/modules","classes/classes","classes/modules","drawing/drawing","drawing/modules","glossary","index","install","license","overview/index","reports/modules","reports/reports"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,"sphinx.ext.intersphinx":1,"sphinx.ext.todo":2,"sphinx.ext.viewcode":1,sphinx:56},filenames:["algorithms/algorithms.rst","algorithms/modules.rst","classes/classes.rst","classes/modules.rst","drawing/drawing.rst","drawing/modules.rst","glossary.rst","index.rst","install.rst","license.rst","overview/index.rst","reports/modules.rst","reports/reports.rst"],objects:{"":{algorithms:[0,0,0,"-"],classes:[2,0,0,"-"],drawing:[4,0,0,"-"],reports:[12,0,0,"-"]},"algorithms.homology_mod2":{add_to_column:[0,1,1,""],add_to_row:[0,1,1,""],bkMatrix:[0,1,1,""],coset:[0,1,1,""],homology_basis:[0,1,1,""],hypergraph_homology_basis:[0,1,1,""],interpret:[0,1,1,""],kchainbasis:[0,1,1,""],logical_dot:[0,1,1,""],logical_matadd:[0,1,1,""],logical_matmul:[0,1,1,""],matmulreduce:[0,1,1,""],reduced_row_echelon_form_mod2:[0,1,1,""],smith_normal_form_mod2:[0,1,1,""],swap_columns:[0,1,1,""],swap_rows:[0,1,1,""]},"algorithms.s_centrality_measures":{s_betweenness_centrality:[0,1,1,""],s_eccentricity:[0,1,1,""],s_harmonic_closeness_centrality:[0,1,1,""]},"classes.entity":{Entity:[2,2,1,""],EntitySet:[2,2,1,""]},"classes.entity.Entity":{add:[2,3,1,""],add_element:[2,3,1,""],add_elements_from:[2,3,1,""],children:[2,3,1,""],clone:[2,3,1,""],complete_registry:[2,3,1,""],depth:[2,3,1,""],elements:[2,3,1,""],fullregistry:[2,3,1,""],incidence_dict:[2,3,1,""],intersection:[2,3,1,""],is_bipartite:[2,3,1,""],is_empty:[2,3,1,""],level:[2,3,1,""],levelset:[2,3,1,""],memberships:[2,3,1,""],merge_entities:[2,3,1,""],nested_incidence_dict:[2,3,1,""],properties:[2,3,1,""],registry:[2,3,1,""],remove:[2,3,1,""],remove_element:[2,3,1,""],remove_elements_from:[2,3,1,""],restrict_to:[2,3,1,""],size:[2,3,1,""],uid:[2,3,1,""],uidset:[2,3,1,""]},"classes.entity.EntitySet":{add:[2,3,1,""],clone:[2,3,1,""],collapse_identical_elements:[2,3,1,""],incidence_matrix:[2,3,1,""],restrict_to:[2,3,1,""]},"classes.hypergraph":{Hypergraph:[2,2,1,""]},"classes.hypergraph.Hypergraph":{add_edge:[2,3,1,""],add_edges_from:[2,3,1,""],add_node_to_edge:[2,3,1,""],adjacency_matrix:[2,3,1,""],auxiliary_matrix:[2,3,1,""],bipartite:[2,3,1,""],collapse_edges:[2,3,1,""],collapse_nodes:[2,3,1,""],collapse_nodes_and_edges:[2,3,1,""],component_subgraphs:[2,3,1,""],components:[2,3,1,""],connected_component_subgraphs:[2,3,1,""],connected_components:[2,3,1,""],degree:[2,3,1,""],diameter:[2,3,1,""],dim:[2,3,1,""],distance:[2,3,1,""],dual:[2,3,1,""],edge_adjacency_matrix:[2,3,1,""],edge_diameter:[2,3,1,""],edge_diameters:[2,3,1,""],edge_distance:[2,3,1,""],edges:[2,3,1,""],from_bipartite:[2,3,1,""],from_dataframe:[2,3,1,""],from_numpy_array:[2,3,1,""],incidence_dict:[2,3,1,""],incidence_matrix:[2,3,1,""],is_connected:[2,3,1,""],neighbors:[2,3,1,""],node_diameters:[2,3,1,""],nodes:[2,3,1,""],number_of_edges:[2,3,1,""],number_of_nodes:[2,3,1,""],order:[2,3,1,""],remove_edge:[2,3,1,""],remove_edges:[2,3,1,""],remove_node:[2,3,1,""],remove_nodes:[2,3,1,""],remove_singletons:[2,3,1,""],restrict_to_edges:[2,3,1,""],restrict_to_nodes:[2,3,1,""],s_component_subgraphs:[2,3,1,""],s_components:[2,3,1,""],s_connected_components:[2,3,1,""],s_degree:[2,3,1,""],shape:[2,3,1,""],singletons:[2,3,1,""],size:[2,3,1,""],toplexes:[2,3,1,""]},"drawing.rubber_band":{draw:[4,1,1,""],draw_hyper_edge_labels:[4,1,1,""],draw_hyper_edges:[4,1,1,""],draw_hyper_labels:[4,1,1,""],draw_hyper_nodes:[4,1,1,""],get_default_radius:[4,1,1,""],inflate_kwargs:[4,1,1,""],layout_hyper_edges:[4,1,1,""],layout_node_link:[4,1,1,""]},"drawing.two_column":{draw:[4,1,1,""],draw_hyper_edges:[4,1,1,""],draw_hyper_labels:[4,1,1,""],layout_two_column:[4,1,1,""]},"drawing.util":{get_frozenset_label:[4,1,1,""],get_line_graph:[4,1,1,""],get_set_layering:[4,1,1,""]},"reports.descriptive_stats":{centrality_stats:[12,1,1,""],comp_dist:[12,1,1,""],degree_dist:[12,1,1,""],dist_stats:[12,1,1,""],edge_size_dist:[12,1,1,""],frequency_distribution:[12,1,1,""],info:[12,1,1,""],info_dict:[12,1,1,""],s_comp_dist:[12,1,1,""],s_edge_diameter_dist:[12,1,1,""],s_node_diameter_dist:[12,1,1,""],toplex_dist:[12,1,1,""]},algorithms:{homology_mod2:[0,0,0,"-"],s_centrality_measures:[0,0,0,"-"]},classes:{entity:[2,0,0,"-"],hypergraph:[2,0,0,"-"]},drawing:{rubber_band:[4,0,0,"-"],two_column:[4,0,0,"-"],util:[4,0,0,"-"]},reports:{descriptive_stats:[12,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"],"2":["py","class","Python class"],"3":["py","method","Python method"]},objtypes:{"0":"py:module","1":"py:function","2":"py:class","3":"py:method"},terms:{"2x2":2,"76rl01830":10,"abstract":0,"boolean":[0,2],"case":2,"class":[6,7,10],"default":[0,2,4,12],"final":0,"float":[0,2,4],"function":[2,4],"import":2,"int":[0,2,4],"long":[2,12],"new":[0,2,4],"null":8,"return":[0,2,4,6,12],"static":2,"switch":6,"true":[0,2,4,12],AND:9,ARE:9,BUT:9,FOR:9,For:[0,2,4,6,7,8,10],NOT:9,Not:2,One:2,SUCH:9,Such:9,THE:9,The:[0,2,4,6,7,10],Then:4,These:0,USE:9,Use:6,Uses:2,Using:2,__dict__:2,abov:[4,9,12],abs:2,ac05:10,accept:[2,4],access:[6,8],account:10,accuraci:10,aco5:10,across:4,action:0,activ:[7,8,10],add:2,add_edg:2,add_edges_from:2,add_el:2,add_elements_from:2,add_node_to_edg:2,add_nodes_from:2,add_to_column:0,add_to_row:0,added:[0,2,4],adding:2,addit:[0,2],adjac:[2,6],adjacency_matrix:2,adjust:4,advis:9,after:2,against:2,agenc:10,aggreg:12,aksoi:10,algorithm:[4,7,10],align:4,all:[0,2,4,6,8,12],allow:[2,4],alpha:4,alreadi:2,also:[2,6,12],alter:0,amount:4,anaconda3:8,anaconda:7,analysi:10,analyt:10,angl:4,ani:[2,6,9,10],annot:4,anoth:[0,4,6],apparatu:10,appear:2,appli:[0,2,4],applic:2,approach:4,appropri:4,ar1:0,ar2:0,arbitrari:4,arendt:10,arg:[0,2],arg_set:2,argument:[2,4],argumetn:4,aris:9,around:4,arr:0,arrai:[0,2],asc:0,aspect:12,assign:[2,4],associ:[0,2,9],assum:[2,10],attribut:6,author:10,auxiliari:[2,6],auxiliary_matrix:2,axi:4,band:4,base:[0,2,4,6],basi:0,basic:[2,6,12],bat:8,battel:[9,10],becom:2,befor:2,behavior:0,behind:4,being:0,belong:[2,6],below:8,berg:0,best:0,betti:0,between:[0,2,4,6,7],binari:[0,9],bipartit:[2,4,6],bkmatrix:0,bool:[0,2,4],both:[2,6,7,10],bound:0,boundari:[0,4],box:4,brenda:10,briefest:0,browser:8,bsd:8,build:[2,8],build_doc:8,busi:9,c_k:0,calcul:4,call:[4,6],can:[2,4,6,7],cannot:2,cardin:2,care:2,caus:[2,9],cell:[0,2,12],center:4,central:[0,12],centrality_stat:12,certain:2,chain:0,chang:[4,7,10],check:2,child:2,children:[2,6],chmod:8,choos:2,chosen:4,circl:4,classmethod:2,claus:8,cliff:10,clone:[2,8],close:0,code:9,cokernel:0,coldict:2,collaps:[2,4],collapse_edg:2,collapse_identical_el:2,collapse_nod:2,collapse_nodes_and_edg:2,collect:4,collumn:4,color:4,column:[0,2,4,6,12],column_index:2,com:8,come:8,command:8,comment:[7,10],commerci:10,comp:12,comp_dist:12,complet:[6,10],complete_registri:2,complex:[0,2,7,10],compon:[2,4,6,12],component_subgraph:2,comput:[0,2,4,12],concentr:4,conda:8,condit:[2,6,9],conflict:2,connect:[0,2,4,6,12],connected_compon:2,connected_component_subgraph:2,consecut:2,consent:9,consequenti:9,consid:[0,2],constitut:10,construct:[2,6],constructor:[2,4],contact:[7,10],contain:[0,2,4,6,7,10,12],content:[1,3,5,11],continu:8,contract:[9,10],contributor:9,control:2,conveni:4,convert:[2,4],convex:4,cooper:10,coordin:4,copi:[0,2,9],copyright:9,correct:4,correspond:[0,2,6],coset:0,could:2,count:[2,4,12],creat:[2,8,12],cross:4,csr:2,csr_matrix:2,current:[7,10],curvi:4,custom:4,cycl:[0,2,4],cyclic:0,damag:9,data:[0,2,4,7,9,10],datafram:2,dedup:2,deeper:2,defin:2,degre:[2,6,12],degree_dist:12,delet:2,demand:[7,10],densiti:12,depart:10,depend:2,depth:[2,6],descend:2,descript:0,descriptive_stat:11,design:[7,10],desir:2,determin:[2,4],develop:[7,10],deviat:12,diagon:[0,2],diagram:4,diamet:[2,6,12],dict:[0,2,4,12],dictionari:[0,2,4,6,12],differ:2,digraph:4,dim:2,dimens:[0,2],dimension:0,direct:[2,4,9],directli:[7,10],dirti:4,disabl:4,discard:2,disclaim:9,disclos:10,disconnect:4,discov:0,disjoint:[2,6],disonnecct:4,dist:12,dist_stat:12,distanc:[2,4,6],distant:4,distinct:2,distinguish:[2,6],distribut:[9,12],dlfer:0,doc:8,document:[8,9],doe:[2,4,10],doing:2,done:2,dot:0,draw:7,draw_hyper_edg:4,draw_hyper_edge_label:4,draw_hyper_label:4,draw_hyper_nod:4,drawn:4,drop:2,dual:[2,6,7],duplic:[0,2],dustin:10,e_1:2,e_2:2,e_end:2,e_n:2,e_start:2,each:[0,2,4,6,7,12],easier:4,eccentr:0,eccentricity_dict:0,echelon:0,edg:[0,2,4,6,7,12],edge_adjac:2,edge_adjacency_matrix:2,edge_diamet:2,edge_dist:2,edge_kwarg:4,edge_label:2,edge_labels_kwarg:4,edge_nam:2,edge_set:2,edge_size_dist:12,edge_uid:2,edges_kwarg:4,edgeset:2,edgess:2,edit:8,effect:2,either:[6,7,12],element:[0,2,4,6,12],element_subset:2,els:0,emili:10,emploi:2,employe:10,empti:[2,6],end:2,endors:10,energi:10,ensur:2,ent1:2,ent2:2,entiti:[0,3,4,6,7,9],entityset:[2,6],entri:[0,6],env:8,environ:7,equal:[0,2,6,12],equat:0,equival:[0,2],error:[0,2],evalu:2,even:9,event:9,everi:[0,2,6],exactli:6,exampl:[0,2,4,8],exceed:2,except:6,exe:8,execut:8,exemplari:9,exhibit:0,exist:[2,4,6],expand:4,expect:[7,10],express:[9,10],extens:8,facecolor:4,fail:2,fals:[0,2,4,12],favor:10,featur:0,ferrario:0,figur:4,file:[8,9],fill:12,fillna:2,find:4,first:[2,4],firstlevel:2,fit:9,follow:[2,4,8,9],fork:8,form:[1,9],format:12,found:7,fraction:[0,4],frequenc:12,frequency_distribut:12,from:[0,2,4,6,8,12],from_bipartit:[2,6],from_datafram:2,from_numpy_arrai:2,frozen:2,frozenset:2,fruchterman_reingold_layout:4,full:2,fullregistri:2,further:4,gener:[0,2,4,6,7,8,10,12],get_default_radiu:4,get_frozenset_label:4,get_line_graph:4,get_set_lay:4,github:8,give:2,given:[0,2,4,6],glossari:7,going:12,good:[0,9],gotten:2,gov:[7,10],govern:10,grant:9,graph:[2,4,6,7,10],graphic:10,grate:[7,10],greater:[0,2],group:0,guarante:4,handl:4,harmon:0,has:[2,6,10],hashabl:2,have:[0,2,4,6],header:2,helper:4,henc:2,herebi:9,herein:[9,10],hereinaft:9,high:10,higher:0,hist:12,hnx:[0,2,8],holder:9,homolog:1,homology_basi:0,homology_mod2:1,honor:2,howev:9,hpda:10,html:8,http:[0,8],hull:4,hyper:[2,4,6,7],hyperedg:[2,6],hypergraph:[0,3,4,6,7,10,12],hypergraph_homology_basi:0,hypernet:10,hypernetx:[2,9,10],hypernetxerror:[0,2],i_m:0,i_n:0,ideal:0,ident:[0,2,4],identifi:[0,2],ids:[2,4],illustr:4,im2:0,imag:0,impli:[4,9,10],impos:6,incid:[2,6,12],incidence_dict:2,incidence_matrix:2,incident:9,includ:[2,9],inclus:0,inde:2,independ:4,index:[0,2,6,7,8],indic:2,indirect:9,induc:[2,6],inf:2,infin:2,infinit:6,inflate_kwarg:4,info:12,info_dict:12,inform:[10,12],infring:10,inner:0,inseper:2,instal:7,instanc:[2,6],instanti:[2,6],instead:[2,4],institut:[9,10],instruct:8,integ:[0,2,4,6,12],intend:4,intens:2,inter:2,interest:0,intermedi:0,interpret:0,interrupt:9,intersect:[0,2,4,6],intuit:6,invers:0,invert:0,investig:10,invis:4,is_bipartit:2,is_connect:2,is_empti:2,isn:2,isomorph:[2,6],item:[2,12],iter:[0,2,4,12],ith:0,iti:6,its:[0,2,4,6,10],itself:[2,6],joslyn:10,jth:0,jupyt:8,jurisdict:10,kbasi:0,kchain:0,kchainbasi:0,keep:[2,12],kei:[0,2,4,6,12],kernel:0,keyword:[2,4],km1basi:0,known:2,kth:0,kwarg:4,kyle:10,label:[2,4],label_alpha:4,laberl:4,laboratori:10,larg:2,last:2,lastlevel:2,lawfulli:9,layer:4,layout:4,layout_hyper_edg:4,layout_kwarg:4,layout_node_link:4,layout_two_column:4,least:[2,4,6],left:[0,4],legal:10,len:12,length:[0,2,4,6],less:[0,2],let:2,level:[2,4,6],levelset:[2,6],liabil:[9,10],liabl:9,librari:[7,10],licens:7,like:[2,4],limit:9,line:[2,4],linecollect:4,linewidth:4,link:2,linv:0,list:[0,2,4,9,12],llinv:0,lmr:0,locat:[4,8],log:0,logfil:0,logic:0,logical_dot:0,logical_matadd:0,logical_matmul:0,longest:2,look:0,loss:9,lower:4,mac:8,made:2,mai:[2,6,7,8,9,10],make:[2,4,10],manag:10,mani:[2,7,10,12],manual:4,manufactur:10,map:[0,4],mark:10,mat1:0,mat2:0,mat:0,match:[0,2],materi:10,mathemat:10,matmulreduc:0,matplotlib:[4,8],matric:[0,4],matrix:[0,2,6,12],max:[0,12],max_depth:2,maxim:[2,6],maximum:[2,6],mean:[0,2,12],measur:0,median:[4,12],membership:[2,4,6],memori:[9,10],merchant:9,merg:[2,9],merge_ent:2,method:[0,2,6,7,10,12],metric:[7,10],min:12,minim:[0,4,8],minimum:[0,4],minu:2,miss:4,mod2:1,mod:0,model:7,modif:9,modifi:9,modul:[1,3,5,7,11],modulo:0,monson:10,more:[2,6],most:4,multi:[2,7,10],multipl:[0,2,6],multipli:0,must:[0,2,9],mxn:0,name:[2,7,8,9,10],nation:10,ncell:12,ncol:12,ndarrai:[0,2],necessarili:10,need:[0,4,8],neglig:9,neighbor:2,neither:[9,10],nest:[2,7,10],nested_incidence_dict:2,network:[2,7,10],networkx:[2,4],netwrokx:4,newuid:2,node:[0,2,4,6,7,12],node_diamet:2,node_label:2,node_labels_kwarg:4,node_nam:2,node_radiu:4,node_set:2,nodes_kwarg:4,nodeset:2,non:6,none:[0,2,4,12],nonempti:[2,6],nonexist:2,nonzero:6,nor:10,normal:1,northwest:10,note:[0,2,6],notebook:8,noth:2,notic:[7,9],nrow:12,num:12,number:[0,2,4,6,12],number_of_edg:2,number_of_nod:2,numpi:[0,2,4],nx2:4,nxm:0,obj:12,object:[2,6,12],obtain:[0,6,9],occupi:6,occur:2,off:2,offset:4,onc:8,one:[0,2,4,6],onli:[0,2,6],open:8,oper:10,opinion:10,optim:4,option:[0,2,12],order:[0,2,4],organ:10,orient:4,origin:0,other:[0,2,4,6,7,9],otherwis:[2,6,8,9,10],out:[0,4,7,9,10],output:2,over:[0,4,6],overlap:4,overview:7,own:[6,10],pacif:10,packag:[1,3,5,7,11],page:7,pair:[2,4,6],pairwis:2,panda:2,paper:4,parallel:4,paramet:[0,2,4,12],part:[4,10],particular:[2,9],partit:[2,6],pass:[0,4],path:[0,2,4,8],perform:[2,10],permiss:9,permit:9,person:9,pickl:[0,2],pip:7,place:2,planar:4,plot:4,pnnl:[7,8,10],point:[0,4],poli:4,polycollect:4,polygon:4,pos:4,poset:2,posit:[2,4,6,12],possibl:[4,9],post:0,powershel:8,praggasti:10,pre:4,precis:6,prefer:2,preliminari:[7,10],prepar:10,prepend:2,present:2,preserv:2,principl:10,print:[0,12],prior:2,privat:10,process:[2,10],procur:9,product:[0,10],profit:9,program:10,project:[0,10],prompt:8,prop:2,properli:6,properti:[2,6],provid:[2,4,7,9,10],ps1:8,publish:9,purpos:[0,9],purvin:10,put:12,pytest:8,python:8,question:[7,10],quick:4,quit:2,radiu:4,rais:[0,2],rang:0,rather:12,ratio:12,rauga:10,read:4,real:2,reason:[2,4],recommend:[4,10],rectangular:[0,6],recurs:0,redistribut:9,reduc:[0,4],reduced_row_echelon_form_mod2:0,refer:[2,10],referenc:[0,2],reflect:[2,10],regist:2,registri:[2,6],relat:2,relationship:[0,2,7,10],releas:8,remov:2,remove_edg:2,remove_el:2,remove_elements_from:2,remove_nod:2,remove_singleton:2,render:4,rep:2,repeatedli:0,replac:[0,2],report:7,repres:[0,2,4,7,10],represent:4,reproduc:[4,9],requir:[7,10],reserv:4,respect:[0,2],respons:10,restrict:[2,6],restrict_to:2,restrict_to_edg:2,restrict_to_nod:2,result:4,retain:9,return_count:2,revers:[0,2],right:[0,4,10],rigor:4,ring:4,role:[2,6],root:2,row:[0,2,6,12],rowdict:2,rubber:4,rubber_band:5,run:8,s_betweenness_centr:0,s_centrality_measur:1,s_comp_dist:12,s_compon:2,s_component_subgraph:2,s_components_subgraph:2,s_connect:2,s_connected_compon:2,s_degre:2,s_distanc:0,s_eccentr:0,s_edge_connect:2,s_edge_diameter_dist:12,s_harmonic_closeness_centr:0,s_node_diameter_dist:12,same:[0,2,4,6],sampl:2,satifi:2,satisfi:[2,6],scipi:2,script:8,search:7,see:[2,4,6,8,12],self:2,sell:9,sens:6,sensibl:4,separ:2,sequenc:[2,6],serv:2,servic:[9,10],set:[0,2,4,6,7,10],set_nam:2,setsystem:2,shabang:8,shall:9,shallow:2,shape:2,share:[2,6],shortest:[0,2,6],shortest_path_length:2,should:[0,2,4],side:[0,2],similar:2,simpl:[0,2,6,12],simplici:0,sinan:10,sinc:[2,6],singl:[0,2,6,12],singleton:2,size:[0,2,4,6,12],small:[0,4],smaller:4,smallest:0,smith:1,smith_normal_form_mod2:0,snf:0,softwar:[9,10],some:6,sometim:4,sortabl:[0,2],sourc:[0,2,4,8,9,12],space:4,spars:2,special:9,specif:[2,6,10],specifi:[4,8],spectral:4,sponsor:10,spring_layout:4,squar:6,stack:4,standard:12,start:[0,2,4,12],stat:12,state:10,statist:12,store:0,str:[0,2],strict:9,string:[2,4,12],structur:[2,6,7,10],style:4,subgraph:[0,2],subhypergraph:6,subject:9,sublicens:9,submatrix:6,submodul:[1,3,5,11],subset:[2,4,6],substitut:9,success:6,suggest:[7,10],sum:0,summari:12,suppli:4,support:10,sure:2,surround:4,swap:0,swap_column:0,swap_row:0,system:[2,4,7,10],take:[2,4],target:2,techniqu:4,test:[7,8,10],text:4,textbook:4,than:[0,2,6,9,12],thei:[2,4],them:[6,7,8,12],theori:9,therefor:2,thereof:10,thi:[0,2,4,6,8,9,10,12],those:10,through:[0,4],thrown:2,time:2,togeth:[0,4],toplex:[0,2,6,12],toplex_dist:12,topolog:0,tort:9,track:[0,2,12],trade:10,trademark:10,tradit:[7,10],transform:[0,2],transpar:4,transpos:2,treat:2,truthi:2,tupl:[0,2],tutori:8,two:[0,2,4,6],two_column:5,type:[0,2,4,12],typic:4,uid:[0,2,6,12],uidset:[2,6],under:[8,10],undesir:2,uniqu:[2,6,12],unit:10,unpack:2,unweight:[2,6],updat:2,use:[2,4,8,9,10],use_rep:2,used:[0,2,4,6,9],usefulness:10,user:[2,8],uses:[2,7,10],using:[0,2,4,6,7],usual:4,util:5,v_1:2,v_2:2,v_end:2,v_n:2,v_start:2,valu:[0,2,4,6,12],variou:12,vector:0,veri:0,verifi:0,version:[7,8,10],vertex:4,vertic:[2,4],view:10,virtual:8,virtualenv:7,visual:10,wai:[2,4,7,9,10],walk:[2,6],want:0,warn:0,warranti:[9,10],weight:[2,6],well:4,whatsoev:9,when:2,where:[0,2,4,6],whether:9,which:[0,2,4,6,12],whitespac:4,whole:8,whose:[4,6],window:8,wish:8,with_color:4,with_edge_count:4,with_edge_label:4,with_node_count:4,with_node_label:4,within:[2,4,12],without:9,work:[0,4,7,10],would:[2,7,10],wrap:4,written:9,www:0,x_0:2,x_1:2,xor:0,xyz:0,yet:2,you:[4,7,8,10],your:8,z_2:0,zero:2},titles:["algorithms package","algorithms","classes package","classes","drawing package","drawing","Glossary of HNX terms","HyperNetX (HNX)","Installing HyperNetX","License","Overview","reports","reports package"],titleterms:{"class":[2,3],algorithm:[0,1],anaconda:8,content:[0,2,4,7,12],descript:7,descriptive_stat:12,draw:[4,5],entiti:2,environ:8,form:0,glossari:6,hnx:[6,7],homolog:0,homology_mod2:0,hypergraph:2,hypernetx:[7,8],indic:7,instal:8,licens:[8,9],mod2:0,modul:[0,2,4,12],normal:0,notic:10,overview:10,packag:[0,2,4,12],pip:8,report:[11,12],rubber_band:4,s_centrality_measur:0,smith:0,submodul:[0,2,4,12],tabl:7,term:6,two_column:4,using:8,util:4,virtualenv:8}}) \ No newline at end of file +Search.setIndex({docnames:["algorithms/algorithms","algorithms/modules","classes/classes","classes/modules","drawing/drawing","drawing/modules","glossary","index","install","license","overview/index","reports/modules","reports/reports"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,"sphinx.ext.intersphinx":1,"sphinx.ext.todo":2,"sphinx.ext.viewcode":1,sphinx:56},filenames:["algorithms/algorithms.rst","algorithms/modules.rst","classes/classes.rst","classes/modules.rst","drawing/drawing.rst","drawing/modules.rst","glossary.rst","index.rst","install.rst","license.rst","overview/index.rst","reports/modules.rst","reports/reports.rst"],objects:{"":{algorithms:[0,0,0,"-"],classes:[2,0,0,"-"],drawing:[4,0,0,"-"],reports:[12,0,0,"-"]},"algorithms.homology_mod2":{add_to_column:[0,1,1,""],add_to_row:[0,1,1,""],bkMatrix:[0,1,1,""],coset:[0,1,1,""],homology_basis:[0,1,1,""],hypergraph_homology_basis:[0,1,1,""],interpret:[0,1,1,""],kchainbasis:[0,1,1,""],logical_dot:[0,1,1,""],logical_matadd:[0,1,1,""],logical_matmul:[0,1,1,""],matmulreduce:[0,1,1,""],reduced_row_echelon_form_mod2:[0,1,1,""],smith_normal_form_mod2:[0,1,1,""],swap_columns:[0,1,1,""],swap_rows:[0,1,1,""]},"algorithms.s_centrality_measures":{s_betweenness_centrality:[0,1,1,""],s_eccentricity:[0,1,1,""],s_harmonic_closeness_centrality:[0,1,1,""]},"classes.entity":{Entity:[2,2,1,""],EntitySet:[2,2,1,""]},"classes.entity.Entity":{add:[2,3,1,""],add_element:[2,3,1,""],add_elements_from:[2,3,1,""],children:[2,3,1,""],clone:[2,3,1,""],complete_registry:[2,3,1,""],depth:[2,3,1,""],elements:[2,3,1,""],fullregistry:[2,3,1,""],incidence_dict:[2,3,1,""],intersection:[2,3,1,""],is_bipartite:[2,3,1,""],is_empty:[2,3,1,""],level:[2,3,1,""],levelset:[2,3,1,""],memberships:[2,3,1,""],merge_entities:[2,3,1,""],nested_incidence_dict:[2,3,1,""],properties:[2,3,1,""],registry:[2,3,1,""],remove:[2,3,1,""],remove_element:[2,3,1,""],remove_elements_from:[2,3,1,""],restrict_to:[2,3,1,""],size:[2,3,1,""],uid:[2,3,1,""],uidset:[2,3,1,""]},"classes.entity.EntitySet":{add:[2,3,1,""],clone:[2,3,1,""],collapse_identical_elements:[2,3,1,""],incidence_matrix:[2,3,1,""],restrict_to:[2,3,1,""]},"classes.hypergraph":{Hypergraph:[2,2,1,""]},"classes.hypergraph.Hypergraph":{add_edge:[2,3,1,""],add_edges_from:[2,3,1,""],add_node_to_edge:[2,3,1,""],adjacency_matrix:[2,3,1,""],auxiliary_matrix:[2,3,1,""],bipartite:[2,3,1,""],collapse_edges:[2,3,1,""],collapse_nodes:[2,3,1,""],collapse_nodes_and_edges:[2,3,1,""],component_subgraphs:[2,3,1,""],components:[2,3,1,""],connected_component_subgraphs:[2,3,1,""],connected_components:[2,3,1,""],degree:[2,3,1,""],diameter:[2,3,1,""],dim:[2,3,1,""],distance:[2,3,1,""],dual:[2,3,1,""],edge_adjacency_matrix:[2,3,1,""],edge_diameter:[2,3,1,""],edge_diameters:[2,3,1,""],edge_distance:[2,3,1,""],edges:[2,3,1,""],from_bipartite:[2,3,1,""],from_dataframe:[2,3,1,""],from_numpy_array:[2,3,1,""],incidence_dict:[2,3,1,""],incidence_matrix:[2,3,1,""],is_connected:[2,3,1,""],neighbors:[2,3,1,""],node_diameters:[2,3,1,""],nodes:[2,3,1,""],number_of_edges:[2,3,1,""],number_of_nodes:[2,3,1,""],order:[2,3,1,""],remove_edge:[2,3,1,""],remove_edges:[2,3,1,""],remove_node:[2,3,1,""],remove_nodes:[2,3,1,""],remove_singletons:[2,3,1,""],restrict_to_edges:[2,3,1,""],restrict_to_nodes:[2,3,1,""],s_component_subgraphs:[2,3,1,""],s_components:[2,3,1,""],s_connected_components:[2,3,1,""],s_degree:[2,3,1,""],shape:[2,3,1,""],singletons:[2,3,1,""],size:[2,3,1,""],toplexes:[2,3,1,""]},"drawing.rubber_band":{draw:[4,1,1,""],draw_hyper_edge_labels:[4,1,1,""],draw_hyper_edges:[4,1,1,""],draw_hyper_labels:[4,1,1,""],draw_hyper_nodes:[4,1,1,""],get_default_radius:[4,1,1,""],inflate_kwargs:[4,1,1,""],layout_hyper_edges:[4,1,1,""],layout_node_link:[4,1,1,""]},"drawing.two_column":{draw:[4,1,1,""],draw_hyper_edges:[4,1,1,""],draw_hyper_labels:[4,1,1,""],layout_two_column:[4,1,1,""]},"drawing.util":{get_frozenset_label:[4,1,1,""],get_line_graph:[4,1,1,""],get_set_layering:[4,1,1,""]},"reports.descriptive_stats":{centrality_stats:[12,1,1,""],comp_dist:[12,1,1,""],degree_dist:[12,1,1,""],dist_stats:[12,1,1,""],edge_size_dist:[12,1,1,""],frequency_distribution:[12,1,1,""],info:[12,1,1,""],info_dict:[12,1,1,""],s_comp_dist:[12,1,1,""],s_edge_diameter_dist:[12,1,1,""],s_node_diameter_dist:[12,1,1,""],toplex_dist:[12,1,1,""]},algorithms:{homology_mod2:[0,0,0,"-"],s_centrality_measures:[0,0,0,"-"]},classes:{entity:[2,0,0,"-"],hypergraph:[2,0,0,"-"]},drawing:{rubber_band:[4,0,0,"-"],two_column:[4,0,0,"-"],util:[4,0,0,"-"]},reports:{descriptive_stats:[12,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"],"2":["py","class","Python class"],"3":["py","method","Python method"]},objtypes:{"0":"py:module","1":"py:function","2":"py:class","3":"py:method"},terms:{"2x2":2,"76rl01830":10,"abstract":0,"boolean":[0,2],"case":2,"class":[6,7,10],"default":[0,2,4,12],"final":0,"float":[0,2,4],"function":[2,4],"import":2,"int":[0,2,4],"long":[2,12],"new":[0,2,4],"null":8,"return":[0,2,4,6,12],"static":2,"switch":6,"true":[0,2,4,12],AND:9,ARE:9,BUT:9,FOR:9,For:[0,2,4,6,7,8,10],NOT:9,Not:2,One:2,SUCH:9,Such:9,THE:9,The:[0,2,4,6,7,10],Then:4,These:0,USE:9,Use:6,Uses:2,Using:2,__dict__:2,abov:[4,9,12],abs:2,ac05:10,accept:[2,4],access:[6,8],accomplish:0,account:10,accuraci:10,aco5:10,across:4,action:0,activ:[7,8,10],add:2,add_edg:2,add_edges_from:2,add_el:2,add_elements_from:2,add_node_to_edg:2,add_nodes_from:2,add_to_column:0,add_to_row:0,added:[0,2,4],adding:2,addit:[0,2],adjac:[0,2,6],adjacency_matrix:2,adjust:4,advis:9,after:2,against:2,agenc:10,aggreg:12,aksoi:[0,10],algorithm:[4,7,10],align:4,all:[0,2,4,6,8,12],allow:[2,4],alpha:4,alreadi:2,also:[2,6,12],alter:0,amount:4,anaconda3:8,anaconda:7,analysi:10,analyt:10,angl:4,ani:[2,6,9,10],annot:4,anoth:[0,4,6],apparatu:10,appear:2,appli:[0,2,4],applic:2,approach:4,appropri:4,ar1:0,ar2:0,arbitrari:4,arendt:10,arg:[0,2],arg_set:2,argument:[2,4],argumetn:4,aris:9,around:4,arr:0,arrai:[0,2],asc:0,aspect:12,assign:[2,4],associ:[0,2,9],assum:[2,10],attribut:6,author:10,auxiliari:[2,6],auxiliary_matrix:2,axi:4,band:4,base:[0,2,4,6],basi:0,basic:[2,6,12],bat:8,battel:[9,10],becom:2,befor:2,behavior:0,behind:4,being:0,belong:[2,6],below:8,berg:0,best:0,betti:0,between:[0,2,4,6,7],binari:[0,9],bipartit:[2,4,6],bkmatrix:0,bool:[0,2,4],both:[2,6,7,10],bound:0,boundari:[0,4],box:4,brenda:10,briefest:0,browser:8,bsd:8,build:[2,8],build_doc:8,busi:9,c_k:0,calcul:4,call:[4,6],can:[2,4,6,7],cannot:2,cardin:2,care:2,caus:[2,9],cell:[0,2,12],center:4,central:[1,12],centrality_stat:12,certain:2,chain:0,chang:[4,7,10],check:2,child:2,children:[2,6],chmod:8,choos:2,chosen:4,circl:4,classmethod:2,claus:8,cliff:10,clone:[2,8],close:0,code:9,cokernel:0,coldict:2,collaps:[2,4],collapse_edg:2,collapse_identical_el:2,collapse_nod:2,collapse_nodes_and_edg:2,collect:4,collumn:4,color:4,column:[0,2,4,6,12],column_index:2,com:8,come:8,command:8,comment:[7,10],commerci:10,comp:12,comp_dist:12,complet:[6,10],complete_registri:2,complex:[0,2,7,10],compon:[0,2,4,6,12],component_subgraph:2,comput:[0,2,4,12],concentr:4,conda:8,condit:[2,6,9],conflict:2,connect:[0,2,4,6,12],connected_compon:2,connected_component_subgraph:2,consecut:2,consent:9,consequenti:9,consid:[0,2],constitut:10,construct:[0,2,6],constructor:[2,4],contact:[7,10],contain:[0,2,4,6,7,10,12],content:[1,3,5,11],continu:8,contract:[9,10],contributor:9,control:2,conveni:4,convert:[2,4],convex:4,cooper:10,coordin:4,copi:[0,2,9],copyright:9,correct:4,correspond:[0,2,6],coset:0,could:2,count:[2,4,12],creat:[2,8,12],cross:4,csr:2,csr_matrix:2,current:[7,10],curvi:4,custom:4,cycl:[0,2,4],cyclic:0,damag:9,data:[0,2,4,7,9,10],datafram:2,dedup:2,deeper:2,defin:2,degre:[2,6,12],degree_dist:12,delet:2,demand:[7,10],densiti:12,depart:10,depend:2,depth:[0,2,6],descend:2,descript:0,descriptive_stat:11,design:[7,10],desir:2,determin:[2,4],develop:[7,10],deviat:12,diagon:[0,2],diagram:4,diamet:[2,6,12],dict:[0,2,4,12],dictionari:[0,2,4,6,12],differ:2,digraph:4,dim:2,dimens:[0,2],dimension:0,direct:[2,4,9],directli:[7,10],dirti:4,disabl:4,discard:2,disclaim:9,disclos:10,disconnect:4,discov:0,discuss:0,disjoint:[2,6],disonnecct:4,dist:12,dist_stat:12,distanc:[2,4,6],distant:4,distinct:2,distinguish:[2,6],distribut:[9,12],dlfer:0,doc:8,document:[8,9],doe:[2,4,10],doi:0,doing:2,done:2,dot:0,draw:7,draw_hyper_edg:4,draw_hyper_edge_label:4,draw_hyper_label:4,draw_hyper_nod:4,drawn:4,drop:2,dual:[2,6,7],duplic:[0,2],dustin:10,e_1:2,e_2:2,e_end:2,e_n:2,e_start:2,each:[0,2,4,6,7,12],easier:4,eccentr:0,eccentricity_dict:0,echelon:0,edg:[0,2,4,6,7,12],edge_adjac:2,edge_adjacency_matrix:2,edge_diamet:2,edge_dist:2,edge_kwarg:4,edge_label:2,edge_labels_kwarg:4,edge_nam:2,edge_set:2,edge_size_dist:12,edge_uid:2,edges_kwarg:4,edgeset:2,edgess:2,edit:8,effect:2,either:[6,7,12],element:[0,2,4,6,12],element_subset:2,els:0,emili:10,emploi:2,employe:10,empti:[2,6],end:2,endors:10,energi:10,ensur:2,ent1:2,ent2:2,entiti:[0,3,4,6,7,9],entityset:[2,6],entri:[0,6],env:8,environ:7,epj:0,epjd:0,equal:[0,2,6,12],equat:0,equival:[0,2],error:[0,2],essenc:0,evalu:2,even:9,event:9,everi:[0,2,6],exactli:6,exampl:[0,2,4,8],exceed:2,except:6,exe:8,execut:8,exemplari:9,exhibit:0,exist:[0,2,4,6],expand:4,expect:[7,10],express:[9,10],extens:8,facecolor:4,fail:2,fals:[0,2,4,12],favor:10,featur:0,ferrario:0,figur:4,file:[8,9],fill:12,fillna:2,find:4,first:[2,4],firstlevel:2,fit:9,follow:[2,4,8,9],fork:8,form:[1,9],format:12,found:7,fraction:[0,4],frequenc:12,frequency_distribut:12,from:[0,2,4,6,8,12],from_bipartit:[2,6],from_datafram:2,from_numpy_arrai:2,frozen:2,frozenset:2,fruchterman_reingold_layout:4,full:2,fullregistri:2,further:4,gener:[0,2,4,6,7,8,10,12],get_default_radiu:4,get_frozenset_label:4,get_line_graph:4,get_set_lay:4,github:8,give:2,given:[0,2,4,6],glossari:7,going:12,good:[0,9],gotten:2,gov:[7,10],govern:10,grant:9,graph:[0,2,4,6,7,10],graphic:10,grate:[7,10],greater:[0,2],group:0,guarante:4,handl:4,harmon:0,has:[2,6,10],hashabl:2,have:[0,2,4,6],header:2,helper:4,henc:2,herebi:9,herein:[9,10],hereinaft:9,high:[0,10],higher:0,hist:12,hnx:[0,2,8],holder:9,homolog:1,homology_basi:0,homology_mod2:1,honor:2,howev:9,hpda:10,html:8,http:[0,8],hull:4,hyper:[2,4,6,7],hyperedg:[2,6],hypergraph:[0,3,4,6,7,10,12],hypergraph_homology_basi:0,hypernet:10,hypernetwork:0,hypernetx:[2,9,10],hypernetxerror:[0,2],i_m:0,i_n:0,ideal:0,ident:[0,2,4],identifi:[0,2],ids:[2,4],illustr:4,im2:0,imag:0,impli:[4,9,10],impos:6,incid:[2,6,12],incidence_dict:2,incidence_matrix:2,incident:9,includ:[2,9],inclus:0,inde:2,independ:4,index:[0,2,6,7,8],indic:2,indirect:9,induc:[2,6],inf:2,infin:2,infinit:6,inflate_kwarg:4,info:12,info_dict:12,inform:[10,12],infring:10,inner:0,inseper:2,instal:7,instanc:[2,6],instanti:[2,6],instead:[2,4],institut:[9,10],instruct:8,integ:[0,2,4,6,12],intend:4,intens:2,inter:2,interest:0,intermedi:0,interpret:0,interrupt:9,intersect:[0,2,4,6],intuit:6,invers:0,invert:0,investig:10,invis:4,is_bipartit:2,is_connect:2,is_empti:2,isn:2,isomorph:[2,6],item:[2,12],iter:[0,2,4,12],ith:0,iti:6,its:[0,2,4,6,10],itself:[2,6],joslyn:[0,10],jth:0,jupyt:8,jurisdict:10,kbasi:0,kchain:0,kchainbasi:0,keep:[2,12],kei:[0,2,4,6,12],kernel:0,keyword:[2,4],km1basi:0,known:2,kth:0,kwarg:4,kyle:10,label:[2,4],label_alpha:4,laberl:4,laboratori:10,larg:2,last:2,lastlevel:2,lawfulli:9,layer:4,layout:4,layout_hyper_edg:4,layout_kwarg:4,layout_node_link:4,layout_two_column:4,least:[2,4,6],left:[0,4],legal:10,len:12,length:[0,2,4,6],less:[0,2],let:2,level:[2,4,6],levelset:[2,6],liabil:[9,10],liabl:9,librari:[7,10],licens:7,like:[2,4],limit:9,line:[0,2,4],linecollect:4,linewidth:4,link:2,linv:0,list:[0,2,4,9,12],llinv:0,lmr:0,locat:[4,8],log:0,logfil:0,logic:0,logical_dot:0,logical_matadd:0,logical_matmul:0,longest:2,look:0,loss:9,lower:4,mac:8,made:2,mai:[2,6,7,8,9,10],make:[2,4,10],manag:10,mani:[2,7,10,12],manual:4,manufactur:10,map:[0,4],mark:10,marrero:0,mat1:0,mat2:0,mat:0,match:[0,2],materi:10,mathemat:10,matmulreduc:0,matplotlib:[4,8],matric:[0,4],matrix:[0,2,6,12],max:[0,12],max_depth:2,maxim:[2,6],maximum:[2,6],mean:[0,2,12],measur:1,median:[4,12],membership:[2,4,6],memori:[9,10],merchant:9,merg:[2,9],merge_ent:2,method:[0,2,6,7,10,12],metric:[0,7,10],min:12,minim:[0,4,8],minimum:[0,4],minu:2,miss:4,mod2:1,mod:0,model:7,modif:9,modifi:9,modul:[1,3,5,7,11],modulo:0,monson:10,more:[2,6],most:4,multi:[2,7,10],multipl:[0,2,6],multipli:0,must:[0,2,9],mxn:0,name:[2,7,8,9,10],nation:10,ncell:12,ncol:12,ndarrai:[0,2],necessarili:10,need:[0,4,8],neglig:9,neighbor:2,neither:[9,10],nest:[2,7,10],nested_incidence_dict:2,network:[2,7,10],networkx:[2,4],netwrokx:4,newuid:2,node:[0,2,4,6,7,12],node_diamet:2,node_label:2,node_labels_kwarg:4,node_nam:2,node_radiu:4,node_set:2,nodes_kwarg:4,nodeset:2,non:6,none:[0,2,4,12],nonempti:[2,6],nonexist:2,nonzero:6,nor:10,normal:1,northwest:10,note:[0,2,6],notebook:8,noth:2,notic:[7,9],nrow:12,num:12,number:[0,2,4,6,12],number_of_edg:2,number_of_nod:2,numpi:[0,2,4],nx2:4,nxm:0,obj:12,object:[2,6,12],obtain:[0,6,9],occupi:6,occur:2,off:2,offset:4,onc:8,one:[0,2,4,6],onli:[0,2,6],open:8,oper:10,opinion:10,optim:4,option:[0,2,12],order:[0,2,4],org:0,organ:10,orient:4,origin:0,ortiz:0,other:[0,2,4,6,7,9],otherwis:[2,6,8,9,10],our:0,out:[0,4,7,9,10],output:2,over:[0,4,6],overlap:4,overview:7,own:[6,10],pacif:10,packag:[1,3,5,7,11],page:7,pair:[2,4,6],pairwis:2,panda:2,paper:4,parallel:4,paramet:[0,2,4,12],part:[4,10],particular:[2,9],partit:[2,6],pass:[0,4],path:[0,2,4,8],perform:[2,10],permiss:9,permit:9,person:9,pickl:[0,2],pip:7,place:2,planar:4,plot:4,pnnl:[7,8,10],point:[0,4],poli:4,polycollect:4,polygon:4,pos:4,poset:2,posit:[2,4,6,12],possibl:[4,9],post:0,powershel:8,praggasti:10,pre:4,precis:6,prefer:2,preliminari:[7,10],prepar:10,prepend:2,present:2,preserv:2,principl:10,print:[0,12],prior:2,privat:10,process:[2,10],procur:9,product:[0,10],profit:9,program:10,project:[0,10],prompt:8,prop:2,properli:6,properti:[2,6],provid:[2,4,7,9,10],ps1:8,publish:9,purpos:[0,9],purvin:10,put:12,pytest:8,python:8,question:[7,10],quick:4,quit:2,radiu:4,rais:[0,2],rang:0,rather:12,ratio:12,rauga:10,read:4,real:2,reason:[2,4],recommend:[4,10],rectangular:[0,6],recurs:0,redistribut:9,reduc:[0,4],reduced_row_echelon_form_mod2:0,refer:[2,10],referenc:[0,2],reflect:[2,10],regist:2,registri:[2,6],relat:2,relationship:[0,2,7,10],releas:8,remov:2,remove_edg:2,remove_el:2,remove_elements_from:2,remove_nod:2,remove_singleton:2,render:4,rep:2,repeatedli:0,replac:[0,2],report:7,repres:[0,2,4,7,10],represent:[0,4],reproduc:[4,9],requir:[7,10],reserv:4,respect:[0,2],respons:10,restrict:[2,6],restrict_to:2,restrict_to_edg:2,restrict_to_nod:2,result:4,retain:9,return_count:2,revers:[0,2],right:[0,4,10],rigor:4,ring:4,role:[2,6],root:2,row:[0,2,6,12],rowdict:2,rubber:4,rubber_band:5,run:8,s13688:0,s_betweenness_centr:0,s_centrality_measur:1,s_comp_dist:12,s_compon:2,s_component_subgraph:2,s_components_subgraph:2,s_connect:2,s_connected_compon:2,s_degre:2,s_distanc:0,s_eccentr:0,s_edge_connect:2,s_edge_diameter_dist:12,s_harmonic_closeness_centr:0,s_node_diameter_dist:12,same:[0,2,4,6],sampl:2,satifi:2,satisfi:[2,6],sci:0,scienc:0,scipi:2,script:8,search:7,see:[2,4,6,8,12],self:2,sell:9,sens:6,sensibl:4,separ:2,sequenc:[2,6],serv:2,servic:[9,10],set:[0,2,4,6,7,10],set_nam:2,setsystem:2,shabang:8,shall:9,shallow:2,shape:2,share:[2,6],shortest:[0,2,6],shortest_path_length:2,should:[0,2,4],side:[0,2],similar:2,simpl:[0,2,6,12],simplici:0,sinan:10,sinc:[2,6],singl:[0,2,6,12],singleton:2,size:[0,2,4,6,12],small:[0,4],smaller:4,smallest:0,smith:1,smith_normal_form_mod2:0,snf:0,softwar:[9,10],some:6,sometim:4,sortabl:[0,2],sourc:[0,2,4,8,9,12],space:4,spars:2,special:9,specif:[2,6,10],specifi:[4,8],spectral:4,sponsor:10,spring_layout:4,squar:6,stack:4,standard:12,start:[0,2,4,12],stat:12,state:10,statist:12,store:0,str:[0,2],strict:9,string:[2,4,12],structur:[2,6,7,10],style:4,subgraph:[0,2],subhypergraph:6,subject:9,sublicens:9,submatrix:6,submodul:[1,3,5,11],subset:[2,4,6],substitut:9,success:6,suggest:[7,10],sum:0,summari:12,suppli:4,support:10,sure:2,surround:4,swap:0,swap_column:0,swap_row:0,system:[2,4,7,10],take:[2,4],target:2,techniqu:4,test:[7,8,10],text:4,textbook:4,than:[0,2,6,9,12],thei:[2,4],them:[6,7,8,12],theori:9,therefor:2,thereof:10,thi:[0,2,4,6,8,9,10,12],those:10,through:[0,4],thrown:2,time:2,togeth:[0,4],toplex:[0,2,6,12],toplex_dist:12,topolog:0,tort:9,track:[0,2,12],trade:10,trademark:10,tradit:[7,10],transform:[0,2],transpar:4,transpos:2,treat:2,truthi:2,tupl:[0,2],tutori:8,two:[0,2,4,6],two_column:5,type:[0,2,4,12],typic:4,uid:[0,2,6,12],uidset:[2,6],under:[8,10],undesir:2,uniqu:[2,6,12],unit:10,unpack:2,unweight:[2,6],updat:2,use:[0,2,4,8,9,10],use_rep:2,used:[0,2,4,6,9],usefulness:10,user:[2,8],uses:[2,7,10],using:[0,2,4,6,7],usual:4,util:5,v_1:2,v_2:2,v_end:2,v_n:2,v_start:2,valu:[0,2,4,6,12],variou:12,vector:0,veri:0,verifi:0,version:[7,8,10],vertex:4,vertic:[2,4],via:0,view:10,virtual:8,virtualenv:7,visual:10,wai:[2,4,7,9,10],walk:[0,2,6],want:0,warn:0,warranti:[9,10],weight:[2,6],well:4,whatsoev:9,when:2,where:[0,2,4,6],whether:9,which:[0,2,4,6,12],whitespac:4,whole:8,whose:[4,6],window:8,wish:8,with_color:4,with_edge_count:4,with_edge_label:4,with_node_count:4,with_node_label:4,within:[2,4,12],without:9,work:[0,4,7,10],would:[2,7,10],wrap:4,written:9,www:0,x_0:2,x_1:2,xor:0,xyz:0,yet:2,you:[4,7,8,10],your:8,z_2:0,zero:2},titles:["algorithms package","algorithms","classes package","classes","drawing package","drawing","Glossary of HNX terms","HyperNetX (HNX)","Installing HyperNetX","License","Overview","reports","reports package"],titleterms:{"class":[2,3],algorithm:[0,1],anaconda:8,central:0,content:[0,2,4,7,12],descript:7,descriptive_stat:12,draw:[4,5],entiti:2,environ:8,form:0,glossari:6,hnx:[6,7],homolog:0,homology_mod2:0,hypergraph:2,hypernetx:[7,8],indic:7,instal:8,licens:[8,9],measur:0,mod2:0,modul:[0,2,4,12],normal:0,notic:10,overview:10,packag:[0,2,4,12],pip:8,report:[11,12],rubber_band:4,s_centrality_measur:0,smith:0,submodul:[0,2,4,12],tabl:7,term:6,two_column:4,using:8,util:4,virtualenv:8}}) \ No newline at end of file diff --git a/hypernetx/algorithms/s_centrality_measures.py b/hypernetx/algorithms/s_centrality_measures.py index 84f7d0b2..a4c61792 100644 --- a/hypernetx/algorithms/s_centrality_measures.py +++ b/hypernetx/algorithms/s_centrality_measures.py @@ -1,6 +1,21 @@ # Copyright © 2018 Battelle Memorial Institute # All rights reserved. -# This module developed for PNNL's hyperbio LDRD project summer 2019 + +""" + +S-Centrality Measures +===================== +We generalize graph metrics to s-metrics for a hypergraph by using its s-connected +components. This is accomplished by computing the s edge-adjacency matrix and +constructing the corresponding graph of the matrix. We then use existing graph metrics +on this representation of the hypergraph. In essence we construct an *s*-line graph +corresponding to the hypergraph on which to apply our methods. + +S-Metrics for hypergraphs are discussed in depth in: +*Aksoy, S.G., Joslyn, C., Ortiz Marrero, C. et al. Hypernetwork science via high-order hypergraph walks. +EPJ Data Sci. 9, 16 (2020). https://doi.org/10.1140/epjds/s13688-020-00231-0* + +""" import numpy as np from collections import defaultdict