Class RowStrengthWeightFactory.RowStrengthWeight
- java.lang.Object
-
- org.optaplanner.examples.nqueens.domain.solution.RowStrengthWeightFactory.RowStrengthWeight
-
- All Implemented Interfaces:
Comparable<RowStrengthWeightFactory.RowStrengthWeight>
- Enclosing class:
- RowStrengthWeightFactory
public static class RowStrengthWeightFactory.RowStrengthWeight extends Object implements Comparable<RowStrengthWeightFactory.RowStrengthWeight>
-
-
Constructor Summary
Constructors Constructor Description RowStrengthWeight(Row row, int distanceFromMiddle)
-
-
-
Constructor Detail
-
RowStrengthWeight
public RowStrengthWeight(Row row, int distanceFromMiddle)
-
-
Method Detail
-
compareTo
public int compareTo(RowStrengthWeightFactory.RowStrengthWeight other)
- Specified by:
compareToin interfaceComparable<RowStrengthWeightFactory.RowStrengthWeight>
-
-