예제 #1
0
    private System.Tuple <float, bool> ComputeReward()
    {
        //Compute the reward of the chosen view
        //Determine if done based on accuracy or other measures

        bool  done   = false;
        float reward = _si.GetScore();

        if (_currentStep > _maxStep || _si.GetDoneOnAccuracy())
        {
            done = true;
        }

        return(System.Tuple.Create(reward, done));
    }