aima.core.probability.domain.ArbitraryTokenDomain Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aima-core Show documentation
Show all versions of aima-core Show documentation
AIMA-Java Core Algorithms from the book Artificial Intelligence a Modern Approach 3rd Ed.
package aima.core.probability.domain;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.Set;
/**
* Artificial Intelligence A Modern Approach (3rd Edition): page 486.
*
* As in CSPs, domains can be sets of arbitrary tokens; we might choose the
* domain of Age to be {juvenile,teen,adult} and the domain of
* Weather might be {sunny,rain,cloudy,snow}.
*
* @author Ciaran O'Reilly
*/
public class ArbitraryTokenDomain extends AbstractFiniteDomain {
private Set