コード例 #1
0
 public boolean isAccepted(MoveScope moveScope) {
   if (moveScope.getScore().compareTo(waterLevelScore) >= 0) {
     return true;
   } else {
     return false;
   }
 }
コード例 #2
0
 @Override
 protected Collection<? extends Object> findTabu(MoveScope moveScope) {
   return moveScope.getMove().getPlanningEntities();
 }
コード例 #3
0
 @Override
 protected Collection<? extends Object> findTabu(MoveScope moveScope) {
   return Collections.singletonList(moveScope.getMove());
 }