Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Models/AlgorithmContainer.cs @ 13733

Last change on this file since 13733 was 13733, checked in by jlodewyc, 8 years ago

#2582 Last fixes Job Manager

File size: 719 bytes
Line 
1using HeuristicLab.Optimization;
2using System;
3using System.Collections.Generic;
4using System.Linq;
5using System.Threading.Tasks;
6
7namespace HeuristicLab.Clients.Hive.WebJobManager.Models
8{
9    /// <summary>
10    /// Used for file opening, contains algorithm, depth and random
11    /// </summary>
12    public class AlgorithmContainer
13    {
14        public IAlgorithm algo { get; set; }
15        public System.Random randy { get; set; }
16        public List<int[]> depth { get; set; }
17        public AlgorithmContainer(IAlgorithm al, List<int[]> d, int[] v, System.Random r)
18        {
19            algo = al;
20            depth = d;
21            depth.Add(v);
22            randy = r;
23        }
24    }
25}
Note: See TracBrowser for help on using the repository browser.