Last change
on this file since 12966 was
7544,
checked in by svonolfe, 13 years ago
|
Improved performance, added MPISolutionsCreator (#1542)
|
File size:
658 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using HeuristicLab.Core;
|
---|
6 | using HeuristicLab.Data;
|
---|
7 |
|
---|
8 | namespace 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.