carl
24.04
Computer ARithmetic Library
|
#include <TermAdditionManager.h>
Public Types | |
using | IDType = unsigned |
using | Coeff = typename Polynomial::CoeffType |
using | TermType = Term< Coeff > |
using | TermPtr = TermType |
using | TermIDs = std::vector< IDType > |
using | Terms = std::vector< TermPtr > |
using | Tuple = std::tuple< TermIDs, Terms, bool, Coeff, IDType > |
using | TAMId = typename std::list< Tuple >::iterator |
Public Member Functions | |
TermAdditionManager () | |
TAMId | getId (std::size_t expectedSize=0) |
template<bool SizeUnknown, bool NewMonomials = true> | |
void | addTerm (TAMId id, const TermPtr &term) |
TermType | getMaxTerm (TAMId id) const |
void | readTerms (TAMId id, Terms &terms) |
void | dropTerms (TAMId id) |
Private Member Functions | |
TAMId | createNewEntry () |
bool | compare (TAMId id, IDType t1, IDType t2) const |
Private Attributes | |
std::list< Tuple > | mData |
TAMId | mNextId |
std::mutex | mMutex |
Definition at line 25 of file TermAdditionManager.h.
using carl::TermAdditionManager< Polynomial, Ordering >::Coeff = typename Polynomial::CoeffType |
Definition at line 28 of file TermAdditionManager.h.
using carl::TermAdditionManager< Polynomial, Ordering >::IDType = unsigned |
Definition at line 27 of file TermAdditionManager.h.
using carl::TermAdditionManager< Polynomial, Ordering >::TAMId = typename std::list<Tuple>::iterator |
Definition at line 40 of file TermAdditionManager.h.
using carl::TermAdditionManager< Polynomial, Ordering >::TermIDs = std::vector<IDType> |
Definition at line 31 of file TermAdditionManager.h.
using carl::TermAdditionManager< Polynomial, Ordering >::TermPtr = TermType |
Definition at line 30 of file TermAdditionManager.h.
using carl::TermAdditionManager< Polynomial, Ordering >::Terms = std::vector<TermPtr> |
Definition at line 32 of file TermAdditionManager.h.
using carl::TermAdditionManager< Polynomial, Ordering >::TermType = Term<Coeff> |
Definition at line 29 of file TermAdditionManager.h.
using carl::TermAdditionManager< Polynomial, Ordering >::Tuple = std::tuple<TermIDs,Terms,bool,Coeff,IDType> |
Definition at line 39 of file TermAdditionManager.h.
|
inline |
|
inline |
|
inlineprivate |
Definition at line 62 of file TermAdditionManager.h.
|
inlineprivate |
|
inline |
Definition at line 205 of file TermAdditionManager.h.
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 42 of file TermAdditionManager.h.
|
mutableprivate |
Definition at line 44 of file TermAdditionManager.h.
|
private |
Definition at line 43 of file TermAdditionManager.h.