"""
States Metrics
=================

Defines metrics that summarize the state based on the districts.
"""
__all__ = ('StateMetric', )


class StateMetric(object):
    """Metrics used across :class:`distopia.district.District`.
    """

    name = ''
    """A globally unique metric name that describes the metric.
    """

    districts = []

    def __init__(self, name, districts, **kwargs):
        super(StateMetric, self).__init__(**kwargs)
        self.name = name
        self.districts = districts

    def compute(self):
        raise NotImplementedError

bae87fafa6f0d35743a03f77538185f8a6c09f64
<mask token>


class StateMetric(object):
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def __init__(self, name, districts, **kwargs):
        super(StateMetric, self).__init__(**kwargs)
        self.name = name
        self.districts = districts

    def compute(self):
        raise NotImplementedError

<mask token>


class StateMetric(object):
    <mask token>
    name = ''
    <mask token>
    districts = []

    def __init__(self, name, districts, **kwargs):
        super(StateMetric, self).__init__(**kwargs)
        self.name = name
        self.districts = districts

    def compute(self):
        raise NotImplementedError

<mask token>


class StateMetric(object):
    """Metrics used across :class:`distopia.district.District`.
    """
    name = ''
    """A globally unique metric name that describes the metric.
    """
    districts = []

    def __init__(self, name, districts, **kwargs):
        super(StateMetric, self).__init__(**kwargs)
        self.name = name
        self.districts = districts

    def compute(self):
        raise NotImplementedError

<mask token>
__all__ = 'StateMetric',


class StateMetric(object):
    """Metrics used across :class:`distopia.district.District`.
    """
    name = ''
    """A globally unique metric name that describes the metric.
    """
    districts = []

    def __init__(self, name, districts, **kwargs):
        super(StateMetric, self).__init__(**kwargs)
        self.name = name
        self.districts = districts

    def compute(self):
        raise NotImplementedError

"""
States Metrics
=================

Defines metrics that summarize the state based on the districts.
"""
__all__ = ('StateMetric', )


class StateMetric(object):
    """Metrics used across :class:`distopia.district.District`.
    """

    name = ''
    """A globally unique metric name that describes the metric.
    """

    districts = []

    def __init__(self, name, districts, **kwargs):
        super(StateMetric, self).__init__(**kwargs)
        self.name = name
        self.districts = districts

    def compute(self):
        raise NotImplementedError
