org.decisiondeck.xmcda_oo.utils
Class AssignmentsDifference

java.lang.Object
  extended by org.decisiondeck.xmcda_oo.utils.AssignmentsDifference

public class AssignmentsDifference
extends Object


Constructor Summary
AssignmentsDifference()
           
 
Method Summary
static Set<Alternative> getDifference(Assignments assignments1, Assignments assignments2)
          TODO better comments, check the equal categories assumption.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssignmentsDifference

public AssignmentsDifference()
Method Detail

getDifference

public static Set<Alternative> getDifference(Assignments assignments1,
                                             Assignments assignments2)
TODO better comments, check the equal categories assumption.

Parameters:
assignments1 - must have equal categories.
assignments2 - must have equal categories.
Returns:
the symmetric difference between both sets.


Copyright © 2011. All Rights Reserved.