- Timestamp:
- 06/06/09 02:09:35 (15 years ago)
- Location:
- branches/Operator Architecture Refactoring/HeuristicLab.Core/3.2/Interfaces
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Operator Architecture Refactoring/HeuristicLab.Core/3.2/Interfaces/IEnvironment.cs
r1994 r2027 27 27 public interface IEnvironment : IItem { 28 28 string TranslateName(string name); 29 30 void AddAlias(string oldName, string newName); 31 void RemoveAlias(string name); 29 32 } 30 33 } -
branches/Operator Architecture Refactoring/HeuristicLab.Core/3.2/Interfaces/IOperator.cs
r1994 r2027 49 49 50 50 /// <summary> 51 /// Gets a list of all sub operators. 52 /// </summary> 53 IList<IOperator> SubOperators { get; } 54 /// <summary> 51 55 /// Gets a collection of all variable (parameter) infos. 52 56 /// </summary> 53 57 ICollection<IParameter> Parameters { get; } 58 59 /// <summary> 60 /// Adds the given sub operator to the current instance. 61 /// </summary> 62 /// <param name="op">The operator to add.</param> 63 void AddSubOperator(IOperator op); 64 /// <summary> 65 /// Adds the given sub operator at a the specified <paramref name="index"/>. 66 /// </summary> 67 /// <param name="op">The operator to add.</param> 68 /// <param name="index">The position where to add the operator.</param> 69 void AddSubOperator(IOperator op, int index); 70 /// <summary> 71 /// Removes a sub operator at the specified <paramref name="index"/>. 72 /// </summary> 73 /// <param name="index">The position where to delete the operator.</param> 74 void RemoveSubOperator(int index); 54 75 55 76 /// <summary> … … 75 96 /// <param name="scope">The scope where to execute the current instance.</param> 76 97 /// <returns>The next operation.</returns> 77 IOperation Execute(IEnvironment env ironment, IScope scope);98 IOperation Execute(IEnvironment env, IScope scope); 78 99 /// <summary> 79 100 /// Aborts the current operator. … … 88 109 /// Occurs when the breakpoint flag of the current instance was changed. 89 110 /// </summary> 90 event EventHandler BreakpointChanged; 111 event EventHandler BreakpointChanged; 112 /// <summary> 113 /// Occurs when a sub operator has been added. 114 /// </summary> 115 event EventHandler<OperatorIndexEventArgs> SubOperatorAdded; 116 /// <summary> 117 /// Occurs when a sub operator has been deleted. 118 /// </summary> 119 event EventHandler<OperatorIndexEventArgs> SubOperatorRemoved; 91 120 /// <summary> 92 121 /// Occurs when a variable info has been added. -
branches/Operator Architecture Refactoring/HeuristicLab.Core/3.2/Interfaces/IScope.cs
r1994 r2027 29 29 /// Interface for a hierarchical container of variables (containing variables and subscopes). 30 30 /// </summary> 31 public interface IScope : IItem {31 public interface IScope : IItem, IVariablesContainer { 32 32 /// <summary> 33 33 /// Gets the name of the current instance. … … 35 35 string Name { get; } 36 36 37 /// <summary>38 /// Gets the varibles of the current scope.39 /// </summary>40 ICollection<IVariable> Variables { get; }41 37 /// <summary> 42 38 /// Gets all subscopes in the current scope. … … 50 46 void SetParent(IScope scope); 51 47 52 /// <summary>53 /// Gets a variable with the given <paramref name="name"/>.54 /// </summary>55 /// <param name="name">The name of the variable.</param>56 /// <returns>The variable with the specified name.</returns>57 IVariable GetVariable(string name);58 /// <summary>59 /// Adds the specified variable to the curent instance.60 /// </summary>61 /// <param name="variable">The variable to add.</param>62 void AddVariable(IVariable variable);63 /// <summary>64 /// Deletes a variable with the specified <paramref name="name"/> from the current instance.65 /// </summary>66 /// <param name="name">The name of the variable to delete.</param>67 void RemoveVariable(string name);68 69 48 /// <inheritdoc cref="GetVariableValue(string, bool)"/> 70 49 /// <typeparam name="T">The type of the value that is searched.</typeparam> … … 125 104 126 105 /// <summary> 127 /// Occurs when a variable has been added to the current instance.128 /// </summary>129 event EventHandler<VariableEventArgs> VariableAdded;130 /// <summary>131 /// Occurs when a variable has been deleted from the current instance.132 /// </summary>133 event EventHandler<VariableEventArgs> VariableRemoved;134 /// <summary>135 106 /// Occurs when a sub scope has been added to the current instance. 136 107 /// </summary>
Note: See TracChangeset
for help on using the changeset viewer.