Returns the metadata for an edge in the dag.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(dag), | intent(in) | :: | me | |||
integer(kind=ip), | intent(in) | :: | ivertex |
vertex number |
||
integer(kind=ip), | intent(in) | :: | iedge |
edge vertex |
pure function dag_get_edge_metadata(me,ivertex,iedge) result(m) class(dag),intent(in) :: me integer(ip),intent(in) :: ivertex !! vertex number integer(ip),intent(in) :: iedge !! edge vertex class(*),allocatable :: m associate ( i => me%get_edge_index(ivertex,iedge) ) if (i>0) allocate(m, source = me%vertices(ivertex)%edges(i)%metadata) end associate end function dag_get_edge_metadata