public void GetDefault_None_ParametersToString() { var pars = EvaluatorParameters.GetDefault(); var act = BotData.ParametersToString(pars); Console.Write(act); var bots = new Bots(); bots.Add(pars); bots.Save(new FileInfo("default.xml")); }
public void Save_OneBot_ToFile() { var collection = new SimulationBotCollection() { new BotData() { Id = 17, Locked = true, DefPars = EvaluatorParameters.GetDefault(), }, }; var file = new FileInfo("collection.xml"); collection.Save(file); }
public BlockPath GetMove(Field field, Block current, Block next, int round) { return(GetMove(field, current, next, round, EvaluatorParameters.GetDefault())); }
public static EvaluatorParameters GetDef() { return(EvaluatorParameters.GetDefault().Calc()); }