mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 19:52:29 +00:00 
			
		
		
		
	improved SLS
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									6e285f06de
								
							
						
					
					
						commit
						76b11f2d12
					
				
					 4 changed files with 9 additions and 1 deletions
				
			
		|  | @ -25,6 +25,9 @@ Notes: | |||
| 
 | ||||
| namespace simplex { | ||||
| 
 | ||||
|     template<typename Ext> | ||||
|     const typename simplex<Ext>::var_t simplex<Ext>::null_var = UINT_MAX;  | ||||
| 
 | ||||
|     template<typename Ext> | ||||
|     typename simplex<Ext>::row  | ||||
|     simplex<Ext>::add_row(var_t base_var, unsigned num_vars, var_t const* vars, numeral const* coeffs) { | ||||
|  |  | |||
|  | @ -28,5 +28,7 @@ template class theory_diff_logic<idl_ext>; | |||
| template class theory_diff_logic<sidl_ext>; | ||||
| template class theory_diff_logic<rdl_ext>; | ||||
| template class theory_diff_logic<srdl_ext>; | ||||
| template class simplex::simplex<simplex::mpq_ext>; | ||||
| 
 | ||||
| 
 | ||||
| }; | ||||
|  |  | |||
|  | @ -61,6 +61,9 @@ namespace smt { | |||
|         }; | ||||
|     }; | ||||
| 
 | ||||
|     const unsigned theory_pb::null_index = UINT_MAX; | ||||
| 
 | ||||
| 
 | ||||
|     unsigned theory_pb::arg_t::get_hash() const { | ||||
|         return get_composite_hash<arg_t, arg_t::kind_hash, arg_t::child_hash>(*this, size()); | ||||
|     } | ||||
|  |  | |||
|  | @ -272,7 +272,7 @@ namespace smt { | |||
| 
 | ||||
|         // bool_var |-> index into m_lemma
 | ||||
|         unsigned_vector   m_conseq_index; | ||||
|         static const unsigned null_index = UINT_MAX; | ||||
|         static const unsigned null_index; | ||||
|         bool is_marked(bool_var v) const; | ||||
|         void set_mark(bool_var v, unsigned idx); | ||||
|         void unset_mark(bool_var v); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue