Example #1
0
 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)
Example #3
0
 def _codomain(self):
     return variable.Variable(False, 0, constraint.Range(0., 1.))