org.optaplanner.core.impl.domain.solution.mutation
Class MutationCounter
java.lang.Object
  
org.optaplanner.core.impl.domain.solution.mutation.MutationCounter
public class MutationCounter
- extends Object
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
solutionDescriptor
protected final SolutionDescriptor solutionDescriptor
MutationCounter
public MutationCounter(SolutionDescriptor solutionDescriptor)
countMutations
public int countMutations(Solution a,
                          Solution b)
- Parameters:
 a - never nullb - never null
- Returns:
 - >= 0, the number of planning variables that have a different value in 
a and b. 
 
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.