Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 3c4b53fe

Přidáno uživatelem Roman Kalivoda před téměř 4 roky(ů)

Re #9049 Implemented Rollback method

Zobrazit rozdíly:

Server/ServerApp/Predictor/IPredictionController.cs
26 26
        /// Loads trained predictors from files in <c>path</c>.
27 27
        /// </summary>
28 28
        /// <param name="path">A path to folder with trained prediction model.</param>
29
        void Load(string path);
29
        int Load(string path);
30 30

  
31 31
        /// <summary>
32 32
        /// Rolls back the predictors to previous trained instances.
33 33
        /// </summary>
34
        void Rollback();
34
        int Rollback();
35 35

  
36 36
        /// <summary>
37 37
        /// Predicts turnout level at given time supposing given weather conditions.
......
45 45
        /// </summary>
46 46
        /// <returns>Collection of filenames</returns>
47 47
        IEnumerable<string> GetDataFileNames();
48

  
49
        /// <summary>
50
        /// Saves the predictors to model data path.
51
        /// </summary>
52
        public void Save();
48 53
    }
49 54
}

Také k dispozici: Unified diff