# networkit.engineering

Tools for algorithm engineering.

networkit.engineering.getCurrentNumberOfThreads()

Get the number of currently running threads

networkit.engineering.getMaxNumberOfThreads()

Get the maximum number of available threads

networkit.engineering.setNumberOfThreads(nThreads)

Set the number of OpenMP threads

networkit.engineering.strongScaling(algorithmClass, threadSequence, inargs, inputTitle=None, repetitions=1, outPath=None)

Evaluate strong scaling, i.e. how the performance varies with the number of threads for a fixed input size.

networkit.engineering.weakScaling(algorithmClass, inargs, threadSequence, inputSequence, inputTitles=None, repetitions=1, outPath=None)

Evaluate weak scaling, i.e. how the performance varies with the number of threads for a fixed input size per processor.