protected LearningManager(IAgent agent, ILongTermMemory longTermMemory) : base(agent) { this.LongTermMemory = longTermMemory; this.LearningRate = new StatisticalQuantity(this.Scenario.TestsConfig.LearningRate, new Range <double>(0d, 1d)); this.Discount = new StatisticalQuantity(this.Scenario.TestsConfig.Discount, new Range <double>(0d, 1d)); }
public TabuSearch(INeighbourFinder neighbourFinder, ITabuList tabuList, ILongTermMemory longTermMemory, ICostFinder costFinder, IAspirationCriteria aspirationCriteria, IStopCriteria stopCriteria, IStopCriteria noChange, IStopCriteria costLessThan) { this.neighbourFinder = neighbourFinder; this.tabuList = tabuList; this.longTermMemory = longTermMemory; this.costFinder = costFinder; this.aspirationCriteria = aspirationCriteria; this.stopCriteria = stopCriteria; this.noChange = noChange; this.costLessThan = costLessThan; }
public NeighbourFinder(ICostFinder costFinder, ILongTermMemory longTermMemory) { this.costFinder = costFinder; this.longTermMemory = longTermMemory; }
public QLearningManager(IAgent agent, ILongTermMemory longTermMemory) : base(agent, longTermMemory) { }
public PolicyAdjustLearningManager(IAgent agent, ILongTermMemory longTermMemory) : base(agent, longTermMemory) { }