mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 19:52:29 +00:00 
			
		
		
		
	port Grobner
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
		
							parent
							
								
									a7418db611
								
							
						
					
					
						commit
						36db31e154
					
				
					 2 changed files with 12 additions and 2 deletions
				
			
		|  | @ -647,8 +647,17 @@ void nla_grobner::compute_basis_init(){ | |||
|      | ||||
| }         | ||||
| 
 | ||||
| bool nla_grobner::canceled() const { | ||||
|     return c().lp_settings().get_cancel_flag(); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| bool nla_grobner::done() const { | ||||
|     return m_num_of_equations >= c().m_nla_settings.grobner_eqs_threshold() || canceled(); | ||||
| } | ||||
| 
 | ||||
| bool nla_grobner::compute_basis_loop(){ | ||||
|     while (m_num_of_equations < c().m_nla_settings.grobner_eqs_threshold()) { | ||||
|     while (!done()) { | ||||
|         if (compute_basis_step()) | ||||
|             return true; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue