Upgrade models version and Add class diagram

This commit is contained in:
Ricardo Montañana Gómez 2023-09-02 14:39:43 +02:00
parent 182b07ed90
commit c35030f137
Signed by: rmontanana
GPG Key ID: 46064262FD9A7ADE
3 changed files with 2 additions and 2 deletions

BIN
diagrams/BayesNet.pdf Executable file

Binary file not shown.

View File

@ -25,7 +25,7 @@ namespace bayesnet {
int virtual getNumberOfStates() const = 0;
vector<string> virtual show() const = 0;
vector<string> virtual graph(const string& title = "") const = 0;
const string inline getVersion() const { return "0.1.0"; };
const string inline getVersion() const { return "0.2.0"; };
vector<string> virtual topological_order() = 0;
void virtual dump_cpt()const = 0;
virtual void setHyperparameters(nlohmann::json& hyperparameters) = 0;

View File

@ -53,7 +53,7 @@ namespace bayesnet {
vector<string> graph(const string& title) const; // Returns a vector of strings representing the graph in graphviz format
void initialize();
void dump_cpt() const;
inline string version() { return "0.1.0"; }
inline string version() { return "0.2.0"; }
};
}
#endif