Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/24/09 15:15:16 (15 years ago)
Author:
mkommend
Message:

changed modeling database backend to use a shared read connection => notification by exception if another program is connected to the database (ticket #759)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Modeling.Database/3.2/IModelingDatabase.cs

    r2451 r2530  
    3030    bool ReadOnly { get; set; }
    3131    void Connect();
     32    void Commit();
    3233    void EmptyDatabase();
    3334    void Disconnect();
     
    4142    IEnumerable<IAlgorithm> GetAllAlgorithms();
    4243
    43     IModel Persist(HeuristicLab.Modeling.IAlgorithm algorithm);
    44     IModel Persist(HeuristicLab.Modeling.IAnalyzerModel model, string algorithmName, string algorithmDescription);
     44    void Persist(HeuristicLab.Modeling.IAnalyzerModel model, string algorithmName, string algorithmDescription);
    4545
    4646    IModel CreateModel(string modelName, ModelType modelType, IAlgorithm algorithm, IVariable targetVariable,
    4747      int trainingSamplesStart, int trainingSamplesEnd, int validationSamplesStart, int validationSamplesEnd, int testSamplesStart, int testSamplesEnd);
    48     IModel CreateModel(int id,string modelName, ModelType modelType, IAlgorithm algorithm, IVariable targetVariable,
     48    IModel CreateModel(int id, string modelName, ModelType modelType, IAlgorithm algorithm, IVariable targetVariable,
    4949    int trainingSamplesStart, int trainingSamplesEnd, int validationSamplesStart, int validationSamplesEnd, int testSamplesStart, int testSamplesEnd);
    5050    void PersistModel(IModel model);
Note: See TracChangeset for help on using the changeset viewer.