mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-30 11:12:28 +00:00 
			
		
		
		
	add clause proof module, small improvements to bapa
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									48fc3d752e
								
							
						
					
					
						commit
						f128398bf9
					
				
					 7 changed files with 101 additions and 33 deletions
				
			
		|  | @ -364,6 +364,11 @@ public: | |||
|         SASSERT(!contains(x)); | ||||
|     } | ||||
| 
 | ||||
|     unsigned elem_at(unsigned index) { | ||||
|         SASSERT(index < m_size); | ||||
|         return m_elems[index]; | ||||
|     } | ||||
| 
 | ||||
|     bool contains(unsigned x) const { return x < m_index.size() && m_index[x] < m_size && m_elems[m_index[x]] == x; } | ||||
|     void reset() { m_size = 0; } | ||||
|     bool empty() const { return m_size == 0; }     | ||||
|  | @ -372,8 +377,13 @@ public: | |||
|     typedef  unsigned_vector::const_iterator iterator; | ||||
|     iterator begin() const { return m_elems.begin(); } | ||||
|     iterator end() const { return m_elems.begin() + m_size; } | ||||
| 
 | ||||
|      | ||||
| }; | ||||
| 
 | ||||
| inline std::ostream& operator<<(std::ostream& out, indexed_uint_set const& s) { | ||||
|     for (unsigned i : s) out << i << " "; | ||||
|     return out; | ||||
| } | ||||
| 
 | ||||
| #endif /* UINT_SET_H_ */ | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue