Algorithms for learning weights for an existing MLN structure have been presented in [3] and [2]. These are implemented in the ALCHDIR/src/learnwts directory.