Class EquivalenceUtils


  • public class EquivalenceUtils
    extends Object
    • Constructor Detail

      • EquivalenceUtils

        public EquivalenceUtils()
    • Method Detail

      • areLocalAssignmentsEquivalent

        public static boolean areLocalAssignmentsEquivalent​(LocalAssignment first,
                                                            LocalAssignment second)
        Decide the equivalence of two local assignments, ignoring the order of executors This is different from #equal method.
        Parameters:
        first - Local assignment A
        second - Local assignment B
        Returns:
        True if A and B are equivalent, ignoring the order of the executors