Package aima.core.probability.domain

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


  }

  @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

Related Classes of aima.core.probability.domain.ArbitraryTokenDomain

Copyright © 2018 www.massapicom. 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.