📄 graphicalmodel.java
字号:
/* Copyright (C) 2003 Univ. of Massachusetts Amherst, Computer Science Dept. This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit). http://www.cs.umass.edu/~mccallum/mallet This software is provided under the terms of the Common Public License, version 1.0, as published by http://www.opensource.org. For further information, see the file `LICENSE' included with this distribution. */package edu.umass.cs.mallet.grmm; // Generated package name/** * Interface implemented by all graphical models, including directed * and undirected. This interface is currently rather sparse. * <P> * Because GRMM currently contains little support for directed models, * most of the interesting methods are in {@link UndirectedModel}. * Over time, methods from that class may be lifted into this * interface as well. * <P> * Created: Wed Sep 17 11:52:15 2003 * * @author <a href="mailto:casutton@cs.umass.edu">Charles Sutton</a> * @version $Id: GraphicalModel.java,v 1.1 2004/07/15 17:53:31 casutton Exp $ */public interface GraphicalModel { /** * Returns the joint probability of the given assignment using the * given inference algorithm. * <P> * This may require one marginal computation for each variable in * the assignement. If the assignment uses all nodes in the * network, some inferencers support a method called * lookupJoint() which will be more efficient. */ public double query (Inferencer inferencer, Assignment assn); /** * Computes the marginal of all nodes using the given inferencer. */ public void computeMarginals (Inferencer inferencer);}// GraphicalModel
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -