Exemple #1
0
    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()]);
 }
Exemple #3
0
 private void VisualizeGrountTruth()
 {
     int[] gt = _gtg.Grids()[_som.CurrentObject()];
     _ogm.BuildGridVisualized(gt);
 }