@if (Model.batch.Optimizer is HeuristicLab.Optimization.IAlgorithm)
{
@Html.Partial("OpenFilePartials/_AlgorithmSmall",
new HeuristicLab.Clients.Hive.WebJobManager.Models.AlgorithmContainer(
((HeuristicLab.Optimization.IAlgorithm)Model.batch.Optimizer),
Model.depth.ToList(),
new int[] { 0, 0 },
Model.randy))
}
else if (Model.batch.Optimizer is HeuristicLab.Optimization.BatchRun)
{
@Html.Partial("OpenFilePartials/_BatchRunSmall",
new HeuristicLab.Clients.Hive.WebJobManager.Models.BatchRunContainer(
((HeuristicLab.Optimization.BatchRun)Model.batch.Optimizer),
Model.depth.ToList(),
new int[] { 0, 0 },
Model.randy)) ;
}
else if (Model.batch.Optimizer is HeuristicLab.Optimization.Experiment)
{
@Html.Partial("OpenFilePartials/_ExperimentSmall",
new HeuristicLab.Clients.Hive.WebJobManager.Models.ExperimentContainer(
((HeuristicLab.Optimization.Experiment)Model.batch.Optimizer),
Model.depth.ToList(),
new int[] { 0, 0 },
Model.randy)) ;
}