we need to set the private data members in LaplacianInferenceMethod to be protected