Exemplo n.º 1
0
        public RecordTravel(OrganonStand stand, OrganonConfiguration organonConfiguration, Objective objective, HeuristicParameters parameters)
            : base(stand, organonConfiguration, objective, parameters)
        {
            int treeRecordCount = stand.GetTreeRecordCount();

            this.Alpha = Constant.MonteCarloDefault.RecordTravelAlpha;
            this.ChangeToExchangeAfter = Int32.MaxValue;
            this.FixedDeviation        = 0.0F;
            this.FixedIncrease         = 0.0F;
            this.IncreaseAfter         = (int)(Constant.MonteCarloDefault.ReheatAfter * treeRecordCount + 0.5F);
            this.Iterations            = Constant.MonteCarloDefault.IterationMultiplier * treeRecordCount;
            this.MoveType          = MoveType.OneOpt;
            this.RelativeDeviation = 0.0F;
            this.RelativeIncrease  = Constant.MonteCarloDefault.RecordTravelRelativeIncrease;
            this.StopAfter         = Constant.MonteCarloDefault.StopAfter * treeRecordCount;
        }
Exemplo n.º 2
0
 public RandomGuessing(OrganonStand stand, OrganonConfiguration configuration, Objective objective, HeuristicParameters parameters)
     : base(stand, configuration, objective, parameters)
 {
     this.CentralSelectionPercentage = parameters.ProportionalPercentage;
     this.Iterations = 4 * stand.GetTreeRecordCount();
     this.SelectionPercentageWidth = 20.0F;
 }
Exemplo n.º 3
0
 public TabuSearch(OrganonStand stand, OrganonConfiguration organonConfiguration, Objective objective, TabuParameters parameters)
     :  base(stand, organonConfiguration, objective, parameters)
 {
     this.EscapeAfter    = parameters.EscapeAfter;
     this.EscapeDistance = parameters.EscapeDistance;
     this.Iterations     = parameters.Iterations;
     //this.Jump = parameters.Jump;
     this.MaximumTenure = parameters.MaximumTenure;
     this.Tenure        = parameters.Tenure;
 }