#region License Information /* HeuristicLab * Copyright (C) 2002-2008 Heuristic and Evolutionary Algorithms Laboratory (HEAL) * * This file is part of HeuristicLab. * * HeuristicLab is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * HeuristicLab is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with HeuristicLab. If not, see . */ #endregion using System; using System.Collections.Generic; using System.Text; using System.Xml; namespace HeuristicLab.Core { /// /// Interface to represent a group of operators. /// public interface IOperatorGroup : IStorable { /// /// Gets or sets the name of the current instance. /// string Name { get; set; } /// /// Gets all sub groups of operators of the current instance. /// ICollection SubGroups { get; } /// /// Gets all operators of the current operator group. /// ICollection Operators { get; } /// /// Adds the specified sub group of operators to the current operator group. /// /// The operator group to add. void AddSubGroup(IOperatorGroup group); /// /// Deletes the specified sub group of operators from the current instance. /// /// The sub group to delete. void RemoveSubGroup(IOperatorGroup group); /// /// Adds the specified operator to the current instance. /// /// The operator to add. void AddOperator(IOperator op); /// /// Deletes the specified operator from the current instance. /// /// The operator to remove. void RemoveOperator(IOperator op); /// /// Occurs when the name of the operator group has been changed. /// event EventHandler NameChanged; } }