mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	This commit is contained in:
		
							parent
							
								
									f7d1cce69a
								
							
						
					
					
						commit
						4a0a678e3f
					
				
					 4 changed files with 41 additions and 9 deletions
				
			
		|  | @ -32,6 +32,12 @@ namespace q { | |||
|                 << mk_bounded_pp(rhs, m, 2); | ||||
|     } | ||||
| 
 | ||||
|     std::ostream& binding::display(euf::solver& ctx, unsigned num_nodes, std::ostream& out) const { | ||||
|         for (unsigned i = 0; i < num_nodes; ++i)  | ||||
|             out << ctx.bpp((*this)[i]) << " "; | ||||
|         return out; | ||||
|     } | ||||
| 
 | ||||
|     std::ostream& clause::display(euf::solver& ctx, std::ostream& out) const { | ||||
|         out << "clause:\n"; | ||||
|         for (auto const& lit : m_lits) | ||||
|  | @ -39,9 +45,7 @@ namespace q { | |||
|         binding* b = m_bindings; | ||||
|         if (b) { | ||||
|             do { | ||||
|                 for (unsigned i = 0; i < num_decls(); ++i) | ||||
|                     out << ctx.bpp((*b)[i]) << " "; | ||||
|                 out << "\n";             | ||||
|                 b->display(ctx, num_decls(), out) << " - " << b << "\n"; | ||||
|                 b = b->next(); | ||||
|             } | ||||
|             while (b != m_bindings); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue