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.2.0.0
Syntax public 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