Change cpt table type to float

This commit is contained in:
2024-07-08 13:27:55 +02:00
parent 35ca862eca
commit 0bbc8328a9
2 changed files with 5 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ namespace bayesnet {
void setNumStates(int);
unsigned minFill();
std::vector<std::string> graph(const std::string& clasName); // Returns a std::vector of std::strings representing the graph in graphviz format
float getFactorValue(std::map<std::string, int>&);
double getFactorValue(std::map<std::string, int>&);
private:
std::string name;
std::vector<Node*> parents;