Changeset 431 for trunk/sources/HeuristicLab.Constraints
- Timestamp:
- 08/03/08 23:33:45 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Constraints/SubOperatorsConstraintAnalyser.cs
r430 r431 37 37 38 38 public IList<IOperator> GetAllowedOperators(IOperator op, int childIndex) { 39 40 39 AndConstraint andConstraint = new AndConstraint(); 41 40 foreach(IConstraint constraint in op.Constraints) { 42 41 andConstraint.Clauses.Add(constraint); 43 42 } 44 43 45 44 GetAllowedOperatorsVisitor visitor = new GetAllowedOperatorsVisitor(allPossibleOperators, childIndex); 46 45 andConstraint.Accept(visitor); 47 48 46 return visitor.AllowedOperators; 49 47 }
Note: See TracChangeset
for help on using the changeset viewer.