public class LogSemiring extends Semiring
| Constructor and Description |
|---|
LogSemiring() |
| Modifier and Type | Method and Description |
|---|---|
float |
divide(float w1,
float w2)
Semiring's divide operation
|
boolean |
isMember(float w)
Checks if a value is a valid one the semiring
|
float |
one()
Semiring's one element
|
float |
plus(float w1,
float w2)
Semiring's plus operation
|
float |
reverse(float w1) |
float |
times(float w1,
float w2)
Semiring's times operation
|
float |
zero()
Semiring's zero element
|
equals, naturalLess, toStringpublic float plus(float w1,
float w2)
Semiringpublic float times(float w1,
float w2)
Semiringpublic float divide(float w1,
float w2)
Semiringpublic float zero()
Semiringpublic float one()
Semiringpublic boolean isMember(float w)
Semiring