def One():
     return Semiring1(LogVal.One(), LogVal.Zero())
Exemple #2
0
 def One(cls):
     return cls(LogVal.One(), LogVal.Zero())
 def One():
     return Semiring2(LogVal.One(), LogVal.Zero(), LogValVector(),
                      LogValVector())