-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d0112e
commit 60077a1
Showing
6 changed files
with
397 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,9 @@ | |
omit = | ||
setup.py | ||
dynetx/utils/* | ||
dynetx/test/* | ||
dynetx/test/* | ||
|
||
[report] | ||
exclude_lines = | ||
pragma: no cover | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
*********************** | ||
Directed Dynamic Graphs | ||
*********************** | ||
|
||
Overview | ||
-------- | ||
|
||
.. currentmodule:: dynetx | ||
.. autoclass:: DynDiGraph | ||
|
||
Adding and removing nodes and edges | ||
----------------------------------- | ||
|
||
.. autosummary:: | ||
:toctree: generated/ | ||
|
||
DynDiGraph.__init__ | ||
DynDiGraph.add_interaction | ||
DynDiGraph.add_interactions_from | ||
|
||
|
||
Iterating over nodes and edges | ||
------------------------------ | ||
|
||
.. autosummary:: | ||
:toctree: generated/ | ||
|
||
DynDiGraph.interactions | ||
DynDiGraph.interactions_iter | ||
DynDiGraph.in_interactions | ||
DynDiGraph.in_interactions_iter | ||
DynDiGraph.out_interactions | ||
DynDiGraph.out_interactions_iter | ||
DynDiGraph.neighbors | ||
DynDiGraph.neighbors_iter | ||
DynDiGraph.successors | ||
DynDiGraph.successors_iter | ||
DynDiGraph.predecessors | ||
DynDiGraph.predecessors_iter | ||
DynDiGraph.nodes | ||
DynDiGraph.nodes_iter | ||
|
||
Information about graph structure | ||
--------------------------------- | ||
|
||
.. autosummary:: | ||
:toctree: generated/ | ||
|
||
DynDiGraph.has_interaction | ||
DynDiGraph.has_successor | ||
DynDiGraph.has_predecessor | ||
DynDiGraph.number_of_interactions | ||
DynDiGraph.degree | ||
DynDiGraph.degree_iter | ||
DynDiGraph.in_degree | ||
DynDiGraph.in_degree_iter | ||
DynDiGraph.out_degree | ||
DynDiGraph.out_degree_iter | ||
DynDiGraph.size | ||
DynDiGraph.order | ||
DynDiGraph.has_node | ||
DynDiGraph.number_of_nodes | ||
DynGraph.to_undirected | ||
|
||
|
||
Dynamic Representation: Access Snapshots and Iterations | ||
------------------------------------------------------- | ||
|
||
.. autosummary:: | ||
:toctree: generated/ | ||
|
||
DynDiGraph.stream_interactions | ||
DynDiGraph.time_slice | ||
DynDiGraph.temporal_snapshots_ids | ||
DynDiGraph.interactions_per_snapshots | ||
DynDiGraph.inter_event_time_distribution | ||
DynDiGraph.inter_in_event_time_distribution | ||
DynDiGraph.inter_out_event_time_distribution |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,5 @@ Basic graph types | |
:maxdepth: 2 | ||
|
||
dynetx.rst | ||
dydinetx.rst | ||
|
Oops, something went wrong.