mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	rewrite terminology for policheck
Signed-off-by: nikolajbjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									7735a40752
								
							
						
					
					
						commit
						aa40316268
					
				
					 5 changed files with 21 additions and 19 deletions
				
			
		| 
						 | 
				
			
			@ -176,9 +176,9 @@ public class Solver extends Z3Object
 | 
			
		|||
     **/
 | 
			
		||||
    public int getNumAssertions() throws Z3Exception
 | 
			
		||||
    {
 | 
			
		||||
        ASTVector ass = new ASTVector(getContext(), Native.solverGetAssertions(
 | 
			
		||||
        ASTVector assrts = new ASTVector(getContext(), Native.solverGetAssertions(
 | 
			
		||||
                getContext().nCtx(), getNativeObject()));
 | 
			
		||||
        return ass.size();
 | 
			
		||||
        return assrts.size();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
| 
						 | 
				
			
			@ -188,12 +188,12 @@ public class Solver extends Z3Object
 | 
			
		|||
     **/
 | 
			
		||||
    public BoolExpr[] getAssertions() throws Z3Exception
 | 
			
		||||
    {
 | 
			
		||||
        ASTVector ass = new ASTVector(getContext(), Native.solverGetAssertions(
 | 
			
		||||
        ASTVector assrts = new ASTVector(getContext(), Native.solverGetAssertions(
 | 
			
		||||
                getContext().nCtx(), getNativeObject()));
 | 
			
		||||
        int n = ass.size();
 | 
			
		||||
        int n = assrts.size();
 | 
			
		||||
        BoolExpr[] res = new BoolExpr[n];
 | 
			
		||||
        for (int i = 0; i < n; i++)
 | 
			
		||||
            res[i] = new BoolExpr(getContext(), ass.get(i).getNativeObject());
 | 
			
		||||
            res[i] = new BoolExpr(getContext(), assrts.get(i).getNativeObject());
 | 
			
		||||
        return res;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue