14 #ifndef INCLUDED_core_graph_UpperEdgeGraph_hh
15 #define INCLUDED_core_graph_UpperEdgeGraph_hh
21 #include <platform/types.hh>
24 #include <utility/pointer/ReferenceCount.hh>
26 #include <utility/vector1.fwd.hh>
57 template <
class V,
class E >
139 if (
upper_edges_[ ii ].upper_vertex() == upper_vertex_id )
158 if (
upper_edges_[ ii ].upper_vertex() == upper_vertex_id )
303 template <
class V,
class E >
383 template <
class V,
class E >
403 utility::pointer::ReferenceCount()
439 assert( !
edge_exists( lower_vertex, upper_vertex ));
440 assert( !
edge_exists( upper_vertex, lower_vertex ));
441 vertices_[ lower_vertex ]->add_edge( upper_vertex );
450 assert( !
edge_exists( lower_vertex, upper_vertex ));
451 assert( !
edge_exists( upper_vertex, lower_vertex ));
452 vertices_[ lower_vertex ]->add_edge( upper_vertex, edge_data );
460 return vertices_[ lower_vertex ]->edge_exists( upper_vertex );
465 return vertices_[ lower_vertex ]->get_edge( upper_vertex );
511 iter != eiter; ++iter )
514 add_edge( ii, iter->upper_vertex(), iter->data() );