f different algorithms.

%% Example 1: Calculating Modularity
% The next example shows how to detect modularity using the default algorithm:
%
matrix = MatrixFunctions.BLOCK_MATRIX(2,10);
bp = Bipartite(matrix);
bp.plotter.PlotMatrix();
bp.community.Detect();
%%
% We can also change the default algorithm before detecting the community
% structure, choosing among one of the three options described before:
bp.community = LPBrim(matrix);
bp.community.Detect();
%%
% Further, there is no need to w