(self, v0: str, e0: dict[str, float])
| 293 | self.v2e[v] = {v: frac(1)} |
| 294 | |
| 295 | def replace(self, v0: str, e0: dict[str, float]) -> None: |
| 296 | for v, e in list(self.v2e.items()): |
| 297 | self.v2e[v] = replace(e, v0, e0) |
| 298 | |
| 299 | def add_expr(self, vc: list[tuple[str, float]]) -> bool: |
| 300 | """Add a new equality, represented by the list of tuples vc=[(v, c), ..].""" |
no test coverage detected