package dkohl.bayes.probability.distribution;

import java.util.LinkedList;

import dkohl.bayes.probability.Assignment;
import dkohl.bayes.probability.Probability;


/**
 * A probability distribution.
 * 
 * @author Daniel Kohlsdorf
 */
public interface ProbabilityDistribution {
    
    /**
     * Returns probability given an assignments.
     * 
     * @param assignment A set of assigned variables 
     * @return probability of that assignment
     */
    public Probability eval(LinkedList<Assignment> assignment);
    
}
