Last change
on this file since 14600 was
14586,
checked in by jkarder, 8 years ago
|
#2205: worked on optimization networks
- added projects for integrated optimization (orchestration)
|
File size:
523 bytes
|
Line | |
---|
1 | using HeuristicLab.Core;
|
---|
2 | using HeuristicLab.Core.Networks;
|
---|
3 |
|
---|
4 | namespace HeuristicLab.Networks.IntegratedOptimization {
|
---|
5 | public static class Utils {
|
---|
6 | public static bool TranslateMessage<T>(IMessage message, out T expectedMessage) where T : class, IMessage {
|
---|
7 | expectedMessage = message as T;
|
---|
8 | return expectedMessage != null;
|
---|
9 | }
|
---|
10 |
|
---|
11 | public static IMessageValue<T> CreateMessageValue<T>(string name, T value) where T : class, IItem {
|
---|
12 | return new MessageValue<T>(name, value);
|
---|
13 | }
|
---|
14 | }
|
---|
15 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.