org.optaplanner.examples.nqueens.domain.solution
public static class RowStrengthWeightFactory.RowStrengthWeight extends Object implements Comparable<RowStrengthWeightFactory.RowStrengthWeight>
Constructor and Description |
---|
RowStrengthWeightFactory.RowStrengthWeight(Row row,
int distanceFromMiddle) |
public RowStrengthWeightFactory.RowStrengthWeight(Row row, int distanceFromMiddle)
public int compareTo(RowStrengthWeightFactory.RowStrengthWeight other)
compareTo
in interface Comparable<RowStrengthWeightFactory.RowStrengthWeight>
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.