Package ai.test

Examples of ai.test.DummyVariable


      return reverse(withIntegerBoxes((IntegerBoxes)right, (NonRelationalDomain) left));
    return ComparisonResult.UNCOMPARABLE;
  }
 
  public static void main(String[] args) {
    Variable var = new DummyVariable("aaa", 0);
    NonRelationalDomain<Bool> bools = NonRelationalDomain.getInitialValue();
    bools = bools.addNewVariable(var, Bool.TRUE, false);
    NonRelationalDomain<Interval> intv = NonRelationalDomain.getInitialValue();
    ProductDomain<NonRelationalDomain<Bool>, NonRelationalDomain<Interval>> x = ProductDomain.create(bools, intv);
    compare(x, x);
View Full Code Here


  private NonRelationalDomain<Interval> prepareBox(IntervalValue... data) {
    int idx = 0;
    NonRelationalDomain<Interval> res = NonRelationalDomain.getInitialValue();
    for(int i=data.length-1; i>=0; i--) {
      IntervalValue val = data[i];
      res = res.addNewVariable(new DummyVariable("TestVariable " + idx, idx++), new Interval(val), false);
    }
    return res;
  }
View Full Code Here

public class BoxesDomainTests {
  private NonRelationalDomain<Interval> prepareBox(IntervalValue... data) {
    int idx = 0;
    NonRelationalDomain<Interval> res = NonRelationalDomain.getInitialValue();
    for (IntervalValue val : data) {
      res = res.addNewVariable(new DummyVariable("TestVariable " + idx, idx++), new Interval(val), false);
    }
    return res;
  }
View Full Code Here

TOP

Related Classes of ai.test.DummyVariable

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.