set the edges for a vertex in a dag
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(dag), | intent(inout) | :: | me | |||
integer(kind=ip), | intent(in) | :: | ivertex |
vertex number |
||
integer(kind=ip), | intent(in), | dimension(:) | :: | edges | ||
character(len=*), | intent(in), | dimension(:) | :: | attributes |
other attributes when saving as a diagraph. |
|
character(len=*), | intent(in), | optional, | dimension(:) | :: | label |
subroutine dag_set_edges_vector_atts(me,ivertex,edges,attributes,label) class(dag),intent(inout) :: me integer(ip),intent(in) :: ivertex !! vertex number integer(ip),dimension(:),intent(in) :: edges character(len=*),dimension(:),intent(in) :: attributes !! other attributes when !! saving as a diagraph. character(len=*),dimension(:),intent(in),optional :: label call me%vertices(ivertex)%set_edges(edges,label=label,attributes=attributes) end subroutine dag_set_edges_vector_atts