Class Diameter

Inheritance Relationships

Base Type

Class Documentation

class Diameter : public NetworKit::Algorithm

Public Functions

Diameter(const Graph &G, DiameterAlgo algo = DiameterAlgo::AUTOMATIC, double error = -1.f, count nSamples = 0)
virtual void run() override

The generic run method which calls runImpl() and takes care of setting hasRun to the appropriate value.

std::pair<count, count> getDiameter() const