Package fmg.fmg8.endlAutomat

Examples of fmg.fmg8.endlAutomat.EndlicherAutomat


                while (it2.hasNext()) {
                    boolean gebogen = true;
                   
                    knot2 = g.holeKnoten((Integer) it2.next());
                    koord2 = (Vektor2D) this.gesetzteKn.get(knot2.holeName());
                    Condition cond
                        = knot1.getInfo().getTransZuZustand(
                                knot2.holeName()).get(0).getCond();
                    double staerke = SonstMeth.condStrength(cond,
                                                   Konstanten.STAERKE_ERST,
                                                   Konstanten.STAERKE_ZWEIT);
View Full Code Here


     *            Der Zusatzparameter.
     */
    public void update(final Observable o, final Object arg) {
        Knoten k;
        AutomatenNummer aN;
        ConditionNummer cN;
        int autNum;

        if (arg == null) {
            return;
        }

        if (arg.getClass().equals(Integer.class)) {
            // Neuer Automat wurde ausgew�hlt.
            autNum = ((Integer) arg).intValue();
            this.benutztAut = autNum;
            this.selectAktAut(false, autNum);
        } else if (arg.getClass().equals(Knoten.class)) {
            // Neuer Knoten wurde ausgew�hlt.
            k = (Knoten) arg;
            this.selKnoten(k, this.benutztAut);
        } else if (arg.getClass().equals(AutomatenNummer.class)) {
            // Sequenz wurde ver�ndert.
            aN = (AutomatenNummer) arg;
            this.erzeugeAusSequenz(aN.getAutNum(),
                                   aN.getSequenz(),
                                   null,
                                   false);
        } else if (arg.getClass().equals(ConditionNummer.class)) {
            // Bedingungen wurden ver�ndert.
            cN = (ConditionNummer) arg;
            this.setzeCond(cN.getAutNum(), cN.getSequenz());
           
            for (VisTrans v : this.aktVisTrans) {
                v.neuZeichnen();
            }
        }
View Full Code Here

        for (int i = 0; i < this.conds.length; i++) {
            this.conds[i] = this.mut.mutiere(this.conds[i]);
            if (this.isSelektiert()) {
                this.vAut[i].setzeChanged();
                this.vAut[i].notifyObservers(
                        new ConditionNummer(this.conds[i].toString(),
                                            i));
            }
        }
    }
View Full Code Here

            this.conds[autNum] = cond;
           
            if (this.isSelektiert()) {
                this.vAut[autNum].setzeChanged();
                this.vAut[autNum].notifyObservers(
                        new ConditionNummer(this.conds[autNum].toString(),
                                            autNum));
            }
        }
       
        if (this.isSelektiert()) {
View Full Code Here

                        this.pars.getMutSeqLenKonstTrans(),
                        this.rand);

                visRob = new VisMantel(grNam,
                        this.umgebung,
                        new MutationSEQ(mutSeqVerh, true, false),
                        new MutationSEQ(mutSeqTrans, false, true),
                        this.rand,
                        this.kleinsteFreieID(),
                        this.pars,
                        sel,
                        obs);
View Full Code Here

                        }
                    }
                }
               
                MutSeqVerf mutSeqVerh = new MutationKlWkeit(
                        new EinzelMutAdd(
                                this.rand,
                                this.pars.getMutVerhStdAbw()),
                        this.pars.getMutVerhWkeit(),
                        this.pars.getMutMinFaktorVerh(),
                        this.pars.getMutMaxFaktorVerh(),
                        this.pars.getMutSeqLenKonstVerh(),
                        this.rand);
                MutSeqVerf mutSeqTrans = new MutationKlWkeit(
                        new EinzelMutAdd(
                                this.rand,
                                this.pars.getMutTransStdAbw()),
                        this.pars.getMutTransWkeit(),
                        this.pars.getMutMinFaktorTrans(),
                        this.pars.getMutMaxFaktorTrans(),
View Full Code Here

                            break;
                        }
                    }
                }
               
                MutSeqVerf mutSeqVerh = new MutationKlWkeit(
                        new EinzelMutAdd(
                                this.rand,
                                this.pars.getMutVerhStdAbw()),
                        this.pars.getMutVerhWkeit(),
                        this.pars.getMutMinFaktorVerh(),
                        this.pars.getMutMaxFaktorVerh(),
                        this.pars.getMutSeqLenKonstVerh(),
                        this.rand);
                MutSeqVerf mutSeqTrans = new MutationKlWkeit(
                        new EinzelMutAdd(
                                this.rand,
                                this.pars.getMutTransStdAbw()),
                        this.pars.getMutTransWkeit(),
                        this.pars.getMutMinFaktorTrans(),
View Full Code Here

                            break;
                        }
                    }
                }
               
                MutSeqVerf mutSeqVerh = new MutationKlWkeit(
                        new EinzelMutAdd(
                                this.rand,
                                this.pars.getMutVerhStdAbw()),
                        this.pars.getMutVerhWkeit(),
                        this.pars.getMutMinFaktorVerh(),
                        this.pars.getMutMaxFaktorVerh(),
                        this.pars.getMutSeqLenKonstVerh(),
                        this.rand);
                MutSeqVerf mutSeqTrans = new MutationKlWkeit(
                        new EinzelMutAdd(
                                this.rand,
                                this.pars.getMutTransStdAbw()),
                        this.pars.getMutTransWkeit(),
                        this.pars.getMutMinFaktorTrans(),
View Full Code Here

        this.visObserver = visObs;

        this.aufnahme = new Aufnahme(this.pars);
        this.schnappZyklen = this.pars.getSchnInt().longValue();
        this.rand = new Random(this.pars.getSeed().longValue());
        this.rekombArt = new RekTrivial(
                this.pars.getRekAnzEltern(),
                this.pars.getRekAnzKinder(),
                this.pars.getRekNormiert(),
                this.pars.getRekMaxPopSize(),
                this.rand);
View Full Code Here

        this.visObserver = visObs;

        this.aufnahme = new Aufnahme(this.pars);
        this.schnappZyklen = this.pars.getSchnInt().longValue();
        this.rand = new Random(this.pars.getSeed().longValue());
        this.rekombArt = new RekTrivial(
                this.pars.getRekAnzEltern(),
                this.pars.getRekAnzKinder(),
                this.pars.getRekNormiert(),
                this.pars.getRekMaxPopSize(),
                this.rand);
View Full Code Here

TOP

Related Classes of fmg.fmg8.endlAutomat.EndlicherAutomat

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.