All Downloads are FREE. Search and download functionalities are using the official Maven repository.

z3-z3-4.13.0.src.math.lp.nla_divisions.h Maven / Gradle / Ivy

The newest version!
/*++
Copyright (c) 2017 Microsoft Corporation

Module Name:

  nla_divisions.h

Author:
  Lev Nachmanson (levnach)
  Nikolaj Bjorner (nbjorner)

Description:
  Check division constraints.
  
--*/

#include "math/lp/nla_types.h"

namespace nla {
    
    class core;
    
    class divisions {
        core& m_core;
        vector> m_idivisions;
        vector> m_rdivisions;
        vector> m_bounded_divisions;
        
    public:
        divisions(core& c):m_core(c) {}
        void add_idivision(lpvar q, lpvar x, lpvar y);
        void add_rdivision(lpvar q, lpvar x, lpvar y);
        void add_bounded_division(lpvar q, lpvar x, lpvar y);
        void check();
        void check_bounded_divisions();
    };
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy