function getRandomInt(min, max) {
        return Math.floor(Math.random() * (max - min)) + min;
    }
@param {IGraph} graph
@param {CommunityStructure} theStructure
@param {Array.<Number>} comStructure
@param {Number} currentResolution
@param {Boolean} randomized
@param {Boolean} weighted
@returns {Object.<String, Number>}