default value in constructor for method in partitioning.cpp