Compares two solutions and identifies the differences in shifts assigned and changes in
constraint violations.
Namespace:
SRS.ShiftSolver.Tools
Assembly:
ShiftSolver (in ShiftSolver.dll) Version: 2.3.0+2c0a765360648175f37b32b9a08ecd256c911c4c
Syntaxpublic static SolutionDiff Compare(
Solution solution1,
Solution solution2
)
Public Shared Function Compare (
solution1 As Solution,
solution2 As Solution
) As SolutionDiff
public:
static SolutionDiff^ Compare(
Solution^ solution1,
Solution^ solution2
)
static member Compare :
solution1 : Solution *
solution2 : Solution -> SolutionDiff
Parameters
- solution1
- Type: SRS.ShiftSolver.CoreSolution
The original solution. - solution2
- Type: SRS.ShiftSolver.CoreSolution
The new solution.
Return Value
Type:
SolutionDiffThe diff of the two solutions.
See Also