Changeset 7052 for trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Manipulators
- Timestamp:
- 11/23/11 09:55:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Manipulators/MultiSymbolicExpressionTreeManipulator.cs
r7037 r7052 73 73 74 74 List<ISymbolicExpressionTreeManipulator> list = new List<ISymbolicExpressionTreeManipulator>(); 75 var plugin = ApplicationManager.Manager.GetDeclaringPlugin(this.GetType()); 76 foreach (Type type in ApplicationManager.Manager.GetTypes(typeof(ISymbolicExpressionTreeManipulator), plugin)) { 77 if (!typeof(IMultiOperator<ISymbolicExpressionTreeManipulator>).IsAssignableFrom(type) && 78 !typeof(ISymbolicExpressionTreeArchitectureAlteringOperator).IsAssignableFrom(type)) 79 list.Add((ISymbolicExpressionTreeManipulator)Activator.CreateInstance(type)); 75 foreach (Type type in ApplicationManager.Manager.GetTypes(typeof(ISymbolicExpressionTreeManipulator))) { 76 if (this.GetType().Assembly != type.Assembly) continue; 77 if (typeof(IMultiOperator<ISymbolicExpressionTreeManipulator>).IsAssignableFrom(type)) continue; 78 list.Add((ISymbolicExpressionTreeManipulator)Activator.CreateInstance(type)); 80 79 } 81 80 CheckedItemList<ISymbolicExpressionTreeManipulator> checkedItemList = new CheckedItemList<ISymbolicExpressionTreeManipulator>();
Note: See TracChangeset
for help on using the changeset viewer.