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; }
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; }
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; }