Free cookie consent management tool by TermsFeed Policy Generator

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

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

#2582 Job Manager done. Start user management

File size: 721 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
18        public AlgorithmContainer(IAlgorithm al, List<int[]> d, int[] v, System.Random r)
19        {
20            algo = al;
21            depth = d;
22            depth.Add(v);
23            randy = r;
24        }
25    }
26}
Note: See TracBrowser for help on using the repository browser.