Changeset 7538 for branches/GeneralizedQAP/HeuristicLab.Problems.Instances/3.3/IProblemInstanceProvider.cs
- Timestamp:
- 03/01/12 15:15:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP/HeuristicLab.Problems.Instances/3.3/IProblemInstanceProvider.cs
r7482 r7538 30 30 Uri WebLink { get; } 31 31 string ReferencePublication { get; } 32 33 bool ConsumerCanBeFed { get; }34 35 void SetConsumer(IProblemInstanceConsumer consumer);36 bool FeedConsumer(IInstanceDescriptor descriptor);37 38 IEnumerable<IInstanceDescriptor> GetInstanceDescriptors();39 32 } 40 33 41 34 public interface IProblemInstanceProvider<TInstance> : IProblemInstanceProvider { 42 TInstance GetInstance(IInstanceDescriptor descriptor); 35 IConsumable<TInstance> Consumer { get; set; } 36 37 IEnumerable<IInstanceDescriptor> GetInstanceDescriptors(); 38 TInstance LoadInstance(IInstanceDescriptor descriptor); 39 TInstance LoadInstance(string path); 40 41 void SaveInstance(TInstance instance, string path); 43 42 } 44 43 }
Note: See TracChangeset
for help on using the changeset viewer.