X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fdirected-graph.hh;h=af898a4028a1504a04f6e44f3e4f00958a6e5348;hb=106e5978fe2fa568bbc6649bc8fcf1134307373a;hp=f82222158580c06e72301ac727b85d4e9aacbf85;hpb=2862b1027f316a2f0444fa92e441ee28acf7a463;p=lilypond.git diff --git a/flower/include/directed-graph.hh b/flower/include/directed-graph.hh index f822221585..af898a4028 100644 --- a/flower/include/directed-graph.hh +++ b/flower/include/directed-graph.hh @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997 Han-Wen Nienhuys + (c) 1997--1998 Han-Wen Nienhuys */ @@ -16,36 +16,36 @@ Class to handle two-sided connections between nodes (the Dependencies) */ class Directed_graph_node { - Link_arrayedge_out_l_arr_; - /// targets - Link_array edge_in_l_arr_; + Link_arrayedge_out_l_arr_; + /// targets + Link_array edge_in_l_arr_; public: - /** remove i-th edge_out (and exactly one ref to me in the edge_out) - */ - void remove_edge_out_idx (int i); - void copy_edges_out (Directed_graph_node const&); - bool linked_b() const; - void unlink(); - void junk_links(); - void add (Directed_graph_node*); - void remove_edge_in (Directed_graph_node *); - void remove_edge_out (Directed_graph_node*); - bool contains_b (Directed_graph_node const*) const; - - Directed_graph_node (Directed_graph_node const &); - void OK() const; - Directed_graph_node(); - - ~Directed_graph_node(); + /** remove i-th edge_out (and exactly one ref to me in the edge_out) + */ + void remove_edge_out_idx (int i); + void copy_edges_out (Directed_graph_node const&); + bool linked_b() const; + void unlink(); + void junk_links(); + void add_edge (Directed_graph_node*); + void remove_edge_in (Directed_graph_node *); + void remove_edge_out (Directed_graph_node*); + bool contains_b (Directed_graph_node const*) const; + + Directed_graph_node (Directed_graph_node const &); + void OK() const; + Directed_graph_node(); + + ~Directed_graph_node(); - /** - ensure that no edge_out exists doubly. - */ - void uniq(); - Link_array const& get_out_edge_arr() const; - Link_array const& get_in_edge_arr() const; + /** + ensure that no edge_out exists doubly. + */ + void uniq(); + Link_array const& get_out_edge_arr() const; + Link_array const& get_in_edge_arr() const; }; #endif // DEPENDENCY_HH