#ifndef ASCXX_RELATION_H #define ASCXX_RELATION_H #include #include #include "simulation.h" struct Variable; #include "config.h" extern "C"{ #include #include #include } class Relation : public Instance{ private: Simulation *sim; struct rel_relation *rel; public: Relation(); Relation(const Relation &old); Relation(Simulation *sim, rel_relation *rel); const std::string getName() const; double getResidual() const; const std::vector getIncidentVariables() const; int getNumIncidentVariables() const; Instanc getInstance() const; std::string getRelationAsString() const; }; #endif /* ASCXX_RELATION_H */