Example #1
0
        public PredictedClassAction GetNextPrediction()
        {
            MetaPredictor <ClassSequence> MyBestPredictor   = MaxBy(YourMetaPredictors, p => p.Score);
            MetaPredictor <ClassSequence> YourBestPredictor = MaxBy(YourMetaPredictors, p => p.Score);

            if (MyBestPredictor.Score > YourBestPredictor.Score)
            {
                return(new PredictedClassAction(BeatClass(MyBestPredictor.NextPrediction), MyBestPredictor.Score));
            }
            else
            {
                return(new PredictedClassAction(YourBestPredictor.NextPrediction, YourBestPredictor.Score));
            }
        }
Example #2
0
        public PredictedMoveAction GetNextPrediction()
        {
            MetaPredictor <MoveSequence> MyBestPredictor   = MaxBy(MyMetaPredictors, p => p.Score);
            MetaPredictor <MoveSequence> YourBestPredictor = MaxBy(YourMetaPredictors, p => p.Score);

            if (MyBestPredictor.Score > YourBestPredictor.Score)
            {
                return(new PredictedMoveAction(BeatWithoutDynamite(MyBestPredictor.NextPrediction), MyBestPredictor.Score));
            }
            else
            {
                return(new PredictedMoveAction(YourBestPredictor.NextPrediction, YourBestPredictor.Score));
            }
        }
Example #3
0
        public PredictedClassAction GetNextPrediction()
        {
            MetaPredictor <ClassSequence> BestPredictor = MaxBy(YourMetaPredictors, p => p.Score);

            return(new PredictedClassAction(BestPredictor.NextPrediction, BestPredictor.Score));
        }