mirror of
https://github.com/Z3Prover/z3
synced 2025-04-11 11:43:36 +00:00
39 lines
631 B
C++
39 lines
631 B
C++
/*++
|
|
Copyright (c) 2012 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
api_polynomial.h
|
|
|
|
Abstract:
|
|
|
|
Polynomial manager and caches for the external API.
|
|
|
|
Author:
|
|
|
|
Leonardo de Moura (leonardo) 2012-12-08
|
|
|
|
Notes:
|
|
|
|
--*/
|
|
#ifndef API_POLYNOMIAL_H_
|
|
#define API_POLYNOMIAL_H_
|
|
|
|
#include"polynomial.h"
|
|
|
|
namespace api {
|
|
|
|
class pmanager {
|
|
unsynch_mpz_manager m_nm;
|
|
polynomial::manager m_pm;
|
|
// TODO: add support for caching expressions -> polynomial and back
|
|
public:
|
|
pmanager(reslimit& limx);
|
|
virtual ~pmanager();
|
|
polynomial::manager & pm() { return m_pm; }
|
|
};
|
|
|
|
};
|
|
|
|
#endif
|