I have used the pnlHigh library for one of my project and I found that some functions (especially getters) does not take care that some vector can be empty. This give me a lot of bugs when I use networks that I build from scratch.
For example in the ProbabilisticNet class described in the files pnlWProbabilisticNet.hpp and pnlWProbabilisticNet.cpp the function
bool ProbabilisticNet::IsNode(Tok &node) const
return Token().Node(node)->tag == eTagNetNode;
crashes if we give a node that does not exist as argument. It is not so important but I think an interface have to handle this kind of problem in order to provide a friendly interaction with the user.
Thank you for such good library.
Log in to post a comment.