Examples of Vis


Examples of fmg.fmg8.graphVis.Vis

        File verz = new File(this.pars.getStdPfad());
        String endung = fmg.fmg8.graphVis.Konstanten.GRAPH_ENDUNG;
        String[] gespGr = verz.list(new DateiFilter(endung));
        String grNam;
        VisMantel visRob = null;
        Vis obs = null;
        boolean sel = false;
       
        if (gespGr != null) {
            for (int i = 0; i < gespGr.length; i++) {
                grNam = gespGr[i].substring(
View Full Code Here

Examples of fmg.fmg8.graphVis.Vis

                                       + "und Vis-Objekten.");
        }
       
        String grNam;
        VisMantel visRob = null;
        Vis obsVis = null;
        boolean sel = false;
       
        for (int i = 0; i < visObs.length; i++) {
            grNam = visObs[i].getGraphName();
           
View Full Code Here

Examples of fmg.fmg8.graphVis.Vis

            final Parametersatz params) {
        String[] seqs = new String[1];
        String seq
            = fmg.fmg8.endlAutomat.EndlicherAutomat.bereinigeStatic(seqOrig);
        seqs[0] = seq;
        Vis zwisch = new Vis("", seqs, null, 1, params, null);
        zwisch.getRob().erzeugeAusSequenz(0, seq, null, false);
        zwisch.savePNG(augabeDat);
    }
View Full Code Here

Examples of fmg.fmg8.graphVis.Vis

        this.selRob = 0;
       
        String[] seqs = new String[
               aufn.getPops().get(0).getRobSchnapp()[0].getVStdCodes().length];
       
        this.aktGraph = new Vis("", seqs, null, -1, this.aktParams, null);

        this.popNum = -1;
       
        this.lastBest = 0;
       
View Full Code Here

Examples of fmg.fmg8.graphVis.Vis

                SteuerFenster.main(zwisch);
            } else if (cmd.equals("Trajektorien...")) {
                ArrayList<String> arr = new ArrayList<String>();
                Iterator<Vis> it = this.graphen.iterator();
                while (it.hasNext()) {
                    Vis v = it.next();
                    arr.add(v.toString());
                }
               
                AllgemeinerDialog dia = new AllgemeinerDialog(
                          this,
                          "Draw trajectories",
View Full Code Here

Examples of fmg.fmg8.graphVis.Vis

     */
    private void ladeSnap(final int nummer) {
        PopSnapshot pop
            = (PopSnapshot) this.aufnahme.getPops().get(nummer);
        RobSnapshot[] robs = pop.getRobSchnapp();
        Vis neuVis;
        Translator[] trans = new Translator[robs[0].getTStdCodes().length];
       
        this.popNum = pop.getId();
        this.graphen.clear();
       
        for (int i = 0; i < robs.length; i++) {
            for (int j = 0; j < trans.length; j++) {
                trans[j] = new Translator(
                        robs[i].getTStdCodes()[j],
                        new ScriptInterpreter(
                                this.aktParams,
                                SonstMeth.MODUS_TRANSLATOR),
                        this.aktParams);
            }
           
            neuVis = new Vis(
                    this.nameRob(pop, robs[i]),
                    robs[i].getVStdCodes(),
                    robs[i].getConds(),
                    robs[i].getId(),
                    this.aktParams,
                    trans);
            this.graphen.add(neuVis);

            neuVis.setBounds(this.getWidth(),
                             0,
                             800,
                             700);
        }
       
View Full Code Here

Examples of fmg.fmg8.graphVis.Vis

   
    /**
     * Speichert die aktuelle Population im Standardverzeichnis.
     */
    private void speicherePop() {
        Vis aktVis;
        Iterator<Vis> it = this.graphen.iterator();
       
        while (it.hasNext()) {
            aktVis = it.next();
            aktVis.speichereGraph(
                    fmg.fmg8.graphVis.Messages.getString("Vis.All"));
        }
       
        SonstMeth.log(SonstMeth.LOG_INFO,
                      "Population gespeichert ("
View Full Code Here

Examples of fmg.fmg8.graphVis.Vis

     *
     * @param rob  Der zu selektierende Roboter.
     */
    public void selGraph(final Roboter rob) {
        int i = 0;
        Vis aktVis;
        Vis robVis = (Vis) ((VisMantel) rob.getObserver()).getObserver();
       
        while (i < this.graphen.size()) {
            aktVis = (Vis) this.graphen.get(i);
            if (aktVis.getRob().getId() == robVis.getRob().getId()) {
                aktVis.erzeugeTransAusStdSeqs(rob.getTransStdCodes());
                this.selGraph(aktVis);
            }
            i++;
        }
View Full Code Here

Examples of fmg.fmg8.graphVis.Vis

        this.selRob = 0;
       
        String[] seqs = new String[
               aufn.getPops().get(0).getRobSchnapp()[0].getVStdCodes().length];
       
        this.aktGraph = new Vis("", seqs, null, -1, this.aktParams, null);

        this.popNum = -1;
       
        this.lastBest = 0;
       
View Full Code Here

Examples of fmg.fmg8.graphVis.Vis

                SteuerFenster.main(new String[0]);
            } else if (cmd.equals("Trajektorien...")) {
                ArrayList<String> arr = new ArrayList<String>();
                Iterator<Vis> it = this.graphen.iterator();
                while (it.hasNext()) {
                    Vis v = it.next();
                    arr.add(v.toString());
                }
               
                AllgemeinerDialog dia = new AllgemeinerDialog(
                          this,
                          "Draw trajectories",
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.