Free cookie consent management tool by TermsFeed Policy Generator

source: branches/MPI/HeuristicLab.Operators.MPISupport/3.3/BinaryTransport/Data/IntValueTransfer.cs @ 7544

Last change on this file since 7544 was 7544, checked in by svonolfe, 12 years ago

Improved performance, added MPISolutionsCreator (#1542)

File size: 658 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using HeuristicLab.Core;
6using HeuristicLab.Data;
7
8namespace HeuristicLab.Operators.MPISupport.BinaryTransport {
9  [Serializable]
10  class IntValueTransfer {
11    public int Value { get; set; }
12
13    public static IntValueTransfer Convert(IntValue item) {
14      IntValueTransfer result = new IntValueTransfer();
15
16      result.Value = item.Value;
17
18      return result;
19    }
20
21    public static IntValue Convert(IntValueTransfer item) {
22      IntValue result = new IntValue();
23
24      result.Value = item.Value;
25
26      return result;
27    }
28  }
29}
Note: See TracBrowser for help on using the repository browser.