Opened 15 years ago
Last modified 14 years ago
#866 closed task
SimOpt Communication refactoring — at Version 2
Reported by: | abeham | Owned by: | abeham |
---|---|---|---|
Priority: | high | Milestone: | HeuristicLab 3.3.0 |
Component: | Problems.ExternalEvaluation | Version: | 3.3 |
Keywords: | Cc: |
Description (last modified by abeham)
A number of recent developments has made refactoring the communication branch worthwile:
- There exist good libraries for converting data to and from e.g. JSON both on C# and Java which facilitates interlanguage communication. Even the new serialization in HeuristicLab 3.3 would allow for a JSON backend.
- The whole statemachine idea was nice, but hardly ever practical or useful. Google's own take on such an interface (protocol buffers) doesn't need a state machine. A simple set of messages should do it in our cases too.
- I have more upcoming use for this, so I'd like more comfortable configuration and handling
After discussion with swagner on this issue it was decided to use and try protocol buffers. A new problem should be created called ExternalEvaluationProblem that would allow to configure the communication means and provide an operator for collecting values which can be configured by the user. This operator would create protocol buffer messages that are sent over a driver to the external process.
Change History (2)
comment:1 Changed 15 years ago by abeham
- Status changed from new to assigned
comment:2 Changed 15 years ago by abeham
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.
r3852