public override void Validate(MyValidator validator)
{
//MyLog.INFO.WriteLine("In.c = " + Input.Count + " "+ (Input.Count != 9));
//MyLog.INFO.WriteLine("Out.c = " + Action.Count + " " + (+Action.Count != 9));
base.Validate(validator);
// validator.AssertWarning(XInput.Count == 1 && YInput.Count == 1, this, "Both inputs should have size 1. Only first value will be considered.");
validator.AssertError(EnvironmentData==null || EnvironmentData.Count == 10 ,this, "EnvironmentData input has to have size 10.");
var explore_rate = this.InitialExploration;
var exploration_decay = this.ExplorationDecay;
validator.AssertError(!(explore_rate < 0.0 || explore_rate > 1.0 || exploration_decay < 0.0 || exploration_decay > 1.0), this, "exploration parameters have to be in [0,1]");
}