Adjusting the PDAG matrix to model constraints This function can be used to adjust the adjacency matrix to model constraints, such as blacklist and background nodes
adjustMixedDir(adj, bnnames, blacklist)
returns a matrix where entries prohibited by the model or blacklist are 0 and equal to correspondnding values of adj otherwise
adjacency matrix representing a graph or posterior probabilities of all its edges
object of class bnNames
a square matrix with same dimensions as adj representing edges prohibited by the model