Generic method for computing the score of a BN or a DBN.
Calls bnlearn's nodes
underneath.
I have to redefine the generic and mask the original for it to work on both
bn and dbn objects without the user having to import bnlearn.
score(object, ...)
the score of the network
a "bn" or "dbn" object
additional parameters