private int AddDenseSpots(Graph graph)
        {
            int nofDenseSpots;

            _argsParser.GetIntOptionValue("-ds", out nofDenseSpots);
            if (nofDenseSpots == 0)
            {
                return(0);
            }
            int h = nofDenseSpots / 2;

            nofDenseSpots = Math.Max(h + _random.Next() % nofDenseSpots, 1);
            for (int i = 0; i < nofDenseSpots; i++)
            {
                GenerateDenseSpot(graph);
            }
            return(nofDenseSpots);
        }
        private static int GetNumberOfGraphsToGenerate(ArgsParser.ArgsParser _argsParser)
        {
            int ret;

            if (!_argsParser.GetIntOptionValue("-graphs", out ret))
            {
                ret = 10;
            }
            return(ret);
        }