Skip to content

Commit

Permalink
directed dynamic graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRossetti committed Aug 28, 2017
1 parent 4d0112e commit 60077a1
Show file tree
Hide file tree
Showing 6 changed files with 397 additions and 136 deletions.
7 changes: 6 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@
omit =
setup.py
dynetx/utils/*
dynetx/test/*
dynetx/test/*

[report]
exclude_lines =
pragma: no cover
pass
78 changes: 78 additions & 0 deletions docs/reference/classes/dydinetx.rst
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
1 change: 1 addition & 0 deletions docs/reference/classes/dynetx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Information about graph structure
DynGraph.order
DynGraph.has_node
DynGraph.number_of_nodes
DynGraph.to_directed


Dynamic Representation: Access Snapshots and Iterations
Expand Down
1 change: 1 addition & 0 deletions docs/reference/classes/gtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ Basic graph types
:maxdepth: 2

dynetx.rst
dydinetx.rst

Loading

0 comments on commit 60077a1

Please sign in to comment.