def _codomain(self): return variable.Variable(False, 1, constraint.simplex)
def setUp(self): self._var = variable.Variable(self.is_discrete, self.event_rank, self.constraint)
def _codomain(self): return variable.Variable(False, 0, constraint.Range(0., 1.))