/*
  This file is part of the BJP package.

  BJP package is free software: you can redistribute it and/or modify it
  under the terms of the GNU Lesser General Public License as published by the
  Free Software Foundation, either version 3 of the License, or (at your
  option) any later version.

  BJP package is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
  License for more details.

  You should have received a copy of the GNU Lesser General Public License
  along with BJP package.  If not, see <http://www.gnu.org/licenses/>.
 */
package learn.struct.scoring;

import rep.UndirectedGraph;
import dataset.Dataset;

/**
 * Interface for representing Markov network scoring function implementations
 */
public interface Scorable {

	/**
	 * Computes the score of a structure
	 * 
	 * @param g The graph which the score is needed to be computed
	 * @param dataset The data set used to compute the score
	 * @return An object with information about the score computed
	 */
	public UndirectedGraphScore computeScore(UndirectedGraph g, Dataset dataset);
}
