Interval Graph¶
Overview¶
Methods¶
Adding and removing nodes and edges¶
IntervalGraph.__init__ |
|
IntervalGraph.add_node |
|
IntervalGraph.add_nodes_from |
|
IntervalGraph.remove_node |
|
IntervalGraph.add_edge |
|
IntervalGraph.add_edges_from |
|
IntervalGraph.remove_edge |
Reporting interval graph, nodes and edges¶
IntervalGraph.nodes |
|
IntervalGraph.has_node |
|
IntervalGraph.edges |
|
IntervalGraph.has_edge |
|
IntervalGraph.__contains__ |
|
IntervalGraph.__str__ |
|
IntervalGraph.interval |
Counting nodes and edges¶
IntervalGraph.number_of_nodes |
|
IntervalGraph.__len__ |
Making copies and subgraphs¶
IntervalGraph.to_subgraph |
|
IntervalGraph.to_snapshots |
|
IntervalGraph.to_snapshot_graph |
Loading an interval graph¶
IntervalGraph.load_from_txt |
|
IntervalGraph.save_to_txt |
|
IntervalGraph.from_networkx_graph |
|
IntervalGraph.from_snapshot_graph |
Analyzing interval graphs¶
IntervalGraph.degree |