DANTE is a software tool for the alignment of dynamic networks based on temporal embedding.
It was developed based on the method published on the journal paper titled "A Method Based on Temporal Embedding for the Pairwise Alignment of Dynamic Networks" (reference is reported below).
We tested DANTE on macOS Monterey (12.4), with CPU Intel.
This is an extension of our preliminary prototype (version 1).
Cinaglia P, Cannataro M. A Method Based on Temporal Embedding for the Pairwise Alignment of Dynamic Networks. Entropy. 2023; 25(4):665. https://doi.org/10.3390/e25040665
https://www.mdpi.com/1099-4300/25/4/665
@Article{dante2023,
AUTHOR = {Cinaglia, Pietro and Cannataro, Mario},
TITLE = {A Method Based on Temporal Embedding for the Pairwise Alignment of Dynamic Networks},
JOURNAL = {Entropy},
VOLUME = {25},
YEAR = {2023},
NUMBER = {4},
ARTICLE-NUMBER = {665},
URL = {https://www.mdpi.com/1099-4300/25/4/665},
ISSN = {1099-4300},
DOI = {10.3390/e25040665}
}
DANTE needs Python >= 3.9, and the packages listed into 'requirements.txt'. The latter may be installed automatically by using Python Package Installer (pip):
pip3 install -r requirements.txt
or (alias: pip=pip3):
pip install -r requirements.txt
You may use the dataset included into this repository ('example'), for demonstration purposes only, as follows:
./DANTE example/dnet1/DN1 example/dnet2/DN2 example_alignment
This dataset consists of two dynamic networks (dnet1 and dnet2).
- dnet1: 10 nodes, 10 time points.
- dnet2: 20 nodes, 10 time points.
The command will execute DANTE to produce the alignment ('example_alignment').
Summary:
- 'example/dnet1': dnet1 (format in DANTE);
- 'example/dnet2': dnet2 (format in DANTE);
- 'example/dnet1.dy': dnet1 (format in DynaMAGNA++);
- 'example/dnet2.dy': dnet2 (format in DynaMAGNA++);
- 'example/results/DANTE': alignment (dnet1 on dnet2) produced by DANTE;
- 'example/results/DynaMAGNA++': alignment (dnet1 on dnet2) produced by DynaMAGNA++.
DANTE may be used as shell-command, or through its own Command Line Interface (CLI).
Arguments (arg):
- Path of Dynamic Network_1 (G) *
- Path of Dynamic Network_2 (H) *
- Output's filename [Default: output]
- (only CLI) Delimiter for data parsing [Default: space]
Run as shell-command:
./DANTE arg1 arg2 arg3
Run the CLI:
./DANTE
*Escaping spaces with backslash, in according to Linux/Unix Shell. For instance, /user1/my samples\s1 becomes /user1/my\ samples\s1
Data is structured as edge list, one for each time point. To give an example, dnet1 consisting of 10 time points will have the following files inside a directory of the same name: DN11, DN12, DN13, DN1..., DN110.
Copyright (c) 2023
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.