/// <summary> /// The start. /// </summary> private void Start() { this.pathTester = GetComponent<PathfindTester>(); if (this.pathTester == null) { Debug.LogError("Something gone really wrong! No PathfinderTester" + " found by PathfinderTesterGUI!"); } }
/// <summary> /// Initializes a new instance of the <see cref="BenchmarkData"/> class. /// Constructor for the benchmark data. /// </summary> /// <param name="test"> /// A reference to the actual testing class instance. /// </param> public BenchmarkData(PathfindTester test) { this.RunsData = new List<SingleRunData>(); this.AgentType = test.ThePathfinder.AgentBelief.ToString(); this.BeliefMemoryUsed = test.ThePathfinder.AgentBelief.MemoryByteUsed(); this.ScrambleRate = test.ScrambleRate; this.IncosistencyRate = test.RandomStrategy.GetRandomAmount(); this.MapFile = test.CurrentMapName; this.ParamTag = test.CurrentParam; }