Package eas.simulation.spatial.sim2D.marbSimulation

Examples of eas.simulation.spatial.sim2D.marbSimulation.RobEA.vAuts()


                vert.add(new Long(0));
            }
        }

        aktRob = (RobEA) MiscMath.randVerteilung(rob, vert, this.rand);
        zustaende = aktRob.vAuts()[0].getKnList();
        fitness = aktRob.getFitness()[0];
       
        vorhandenAll = true;
       
        it = zustaende.iterator();
View Full Code Here


            if (vorhandenAll) {
                zKnoten = (Knoten) MiscMath.randVerteilung(knotenListe,
                                                           vert,
                                                           this.rand);
            } else {
                zKnoten = aktRob.vAuts()[0].holeKnoten(aktName);
            }
           
            aktion = (zKnoten.getInfo()).getAktion();
            param = (zKnoten.getInfo()).getParam();
            alt = (zKnoten.getInfo()).getAlter();
View Full Code Here

            it2 = zustaende.iterator();
            while (it2.hasNext()) {
                kn2 = it2.next();
               
                vorhandenAll = true;
                if (aktRob.vAuts()[0].kanteExistiert(kn1, kn2)) {
                    for (int i = 0; i < rob.length; i++) {
                        if (rob[i].vAuts()[0].kanteExistiert(kn1, kn2)) {
                            condListe[i] = rob[i].vAuts()[0].getCondZuTrans(kn1,
                                                                           kn2);
                        } else {
View Full Code Here

                    if (vorhandenAll) {
                        zCond = (Condition) MiscMath.randVerteilung(condListe,
                                                                    vert,
                                                                    this.rand);
                    } else {
                        zCond = aktRob.vAuts()[0].getCondZuTrans(kn1, kn2);
                    }
                   
                    kind.einfuegKante(kn1, kn2, zCond, 1);
                }
            }
View Full Code Here

                    vert.add(new Long(0));
                }
            }
           
            aktRob = (RobEA) MiscMath.randVerteilung(rob, vert, this.rand);
            zustaende = aktRob.vAuts()[i].getKnList();
            fitness[i] = aktRob.getFitness()[i];

            kind[i] = new EndlicherAutomat();
            vorhandenAll = true;
           
View Full Code Here

                if (vorhandenAll) {
                    zwischKnoten = (Knoten) MiscMath.randVerteilung(knotList,
                                                                    vert,
                                                                    this.rand);
                } else {
                    zwischKnoten = aktRob.vAuts()[i].holeKnoten(aktName);
                }
               
                aktion = (zwischKnoten.getInfo()).getAktion();
                param = (zwischKnoten.getInfo()).getParam();
                alt = (zwischKnoten.getInfo()).getAlter();
View Full Code Here

                kind[i].einfuegenKnoten(aktName, aktion, param, alt);
            }

            kind[i].setStartBeliebig(); // Setze auf ersten vorh. Knoten.
            if (aktRob.vAuts()[i].holeStartzustand() != null) {
                // Setze auf Startkn, falls vorhanden.
                kind[i].setStart(aktRob.vAuts()[i].holeStartzustand());
            }
           
            // Kanten einfügen.
View Full Code Here

            }

            kind[i].setStartBeliebig(); // Setze auf ersten vorh. Knoten.
            if (aktRob.vAuts()[i].holeStartzustand() != null) {
                // Setze auf Startkn, falls vorhanden.
                kind[i].setStart(aktRob.vAuts()[i].holeStartzustand());
            }
           
            // Kanten einfügen.
            it1 = zustaende.iterator();
            while (it1.hasNext()) {
View Full Code Here

                it2 = zustaende.iterator();
                while (it2.hasNext()) {
                    kn2 = it2.next();
                   
                    vorhandenAll = true;
                    if (aktRob.vAuts()[i].kanteExistiert(kn1, kn2)) {
                        for (int j = 0; j < rob.length; j++) {
                            if (rob[j].vAuts()[i].kanteExistiert(kn1, kn2)) {
                                condListe[j] = rob[j].vAuts()[i].getCondZuTrans(
                                                                        kn1,
                                                                        kn2);
View Full Code Here

                            zCond = (Condition) MiscMath.randVerteilung(
                                                                    condListe,
                                                                    vert,
                                                                    this.rand);
                        } else {
                            zCond = aktRob.vAuts()[i].getCondZuTrans(kn1, kn2);
                        }
                       
                        kind[i].einfuegKante(kn1, kn2, zCond, 1);
                    }
                }
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.