private void ComputeAccuracy() { int undiscovered = _gtg.gridCount[_som.CurrentObject()] - prediscovered; int occupied = EvaluateGrid(); accuracy = occupied * 1f / _gtg.gridCount[_som.CurrentObject()]; int discovered = occupied - prediscovered; increasedAccuracy = discovered * 1f / undiscovered; prediscovered = occupied; }
public int CurrentObjectGridCount() { return(gridCount[_som.CurrentObject()]); }
private void VisualizeGrountTruth() { int[] gt = _gtg.Grids()[_som.CurrentObject()]; _ogm.BuildGridVisualized(gt); }