Package eas.simulation.spatial.sim2D.marbSimulation.translator.script

Examples of eas.simulation.spatial.sim2D.marbSimulation.translator.script.Script


         */
        // Falls nur Standardkodierung verwendet werden soll: (TODO!)
        if (params.getParValueBoolean("UseOnlyStandardDecoding")) {
            this.erzeugeAusStdSequenz(seq2, pruefen);
        } else {
            Script neuScript = trans2.translate(seq2);
            trans2.getScriptInterpreter().generateAutomaton(this, neuScript);
        }
    }
View Full Code Here


     * Erzeugt einen Automaten aus einem übergebenen Script.
     *
     * @param script  Das Script, aus dem der Automat erzeugt werden soll.
     */
    public void erzeugeAusScript(final String script, final ParCollection params) {
        this.scriptInterpreter.generateAutomaton(this, new Script(script, params));
        this.sequenz = null;
    }
View Full Code Here

        genotype = new LinkedList<Integer>();
        genotype.addAll(initialGenotype);
        int mutNum = 0;
       
        // Erzeuge initialen Automaten.
        Script initialScript = automaton.translate(EndlicherAutomat.bereinigeStatic(StaticMethods.ListToString(this.initialGenotype)));
        EndlicherAutomat initialEA = new EndlicherAutomat();
        automaton.getScriptInterpreter().generateAutomaton(initialEA, initialScript);
        String initialString = initialEA.erzeugeStringSeq();
       
        // Instantiiere Testautomaten.
        Script testScript;
        EndlicherAutomat testEA = new EndlicherAutomat();
        String testString;
       
        for (int k = 0; k < maxNumOfMutations; k++) {
            List<Integer> initialSeq, mutatedSeq;
View Full Code Here

                    + ", Token "
                    + this.getAktToken()
                    + " / "
                    + this.getLookAheadToken()
                    + ": "
                    + new Script(inst, this.pars),
                this.pars);
       
        // Folgezustand festlegen, Code-Zeiger verschieben.
        bedingungen = info.getBeds();
        this.aktZustand = -1;
View Full Code Here

            if (aktion != null) {
                strScr += aktion + ";";
            }
        }
       
        return new Script(strScr, this.pars);
    }
View Full Code Here

TOP

Related Classes of eas.simulation.spatial.sim2D.marbSimulation.translator.script.Script

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.