tnetwork.write_ordered_changes¶
-
tnetwork.
write_ordered_changes
(dynNet: tnetwork.dyn_graph.dyn_graph_ig.DynGraphIG, fileOutput, dateEveryLine=False, nodeModifications=False, separator='\t', edgeIdentifier='l')[source]¶ Write as list of successive changes
(use with caution, not tested recently) Write the dynamic network as a list of successive changes. There are several variants:
- OML :ordered modif list with dates as #DATE and no nodes (Online Modification List)
- OMLN : with nodes
- OMLR : with repeated dates
- OMLRN : nodes and repeated dates
Parameters: - dynNet – dynamic network
- fileOutput – address of file to write
- dateEveryLine – if true, date is repeated for each modification (each line). If false, date modification is on its own line (#DATE) before the modifications happening at this date
- nodeModifications – write not only edges but also nodes modifications
- separator – choose a separator
- edgeIdentifier – character to differenciate edges from nodes.