Refactor to remove root node of network

This commit is contained in:
2023-07-06 13:12:41 +02:00
parent 0b33c6c04a
commit 71b88e2c65
3 changed files with 4 additions and 27 deletions

View File

@@ -107,9 +107,6 @@ void showNodesInfo(bayesnet::Network& network, string className)
}
cout << endl;
}
cout << "Root: " << network.getRoot()->getName() << endl;
network.setRoot(className);
cout << "Now Root should be class: " << network.getRoot()->getName() << endl;
}
void showCPDS(bayesnet::Network& network)
{