<filename>src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/pacman/model/constraints/abstract_constraints/abstract_router_constraint.py
from abc import ABCMeta
from abc import abstractmethod
from six import add_metaclass

from pacman.model.constraints.abstract_constraints.abstract_constraint \
    import AbstractConstraint


@add_metaclass(ABCMeta)
class AbstractRouterConstraint(AbstractConstraint):
    """ A constraint that will be used by the router
    """

    def __init__(self, label):
        """
        :param label: A label for the constraint
        """
        AbstractConstraint.__init__(self, label)

    def is_constraint(self):
        return True

    @abstractmethod
    def is_router_constraint(self):
        """ Determine if this is a router constraint
        """
        pass

<filename>src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/pacman/model/constraints/abstract_constraints/abstract_router_constraint.py
from abc import ABCMeta
from abc import abstractmethod
from six import add_metaclass

from pacman.model.constraints.abstract_constraints.abstract_constraint \
    import AbstractConstraint


@add_metaclass(ABCMeta)
class AbstractRouterConstraint(AbstractConstraint):
    """ A constraint that will be used by the router
    """

    def __init__(self, label):
        """
        :param label: A label for the constraint
        """
        AbstractConstraint.__init__(self, label)

    def is_constraint(self):
        return True

    @abstractmethod
    def is_router_constraint(self):
        """ Determine if this is a router constraint
        """
        pass

A constraint that will be used by the router :param label: A label for the constraint Determine if this is a router constraint