complexip.h 1.09 KB
#ifndef DEF_HCOMPIP
#define DEF_HCOMPIP

#include <vector>
#include <string>

class ComplexeIP
{
public:

    ComplexeIP(const std::vector < std::vector < double > > &vars, const std::vector < std::vector < double > > &vari, double score);

    ComplexeIP();

    ~ComplexeIP();

    std::vector < std::vector < double > > get_vars_() const;

    std::vector < std::vector < double > > get_vari_() const;

    double get_score_() const;

    void set_vars_(const std::vector < std::vector < double > > &vars);

    void set_vari_(const std::vector < std::vector < double > > &vari);

    void set_score_(double score);

    bool operator<(const ComplexeIP &c);

    bool operator>(const ComplexeIP &c);

    bool operator<=(const ComplexeIP &c);

    bool operator>=(const ComplexeIP &c);

    bool operator==(const ComplexeIP &c);

    bool operator==(const ComplexeIP &c) const;

    bool operator!=(const ComplexeIP &c);

    bool operator!=(const ComplexeIP &c) const;


private:

    std::vector < std::vector < double > > vars_;

    std::vector < std::vector < double > > vari_;

    double score_;

};


#endif