Returns the number of vertices (nodes) in the dag.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(dag), | intent(in) | :: | me |
number of vertices
pure function dag_get_number_of_vertices(me) result(nvertices) class(dag),intent(in) :: me integer(ip) :: nvertices !! number of vertices nvertices = me%n end function dag_get_number_of_vertices