@model HeuristicLab.Clients.Hive.WebJobManager.ViewModels.FileOpeningViewModel
@{System.Random randomizer = new Random();
int randy = randomizer.Next(50000); }
@Model.message
Batch: @Model.SelectedBatchRun.Name
Repeats:
x
Distribute child tasks
@if (Model.SelectedBatchRun.Optimizer is HeuristicLab.Optimization.IAlgorithm)
{
@Html.Partial("OpenFilePartials/_AlgorithmSmall",
new HeuristicLab.Clients.Hive.WebJobManager.Models.AlgorithmContainer(
((HeuristicLab.Optimization.IAlgorithm)Model.SelectedBatchRun.Optimizer),
new List(),
new int[] { 0, 0 },
randomizer));
}
else if (Model.SelectedBatchRun.Optimizer is HeuristicLab.Optimization.BatchRun)
{
@Html.Partial("OpenFilePartials/_BatchRunSmall",
new HeuristicLab.Clients.Hive.WebJobManager.Models.BatchRunContainer(
((HeuristicLab.Optimization.BatchRun)Model.SelectedBatchRun.Optimizer),
new List(),
new int[] { 0, 0 },
randomizer));
}
else if (Model.SelectedBatchRun.Optimizer is HeuristicLab.Optimization.Experiment)
{
@Html.Partial("OpenFilePartials/_ExperimentSmall",
new HeuristicLab.Clients.Hive.WebJobManager.Models.ExperimentContainer(
((HeuristicLab.Optimization.Experiment)Model.SelectedBatchRun.Optimizer),
new List(),
new int[] { 0, 0 },
randomizer));
}