コード例 #1
0
        public ITabuChecker GetSoftTabuChecker()
        {
            if (softTabuChecker == null)
            {
                softTabuChecker = new PotvinPDShiftTabuCriterion();
                softTabuChecker.UseAspirationCriterion.Value = true;
            }

            return(softTabuChecker);
        }
コード例 #2
0
        public ITabuChecker GetTabuChecker()
        {
            if (tabuChecker == null)
            {
                tabuChecker = new PotvinPDShiftTabuCriterion();
                tabuChecker.UseAspirationCriterion.Value = false;
            }

            return(tabuChecker);
        }
コード例 #3
0
 protected PotvinPDShiftTabuCriterion(PotvinPDShiftTabuCriterion original, Cloner cloner) : base(original, cloner)
 {
 }
コード例 #4
0
 protected PotvinPDShiftTabuCriterion(PotvinPDShiftTabuCriterion original, Cloner cloner) : base(original, cloner) { }
コード例 #5
0
    public ITabuChecker GetSoftTabuChecker() {
      if (softTabuChecker == null) {
        softTabuChecker = new PotvinPDShiftTabuCriterion();
        softTabuChecker.UseAspirationCriterion.Value = true;
      }

      return softTabuChecker;
    }
コード例 #6
0
    public ITabuChecker GetTabuChecker() {
      if (tabuChecker == null) {
        tabuChecker = new PotvinPDShiftTabuCriterion();
        tabuChecker.UseAspirationCriterion.Value = false;
      }

      return tabuChecker;
    }