Module src.olaaaf.distance.domain.variableTupleDomaine

Class reprensenting a domain on which a distance function is defined on a tuple of olaaaf.variable.variable.Variable.

Classes

class VariableTupleDomaine (*variable: Variable)

Class reprensenting a domain on which a distance function is defined on a tuple of olaaaf.variable.variable.Variable.

Parameters

variable : list of olaaaf.variable.variable.Variable
The variables on which the domain is defined.
Expand source code
class VariableTupleDomaine(Domain):
    """
    Class reprensenting a domain on which a distance function is defined on a tuple of `olaaaf.variable.variable.Variable`.

    Parameters
    ----------
    variable : list of olaaaf.variable.variable.Variable
        The variables on which the domain is defined.
    """

    def __init__(self, *variable : Variable):

        self._variable = tuple(variable)

Ancestors