Last change
on this file since 10450 was
10450,
checked in by abeham, 10 years ago
|
#1610: Added a base infrastructure for discrete event simulation
|
File size:
730 bytes
|
Line | |
---|
1 | using HeuristicLab.Common;
|
---|
2 | using HeuristicLab.Optimization;
|
---|
3 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
4 |
|
---|
5 | namespace HeuristicLab.SimulationCore {
|
---|
6 | [StorableClass]
|
---|
7 | public abstract class Reporter<TModel> : IReporter<TModel> where TModel : IModel {
|
---|
8 |
|
---|
9 | [StorableConstructor]
|
---|
10 | protected Reporter(bool deserializing) { }
|
---|
11 | protected Reporter(Reporter<TModel> original, Cloner cloner) {
|
---|
12 | cloner.RegisterClonedObject(original, this);
|
---|
13 | }
|
---|
14 | protected Reporter() { }
|
---|
15 |
|
---|
16 | public abstract void UpdateReporting(TModel model, ResultCollection results);
|
---|
17 |
|
---|
18 | public object Clone() { return Clone(new Cloner()); }
|
---|
19 | public abstract IDeepCloneable Clone(Cloner cloner);
|
---|
20 | }
|
---|
21 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.