Examples of generateFromSequence()


Examples of eas.simulation.spatial.sim2D.marbSimulation.endlAutomat.EndlicherAutomat.generateFromSequence()

     */
    public void aging() {
        List<Integer> vCode = getVerhCodes()[this.getAktAutNum()];
        String seq = StaticMethods.stringAusListSeq(vCode);
        EndlicherAutomat ea = new EndlicherAutomat();
        ea.generateFromSequence(seq, getTranslatoren()[this.getAktAutNum()], false, this.getPars());
        double prob =  this.getPars().getParValueDouble("reachProb");
        for (Integer nodeId: ea.getAdjazenzliste().keySet()) {
            Knoten node = ea.getAdjazenzliste().get(nodeId);
            if (ea.erreichbarVonStart(node.holeName(), prob)) {
                if (!node.getInfo().istStartZ()) {
View Full Code Here

Examples of eas.simulation.spatial.sim2D.marbSimulation.endlAutomat.EndlicherAutomat.generateFromSequence()

           
            this.translationFuerRoboterAbLevel(robID, level - 1, params);
        } else { // Verhaltenslevel.
            ea = new EndlicherAutomat();
            this.setAutomat(robID, ea, level);
            ea.generateFromSequence(
                    StaticMethods.stringAusListSeq(this.getGenom(robID, level)),
                    (Translator) this.getAutomat(robID, level + 1), false, params);
            this.setAutomat(robID, ea, level);
           
            params.logStage1(this.id().toUpperCase() + " -- Roboter " + robID
View Full Code Here

Examples of eas.simulation.spatial.sim2D.marbSimulation.translator.Translator.generateFromSequence()

        // Konstanter Translator-Level.
        if (level >= this.levelAnzahl - 1) {
            throw new RuntimeException("Translator vom Level " + level + " ist konstant und kann nicht mutiert bzw. neu übersetzt werden.");
        } else if (level > 0) { // (Mutierbarer oder unmutierbarer) Translator-Level.
            this.setAutomat(robID, trans, level);
            trans.generateFromSequence(StaticMethods.stringAusListSeq(this.getGenom(robID, level)), (Translator) this.getAutomat(robID, level + 1), false, params);
            this.setAutomat(robID, trans, level);
           
            params.logStage1(this.id().toUpperCase() + " -- Roboter " + robID
                    + " / Level " + level + " (StdSeq übersetzt: \""
                    + this.getAutomat(robID, level).erzeugeStringSeq() + "\")");
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.