Last change
on this file since 8958 was
8958,
checked in by fschoepp, 11 years ago
|
#1888:
- Added a administrator web interface for job management
- Fixed Hive Client (PluginValidator) to find the assemblies within the right directories
- Reorganized controller classes (Folders HL, Interfaces, Azure)
- You may now successfully schedule and run jobs with the web ui.
|
File size:
594 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using HeuristicLab.Data;
|
---|
6 |
|
---|
7 | namespace HeuristicLab.Services.Optimization.ControllerService.Model {
|
---|
8 | public static class HiveMapper {
|
---|
9 | public static double FindDoubleValue(this InputParameters ip, string what) {
|
---|
10 | foreach (var param in ip.Items) {
|
---|
11 | if (param.Value.Name == what) {
|
---|
12 | var dv = param.Value as DecimalValue;
|
---|
13 | //DoubleValue result = new DoubleValue(dv.Value);
|
---|
14 | return dv.Value;
|
---|
15 | }
|
---|
16 | }
|
---|
17 | return 0.0;
|
---|
18 | }
|
---|
19 | }
|
---|
20 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.