Package forestry.arboriculture.genetics

Examples of forestry.arboriculture.genetics.TreeMutation


  }

  private void createMutations() {

    // Decidious
    TreeTemplates.limeA = new TreeMutation(Allele.treeBirch, Allele.treeOak,
        TreeTemplates.getLimeTemplate(), 15);
    TreeTemplates.mapleA = new TreeMutation(Allele.treeLime, Allele.treeLarch,
        TreeTemplates.getMapleTemplate(), 5);

    // Fructifera
    TreeTemplates.cherryA = new TreeMutation(Allele.treeLime, Allele.treeOak,
        TreeTemplates.getCherryTemplate(), 10);
    TreeTemplates.cherryB = new TreeMutation(Allele.treeLime, Allele.treeBirch,
        TreeTemplates.getCherryTemplate(), 10);
    TreeTemplates.lemonA = new TreeMutation(Allele.treeLime, Allele.treeCherry,
        TreeTemplates.getLemonTemplate(), 5);
    TreeTemplates.plumA = new TreeMutation(Allele.treeLemon, Allele.treeCherry,
        TreeTemplates.getPlumTemplate(), 5);

    // Nucifera
    TreeTemplates.walnutA = new TreeMutation(Allele.treeLime, Allele.treeCherry,
        TreeTemplates.getWalnutTemplate(), 10);
    TreeTemplates.chestnutA = new TreeMutation(Allele.treeWalnut, Allele.treeLime,
        TreeTemplates.getChestnutTemplate(), 10);
    TreeTemplates.chestnutB = new TreeMutation(Allele.treeWalnut, Allele.treeCherry,
        TreeTemplates.getChestnutTemplate(), 10);

    // Conifera
    TreeTemplates.larchA = new TreeMutation(Allele.treeSpruce, Allele.treeBirch,
        TreeTemplates.getLarchTemplate(), 10);
    TreeTemplates.larchB = new TreeMutation(Allele.treeSpruce, Allele.treeOak,
        TreeTemplates.getLarchTemplate(), 10);
    TreeTemplates.pineA = new TreeMutation(Allele.treeSpruce, Allele.treeLarch,
        TreeTemplates.getPineTemplate(), 10);
    TreeTemplates.sequoiaA = new TreeMutation(Allele.treeLarch, Allele.treePine,
        TreeTemplates.getSequoiaTemplate(), 5);

    // Tropical
    TreeTemplates.teakA = new TreeMutation(Allele.treeLime, Allele.treeJungle,
        TreeTemplates.getTeakTemplate(), 10);
    TreeTemplates.kapokA = new TreeMutation(Allele.treeJungle, Allele.treeTeak,
        TreeTemplates.getKapokTemplate(), 10);
    TreeTemplates.ebonyA = new TreeMutation(Allele.treeKapok, Allele.treeTeak,
        TreeTemplates.getEbonyTemplate(), 10);
    TreeTemplates.mahoganyA = new TreeMutation(Allele.treeKapok, Allele.treeEbony,
        TreeTemplates.getMahoganyTemplate(), 10);

    TreeTemplates.papayaA = new TreeMutation(Allele.treeJungle, Allele.treeCherry,
        TreeTemplates.getPapayaTemplate(), 5);
    TreeTemplates.dateA = new TreeMutation(Allele.treeJungle, Allele.treePapaya,
        TreeTemplates.getDateTemplate(), 5);

    // Malva
    TreeTemplates.balsaA = new TreeMutation(Allele.treeTeak, Allele.treeLime,
        TreeTemplates.getBalsaTemplate(), 10);
    TreeTemplates.acaciaA = new TreeMutation(Allele.treeTeak, Allele.treeBalsa,
        TreeTemplates.getDesertAcaciaTemplate(), 10);
    TreeTemplates.wengeA = new TreeMutation(Allele.treeDesertAcacia, Allele.treeBalsa,
        TreeTemplates.getWengeTemplate(), 10);
    TreeTemplates.baobabA = new TreeMutation(Allele.treeBalsa, Allele.treeWenge,
        TreeTemplates.getBaobabTemplate(), 10);
    TreeTemplates.mahoeA = new TreeMutation(Allele.treeBirch, Allele.treeDesertAcacia,
        TreeTemplates.getMahoeTemplate(), 5);

    TreeTemplates.willowA = new TreeMutation(Allele.treeOak, Allele.treeBirch,
        TreeTemplates.getWillowTemplate(), 10).setTemperatureRainfall(0.7f, 1.5f, 0.9f,
            2.0f);
    TreeTemplates.willowB = new TreeMutation(Allele.treeOak, Allele.treeLime,
        TreeTemplates.getWillowTemplate(), 10).setTemperatureRainfall(0.7f, 1.5f, 0.9f,
            2.0f);
    TreeTemplates.willowC = new TreeMutation(Allele.treeLime, Allele.treeBirch,
        TreeTemplates.getWillowTemplate(), 10).setTemperatureRainfall(0.7f, 1.5f, 0.9f,
            2.0f);

    TreeTemplates.sipiriA = new TreeMutation(Allele.treeKapok, Allele.treeMahogany,
        TreeTemplates.getSipiriTemplate(), 10).setTemperatureRainfall(0.9f, 1.9f, 0.9f,
            2.0f);

    TreeTemplates.poplarA = new TreeMutation(Allele.treeBirch, Allele.treeWillow,
        TreeTemplates.getPoplarTemplate(), 5);
    TreeTemplates.poplarB = new TreeMutation(Allele.treeOak, Allele.treeWillow,
        TreeTemplates.getPoplarTemplate(), 5);
    TreeTemplates.poplarB = new TreeMutation(Allele.treeLime, Allele.treeWillow,
        TreeTemplates.getPoplarTemplate(), 5);

  }
View Full Code Here

TOP

Related Classes of forestry.arboriculture.genetics.TreeMutation

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.