kmath icon indicating copy to clipboard operation
kmath copied to clipboard

Move `LogicAlgebra.Companion.TRUE` and `LogicAlgebra.Companion.FALSE` somewhere else

Open CommanderTvis opened this issue 4 years ago • 4 comments

It is incorrect to stick true and false to logic operations because of many-valued logic systems: ternary logic, probabilistic logic.

CommanderTvis avatar Jul 05 '21 05:07 CommanderTvis

I do not think that fuzzy logic could be made to work with the same interfaces as boolean logic. Does it even have the same operations?

altavir avatar Jul 05 '21 08:07 altavir

No, my mistake in mentioning it.

CommanderTvis avatar Jul 05 '21 15:07 CommanderTvis

In this case, we use this interface only for binary logic (we can rename it to BinaryLogic if you want).

altavir avatar Jul 05 '21 16:07 altavir

It's OK.

CommanderTvis avatar Jul 05 '21 17:07 CommanderTvis