Free cookie consent management tool by TermsFeed Policy Generator

source: branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Data/Pool/PooledList.cs @ 15189

Last change on this file since 15189 was 15189, checked in by pkimmesw, 7 years ago

#2665 Fixed small issues, testet benchmark suite, added INX Expressions

File size: 380 bytes
Line 
1using System.Collections.Generic;
2
3namespace HeuristicLab.Problems.ProgramSynthesis.Push.Data.Pool {
4  using System;
5
6  [Serializable]
7  public class PooledList<T> : List<T>, IPooledObject {
8    public Guid Id { get; private set; }
9
10    void IPooledObject.Init() {
11      Id = Guid.NewGuid();
12    }
13
14    void IPooledObject.Reset() {
15      Clear();
16    }
17  }
18}
Note: See TracBrowser for help on using the repository browser.