Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2384


Ignore:
Timestamp:
09/23/09 17:12:15 (15 years ago)
Author:
mkommend
Message:

added possibility to create input variables in modeling database (ticket #759)

Location:
trunk/sources
Files:
2 edited

Legend:

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

    r2382 r2384  
    266266    }
    267267
     268    public IInputVariable CreateInputVariable(IModel model, IVariable variable) {
     269      InputVariable inputVariable = new InputVariable((Model)model, (Variable)variable);
     270      return inputVariable;
     271    }
     272
    268273    public IInputVariableResult CreateInputVariableResult(IInputVariable inputVariable, IResult result, double value) {
    269274      InputVariable i = (InputVariable)inputVariable;
  • trunk/sources/HeuristicLab.Modeling.Database/3.2/IModelingDatabase.cs

    r2382 r2384  
    7171    IModelMetaData CreateModelMetaData(IModel model, IMetaData metadata, double value);
    7272    void PersistModelMetaData(IModel model, IEnumerable<IModelMetaData> modelMetaData);
     73    IInputVariable CreateInputVariable(IModel model, IVariable variable);
    7374  }
    7475}
Note: See TracChangeset for help on using the changeset viewer.