Closed davidweichiang closed 2 years ago
Closes #118 Addresses but doesn't close #122
I'm just putting some changes from #127 into here because they fit better here; it's ready to merge any time.
@kennethsible Do you want to submit the cleaning PR (#52) first or do you want me to merge this first?
@kennethsible Do you want to submit the cleaning PR (#52) first or do you want me to merge this first?
I can handle any potential conflicts with the cleaning PR #52, so you can merge this now.
Previously only fixed-point worked with all semirings.
Linear now also works with all semirings, using Floyd-Warshall for solving the equations.
Newton's method works with all semirings except Boolean (which it's not supposed to work for). It relies on a "subtraction" operator for semirings.