Package fork.lib.math.algebra.elementary.set.continuous

Examples of fork.lib.math.algebra.elementary.set.continuous.Regions


    }
   
    public NumericalSet(Region reg, DiscreteNumericalSet disc) throws NumericalSetException{
        ArrayList<Region> al= new ArrayList<>();
        al.add(reg);
        this.regs= new Regions(al);
        this.discSet=disc;
        init();
        update();
    }
View Full Code Here


   
   
private void init(){
    if(regs==null){
        regs= new Regions();
    }
    if(discSet==null){
        discSet= new DiscreteNumericalSet();
    }
}
View Full Code Here

    Region[] rs2= new Region[]{
        new Region(210,350),
        new Region(-10,-1),
        new Region(1,20)
    };
    Regions rr1= new Regions(rs1),
            rr2= new Regions(rs2);
   
    DiscreteNumericalSet d1= new DiscreteNumericalSet(5,6,7,18);
    DiscreteNumericalSet d2= new DiscreteNumericalSet(5,6,7,19,16,12);
   
    NumericalSet m1= new NumericalSet(rr1, d1);
View Full Code Here

    }else{
        reg= new Region(maxThr, Double.POSITIVE_INFINITY);
        noEnts= enlh[0];
        yesEnts= enlh[1];
    }
    cond= new NumericalSet(new Regions(reg), null);
    ind= maxInd;
    //add usedInds
    usedInds.add(ind);
    //System.out.println("### nf: "+ newFailEnts.size()+"   "+ lowIsGood);
    //Iterator<LearningEntry> it = newFailEnts.iterator();while(it.hasNext()){it.next().printInt();}
View Full Code Here

TOP

Related Classes of fork.lib.math.algebra.elementary.set.continuous.Regions

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.