| 136 | } |
| 137 | |
| 138 | void InputQuery::removeEquationsByIndex( const Set<unsigned> indices ) |
| 139 | { |
| 140 | unsigned m = _equations.size(); |
| 141 | List<Equation>::iterator it = _equations.begin(); |
| 142 | |
| 143 | for ( unsigned index = 0; index < m; ++index ) |
| 144 | { |
| 145 | if ( indices.exists( index ) ) |
| 146 | it = _equations.erase( it ); |
| 147 | else |
| 148 | ++it; |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | const List<Equation> &InputQuery::getEquations() const |
| 153 | { |
no test coverage detected