Package eas.startSetup

Examples of eas.startSetup.SingleParameter


    private static final long serialVersionUID = -8265690203467712154L;

    @Override
    public List<SingleParameter> getParameters() {
        List<SingleParameter> list = super.getParameters();
        list.add(new SingleParameter("base", Datatypes.integerRange(2, 36), 10, "Basis", this.id().toUpperCase()));
        return list;
    }
View Full Code Here


    private static final long serialVersionUID = 1087600085150910855L;

    @Override
    public List<SingleParameter> getParameters() {
        List<SingleParameter> list = super.getParameters();
        list.add(new SingleParameter("base", Datatypes.integerRange(2, 36), 10, "Basis", this.id().toUpperCase()));
        return list;
    }
View Full Code Here

public class ParameterClass {
   
    public static LinkedList<SingleParameter> getParameters() {
        LinkedList<SingleParameter> list = new LinkedList<>();
       
        list.add(new SingleParameter(
                "numberOfProsumers",
                Datatypes.integerRange(1, 10000),
                2,
                "The number of prosumer agents.",
                ParameterClass.class.getSimpleName().toUpperCase(),
                ParameterClass.class));
       
        list.add(new SingleParameter(
                "storageFileName",
                Datatypes.STRING,
                "file.txt",
                "Input file.",
                ParameterClass.class.getSimpleName().toUpperCase(),
View Full Code Here

    //private static String storageFileName;
   
    public static LinkedList<SingleParameter> getParameters() {
        LinkedList<SingleParameter> list = new LinkedList<>();
       
        list.add(new SingleParameter(
                "numberOfAnts",
                Datatypes.integerRange(1, 10000),
                10,
                "The number of ants.",
                ParameterClass.class.getSimpleName().toUpperCase(),
                ParameterClass.class));
       
        list.add(new SingleParameter(
                "q0",
                Datatypes.DOUBLE,
                0.9,
                "Exploration/Exploitation Balance",
                ParameterClass.class.getSimpleName().toUpperCase(),
                ParameterClass.class));
       
        list.add(new SingleParameter(
                "beta",
                Datatypes.DOUBLE,
                5,
                "Relative weight of heuristic value",
                ParameterClass.class.getSimpleName().toUpperCase(),
                ParameterClass.class));
       
        list.add(new SingleParameter(
                "alpha",
                Datatypes.DOUBLE,
                1,
                "Relative weight of pheromone concentration",
                ParameterClass.class.getSimpleName().toUpperCase(),
                ParameterClass.class));
       
        list.add(new SingleParameter(
                "rho",
                Datatypes.DOUBLE,
                0.9,
                "Pheromone persistence rate",
                ParameterClass.class.getSimpleName().toUpperCase(),
View Full Code Here

    @Override
    public List<SingleParameter> getParameters() {
        List<SingleParameter> list = super.getParameters();
       
        list.add(new SingleParameter(
                "worldSize",
                Datatypes.VECTOR2D,
                new Vector2D(100, 100),
                "Size of the world in # of cells",
                this.id().toUpperCase()));
View Full Code Here

    @Override
    public List<SingleParameter> getParameters() {
        List<SingleParameter> liszt = super.getParameters();
       
        liszt.add(new SingleParameter("Polytris.Ultimate", Datatypes.BOOLEAN, false));
        liszt.add(new SingleParameter("Polytris.Level", Datatypes.INTEGER, 6));
        liszt.add(new SingleParameter("Polytris.SoundMode", Datatypes.fixedStringSet(new String[] {
                "Normal",
                "DuneStyle",
                "Quiet"}), "Normal"));
       
        return liszt;
View Full Code Here

   */
  @Override
  public List<SingleParameter> getParameters() {
    List<SingleParameter> list = super.getParameters();
   
    list.add(new SingleParameter("numBoxes", Datatypes.integerRange(0, 30), 10, "Number of boxes per row AND column.", this.id().toUpperCase()));
    list.add(new SingleParameter("numSpheres", Datatypes.integerRange(0, 100), 10, "Number of spheres.", this.id().toUpperCase()));
   
    return list;
  }
View Full Code Here

   
    @Override
    public List<SingleParameter> getParameters() {
        List<SingleParameter> list = super.getParameters();
        list.add(
                new SingleParameter(
                        eas.statistics.ConstantsStatistics.BEZIER_KONST,
                        Datatypes.DOUBLE,
                        eas.startSetup.marbBuilder.zeichenModi.ConstantsZeichenModi.BEZ_NORMAL,
                        "Die Bezier-Konstante (je kleiner, desto feiner).",
                "MARB-BRAIN"));
        list.add(
                new SingleParameter(
                        eas.statistics.ConstantsStatistics.EINFACHE_DARSTELLUNG,
                        Datatypes.BOOLEAN,
                        true,
                        "Ob einfache Darstellung für MARBs ausgewählt ist.",
                "MARB-BRAIN"));
       
        list.add(new SingleParameter(
                "showEALabels?",
                Datatypes.BOOLEAN,
                true,
                "Ob die Labels (Knoten / Kanten) in der grafischen Darstellung eines MARBs angezeigt werden.",
                "MARB-BRAIN"));
View Full Code Here

   */
  @Override
  public List<SingleParameter> getParameters() {
    ArrayList<SingleParameter> list = new ArrayList<SingleParameter>();

    list.add(new SingleParameter("windowWidth", Datatypes.INTEGER, 800,
        "Breite des Fensters (800, " + "falls nichts angegeben).", this
            .id().toUpperCase()));

    list.add(new SingleParameter("windowHeight", Datatypes.INTEGER, 600,
        "Höhe des Fensters (600, " + "falls nichts angegeben).", this
            .id().toUpperCase()));

    list.add(new SingleParameter("drawSky", Datatypes.BOOLEAN, true,
        "Legt fest, ob Himmel gezeichnet werden soll.", this.id()
            .toUpperCase()));

    list.add(new SingleParameter(
        "drawCoordinates",
        Datatypes.BOOLEAN,
        true,
        "Legt fest, ob Koordinatenkreuz am Ursprung gezeichnet werden soll.",
        this.id().toUpperCase()));

    list.add(new SingleParameter("realTime", Datatypes.BOOLEAN, true,
        "Gibt an, ob die Darstellung in Echtzeit erfolgt.", this.id()
            .toUpperCase()));

    return list;
  }
View Full Code Here

    }
   
    @Override
    public List<SingleParameter> getParameters() {
        LinkedList<SingleParameter> list = new LinkedList<SingleParameter>();
        list.add(new SingleParameter("filePath", Datatypes.STRING, "null", SimStateLoaderMaster.class));
       
        ArrayListString stdAddPlugs = new ArrayListString();
        stdAddPlugs.add(new AllroundVideoPlugin().id());
        ArrayListString stdRemPlugs = new ArrayListString();
        stdAddPlugs.add(new AllroundSimstateStorerPlugin().id());

        list.add(new SingleParameter(ADDITIONAL_PLUGINS_TO_LOAD_PARNAME, Datatypes.STRING_ARR, stdAddPlugs, SimStateLoaderMaster.class));
        list.add(new SingleParameter(PLUGINS_TO_REMOVE_PARNAME, Datatypes.STRING_ARR, stdRemPlugs, SimStateLoaderMaster.class));
       
        return list;
    }
View Full Code Here

TOP

Related Classes of eas.startSetup.SingleParameter

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.