Class AbstractNumberedLabeledGraph<T,​U>