Examples of Parametersatz


Examples of fmg.fmg8.statistik.Parametersatz

     *
     * @param args  Nichts.
     */
    public static void main(final String[] args) {
        String[] p = {"log", "-1"};
        Parametersatz pars = new Parametersatz(p);
        ScriptInterpreter interp
            = new ScriptInterpreter(pars, ScriptInterpreter.MODUS_VERHALTEN);
        EndlicherAutomat a = new EndlicherAutomat(null, interp);
        String str = "";
       
View Full Code Here

Examples of fmg.fmg8.statistik.Parametersatz

            return "Keine Roboter in " + quellVerz.getAbsolutePath() + ".";
        }
       
        // Umgebungsdateien kopieren.
        for (String ausg : ausgaben) {
            Parametersatz paramsZwisch = new Parametersatz(ausg.split(" "));
            paramsZwisch.ergaenze();
            File umgebungQuell = new File(
                    quellVerz.getAbsolutePath()
                        + File.separatorChar
                        + paramsZwisch.getUmgebungDatname());
            File umgebungZiel = new File(
                    zielVerz.getAbsolutePath()
                        + File.separatorChar
                        + paramsZwisch.getUmgebungDatname());
            if (umgebungQuell.exists()) {
                kopieren.copy(umgebungQuell, umgebungZiel);
            } else {
                this.paramListe.setBackground(Color.red);
                this.deleteVerz(zielVerz);
View Full Code Here

Examples of fmg.fmg8.statistik.Parametersatz

        hervorPar[0] = Konstanten.HERVOR_PAR_ATT;
        hervorPar[1] = hervorString;
        this.pars.neuePars(hervorPar);

        try {
            this.pars = new Parametersatz(
                    this.erzeugeParArray().get(0).split(" "));
            this.pars.ergaenze();

            this.setzeParameterListe();
           
            for (int i = 0; i < markierte.size(); i++) {
                this.setzeChanged(markierte.get(i));
            }
        } catch (Exception e2) {
            return;
        }

        this.generiere();
        String[] params = this.ausgabe.getText().split("\n")[0].split(" ");
        String[] paramsTrace;
        String filename;
       
        if (arg0.getActionCommand().equals("Generiere Parameter")) {
            params = null;
        } else if (arg0.getActionCommand().equals("Starte Sim (Cmd)...")) {
            Parametersatz parsNeu = new Parametersatz(params);
            parsNeu.ergaenze();
            parsNeu.setGraphisch(false);
            this.dispose();
            SteuerFenster.main(
                    parsNeu.parStrPlain().replace('\n', ' ').split(" "));
        } else if (arg0.getActionCommand().equals("Starte Sim (Grafik)...")) {
            Parametersatz parsNeu = new Parametersatz(params);
            parsNeu.ergaenze();
            parsNeu.setGraphisch(true);
            this.dispose();
            SteuerFenster.main(
                    parsNeu.parStrPlain().replace('\n', ' ').split(" "));
        } else if (
                arg0.getActionCommand().equals("Starte Tracebetrachter...")) {
            FileDialog dia = new FileDialog(
                    this,
                    "Tracedatei zum Betrachten ausw�hlen",
View Full Code Here

Examples of fmg.fmg8.statistik.Parametersatz

     * GUI zur Erzeugung von Startkonfiguration, u.a. f�r JoSchKa.
     *
     * @param args  Nicht benutzt.
     */
    public static void main(final String[] args) {
       Parametersatz params = new Parametersatz(args);
       params.ergaenze();
       Starter josch = new Starter(params);
       josch.pars.getAllPars();
    }
View Full Code Here

Examples of fmg.fmg8.statistik.Parametersatz

     * @return  Der einzelne Parametersatz als String.
     */
    public String erzeugeEinzPar(
            final Parametersatz params,
            final String[] aenderungen) {
        Parametersatz neu = new Parametersatz(params);
        neu.ergaenze();
        neu.neuePars(aenderungen);
        return neu.parStrPlain().replace('\n', ' ');
    }
View Full Code Here

Examples of fmg.fmg8.statistik.Parametersatz

            v = new Vektor2D(-2.3, -1.7);
            a.add(v);
        }

        if (nummer == 6) {
            Parametersatz params = new Parametersatz(new String[0]);
            params.ergaenze();
            PfeilMaster zeichnen = new PfeilMaster(params);

            ArrayList<Double> dicken = new ArrayList<Double>();
            Polygon2D bez = new Polygon2D();
View Full Code Here

Examples of fmg.fmg8.statistik.Parametersatz

     * Main-Methode.
     *
     * @param args  Argumente.
     */
    public static void main(final String[] args) {
        Parametersatz params = new Parametersatz(args);
        params.ergaenze();
        PfeilMaster zeichnen = new PfeilMaster(params);
        AusgMerkm a1 = new AusgMerkm(Color.yellow, Color.black, true, true);
        AusgMerkm a2 = new AusgMerkm(Color.yellow, Color.black, true, true);
        List<Object> l;
        Polygon2D bez2 = new Polygon2D();
View Full Code Here

Examples of fmg.fmg8.statistik.Parametersatz

     * mit dem Standardtranslator �bersetzbar sind.
     *
     * @param args  NICHTS.
     */
    public static void main(final String[] args) {
        Parametersatz params = new Parametersatz(args);
        Translator transNeu = Konstanten.STD_TRANSL_BE;

        EndlicherAutomat autNeu = new EndlicherAutomat();
       
        String t1Std
View Full Code Here

Examples of fmg.fmg8.statistik.Parametersatz

     * @param args nichts.
     */
    public static void main(final String[] args) {
        int max = 10;
        Roboter[] robs = new Roboter[max];
        Parametersatz pars = new Parametersatz(args);
        pars.ergaenze();

        for (int i = 0; i < max; i++) {
            robs[i] = new Roboter(
                    1,
                    1,
View Full Code Here

Examples of fmg.fmg8.statistik.Parametersatz

     * Startet einen Zeitablauf mit Simulation ohne GUI.
     *
     * @param args  Die Parameter.
     */
    public static void main(final String[] args) {
        Parametersatz params = new Parametersatz(args);
        params.ergaenze();
        params.setGraphisch(false);
       
        if (params.getGraphisch().booleanValue()) {
            throw new RuntimeException("Nur Kommandozeilenmodus erlaubt.");
        }
       
        SonstMeth.log(
                SonstMeth.LOG_DEBUG,
                params.toString(),
                params,
                "plain",
                null);
       
        SimulationsZeit simT = new SimulationsZeit(
                params,
                null,
                null,
                DynFactory.getKonstDyn(
                        params.getDynArt(),
                        params,
                        new Random(params.getSeed())));
        // TODO: Random?
       
        simT.zeitStarten();
    }
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.