Examples of Cat


Examples of prolog.core.Cat

  public static Cat big2hcat(BigInteger B) {
    return big2hcat(get_nvars(B),B);
  }
 
  public static Cat big2hcat(int nvars,BigInteger n) {
    Cat C=new Cat();
   
    int pow=1<<nvars;
    BigInteger MAX=BigMath.one.shiftLeft(pow);
    //if(n.compareTo(MAX)>=0) return null;
   
    for(int i=0;i<nvars;i++) {
      BigInteger B=BigInteger.valueOf(i);
      //String I=B.toString();
      C.setProp(B,"v","l");
      C.setHyper(B,1);
    }
    C.setProp(n,"v","r");
    C.setHyper(n,3);
   
    addBig(C,nvars,n);
   
    return C;
  }
View Full Code Here

Examples of prolog.core.Cat

    float z=1-2*c;
    return new Point3f(x*r,y*r,z*r);
  }

  public static Cat randomCat(int seed,int v0,int v,int e0,int e) {
    Cat RG=new Cat();
    RG.randomize(seed,v0+ri(v),e0+ri(e));
    return RG;
  }
View Full Code Here

Examples of prolog.core.Cat

    RG.randomize(seed,v0+ri(v),e0+ri(e));
    return RG;
  }
    
  public static Cat randomRanked(int seed,int v0,int v,int e0,int e,int giant,int m) {
    Cat RG=randomCat(seed,v0,v,e0,e);
    Prolog3D.pp(Cat.showInfo(RG));
    if(giant>0) RG=(Cat)RG.trimRankedGraph(giant,m);
    //if(g>0) RG=(Cat)RG.trim(g>0,m);
    return RG;
  }
View Full Code Here

Examples of test.wsdl.types.comprehensive_types.Cat

        try {
            java.lang.Object value = binding.anyReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re );
        }
        Cat cat = new Cat();
        cat.setPurr("meow");
        PersionCat persion = new PersionCat();
        Yarn yarn = new Yarn();
        yarn.setColor("green");
        persion.setPurr("meow meow");
        persion.setColor("blue");
        persion.setToy(yarn);
        try {
            binding.animalIn(cat);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalIn Exception caught: " + re );
        }
        try {
            binding.animalInout(new AnimalHolder(cat));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalInout Exception caught: " + re );
        }
        try {
            AnimalHolder value = new AnimalHolder();
            binding.animalOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalOut Exception caught: " + re );
        }
        try {
            Animal value = null;
            value = binding.animalReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("animalReturn Exception caught: " + re );
        }
        try {
            binding.catIn(cat);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catIn Exception caught: " + re );
        }
        try {
            binding.catInout(new CatHolder(cat));
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catInout Exception caught: " + re );
        }
        try {
            CatHolder value = new CatHolder();
            binding.catOut(value);
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catOut Exception caught: " + re );
        }
        try {
            Cat value = null;
            value = binding.catReturn();
        } catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("catReturn Exception caught: " + re );
        }
        try {
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.