Retrieve the decision levels for each literal in the solver's trail after a check call. The trail contains Boolean literals (decisions and propagations) in the order they were assigned. The returned array has one entry per trail literal, indicating at which decision level it was assigned. Us
()
| 400 | * @throws Z3Exception |
| 401 | **/ |
| 402 | public int[] getTrailLevels() |
| 403 | { |
| 404 | ASTVector trailVector = new ASTVector(getContext(), Native.solverGetTrail(getContext().nCtx(), getNativeObject())); |
| 405 | int[] levels = new int[trailVector.size()]; |
| 406 | Native.solverGetLevels(getContext().nCtx(), getNativeObject(), trailVector.getNativeObject(), trailVector.size(), levels); |
| 407 | return levels; |
| 408 | } |
| 409 | |
| 410 | /** |
| 411 | * Return a sequence of cubes (conjunctions of literals) for partitioning the search space. |
nothing calls this directly
no test coverage detected