Changeset 7052 for trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/ArchitectureManipulators/MultiSymbolicExpressionTreeArchitectureManipulator.cs
- Timestamp:
- 11/23/11 09:55:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/ArchitectureManipulators/MultiSymbolicExpressionTreeArchitectureManipulator.cs
r7037 r7052 97 97 98 98 List<ISymbolicExpressionTreeManipulator> list = new List<ISymbolicExpressionTreeManipulator>(); 99 var plugin = ApplicationManager.Manager.GetDeclaringPlugin(this.GetType());100 foreach (Type type in ApplicationManager.Manager.GetTypes(typeof(ISymbolicExpressionTreeManipulator), plugin)) {101 if ( !typeof(IMultiOperator<ISymbolicExpressionTreeManipulator>).IsAssignableFrom(type))102 99 foreach (Type type in ApplicationManager.Manager.GetTypes(typeof(ISymbolicExpressionTreeManipulator))) { 100 if (this.GetType().Assembly != type.Assembly) continue; 101 if (typeof(IMultiOperator<ISymbolicExpressionTreeManipulator>).IsAssignableFrom(type)) continue; 102 list.Add((ISymbolicExpressionTreeManipulator)Activator.CreateInstance(type)); 103 103 } 104 104 CheckedItemList<ISymbolicExpressionTreeManipulator> checkedItemList = new CheckedItemList<ISymbolicExpressionTreeManipulator>();
Note: See TracChangeset
for help on using the changeset viewer.