Examples of ArbitraryTokenDomain


Examples of aima.core.probability.domain.ArbitraryTokenDomain

public class ProbUtilTest {

  @Test
  public void test_indexOf() {
    RandVar X = new RandVar("X", new BooleanDomain());
    RandVar Y = new RandVar("Y", new ArbitraryTokenDomain("A", "B", "C"));
    RandVar Z = new RandVar("Z", new BooleanDomain());

    // An ordered X,Y,Z enumeration of values should look like:
    // 00: true, A, true
    // 01: true, A, false
View Full Code Here

Examples of aima.core.probability.domain.ArbitraryTokenDomain

  }

  @Test
  public void test_indexesOfValue() {
    RandVar X = new RandVar("X", new BooleanDomain());
    RandVar Y = new RandVar("Y", new ArbitraryTokenDomain("A", "B", "C"));
    RandVar Z = new RandVar("Z", new BooleanDomain());

    // An ordered X,Y,Z enumeration of values should look like:
    // 00: true, A, true
    // 01: true, A, false
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.