public static TycheAgent GetTrainingAgent(float biasFactor = -1.0f, bool useSecrets = false) { const bool ADJUST_EPISODES = false; const bool HERO_BASED_WEIGHTS = false; var weights = TyStateWeights.GetDefault(); if (biasFactor >= 0.0f) { weights.SetWeight(TyStateWeights.WeightType.BiasFactor, biasFactor); } var agent = new TycheAgent(weights, HERO_BASED_WEIGHTS, 0, ADJUST_EPISODES); agent.UsedAlgorithm = Algorithm.Greedy; agent._analyzer.EstimateSecretsAndSpells = useSecrets; return(agent); }
public TycheAgent() : this(TyStateWeights.GetDefault(), true, DEFAULT_NUM_EPISODES_MULTIPLIER, true) { }
public static TycheAgent GetSearchTreeAgent(int episodeMultiplier) { return(new TycheAgent(TyStateWeights.GetDefault(), true, episodeMultiplier, true)); }