@property<EOL><INDENT>def consider_comms(self):<DEDENT>
return _c_louvain._Optimiser_get_consider_comms(self._optimiser)<EOL>
Determine how alternative communities are considered for moving
        a node for *optimising* a partition.

        Nodes will only move to alternative communities that improve the given
        quality function.

        Notes
        -------
        This attribute should be set to one of the following values

        * :attr:`louvain.ALL_NEIGH_COMMS`
          Consider all neighbouring communities for moving.

        * :attr:`louvain.ALL_COMMS`
          Consider all communities for moving. This is especially useful in the
          case of negative links, in which case it may be better to move a node to
          a non-neighbouring community.

        * :attr:`louvain.RAND_NEIGH_COMM`
          Consider a random neighbour community for moving. The probability to
          choose a community is proportional to the number of neighbours a node has
          in that community.

        * :attr:`louvain.RAND_COMM`
          Consider a random community for moving. The probability to choose a
          community is proportional to the number of nodes in that community.