mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
mv util/lp to math/lp
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
b6513b8e2d
commit
33cbd29ed0
150 changed files with 524 additions and 479 deletions
35
src/math/lp/factorization_factory_imp.h
Normal file
35
src/math/lp/factorization_factory_imp.h
Normal file
|
@ -0,0 +1,35 @@
|
|||
/*++
|
||||
Copyright (c) 2017 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
<name>
|
||||
|
||||
Abstract:
|
||||
|
||||
<abstract>
|
||||
|
||||
Author:
|
||||
Nikolaj Bjorner (nbjorner)
|
||||
Lev Nachmanson (levnach)
|
||||
|
||||
Revision History:
|
||||
|
||||
|
||||
--*/
|
||||
#pragma once
|
||||
#include "math/lp/factorization.h"
|
||||
namespace nla {
|
||||
class core;
|
||||
|
||||
struct factorization_factory_imp: factorization_factory {
|
||||
const core& m_core;
|
||||
const monomial & m_mon;
|
||||
const monomial& m_rm;
|
||||
|
||||
factorization_factory_imp(const monomial& rm, const core& s);
|
||||
bool find_canonical_monomial_of_vars(const svector<lpvar>& vars, unsigned & i) const;
|
||||
virtual bool canonize_sign(const monomial& m) const;
|
||||
virtual bool canonize_sign(const factorization& m) const;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue