dtcShallowSeaCreator = new DTCShallowSeaCreator(ruleset.getSection("DTCShallowSeaCreator"));
}
/** Dumps the current configuration to the screen */
public void dump() {
Messages messages = Messages.getMessages();
messages.info("PHGenerator", "PHGenConf", "PlateHeightGenerator-Configuration");
messages.info("PHGenerator", "PHGenConf", "--> Edgenumber = " + edgenumber);
messages.info("PHGenerator", "PHGenConf", "--> maxedgefails = " + maxedgefails);
switch(whichedgestarter) {
case ARRAYEDGESTARTER:
messages.info("PHGenerator", "PHGenConf",
"--> whichedgestarter = ARRAYEDGESTARTER");
break;
case RANDOMPOINTEDGESTARTER:
messages.info("PHGenerator", "PHGenConf",
"--> whichedgestarter = RANDOMPOINTEDGESTARTER");
}
switch(whichsealandcreator) {
case SIMPLESEALANDCREATOR:
messages.info("PHGenerator", "PHGenConf",
"--> whichsealandcreator = SIMPLESEALANDCREATOR");
break;
case RICSEALANDCREATOR:
messages.info("PHGenerator", "PHGenConf",
"--> whichsealandcreator = RICSEALANDCREATOR");
}
messages.info("PHGenerator", "PHGenConf",
"--> SimpleSeaLandCreator:");
messages.info("PHGenerator", "PHGenConf",
" --> Seaprobability = " + simpleSLC_seaprobability);
messages.info("PHGenerator", "PHGenConf",
"--> RICSeaLandCreator:");
messages.info("PHGenerator", "PHGenConf",
" --> landsize = " + RICSLC_landsize);
messages.info("PHGenerator", "PHGenConf",
" --> correctsize = " + RICSLC_correctsize);
messages.info("PHGenerator", "PHGenConf",
" --> randomprobability = " + RICSLC_randomprob);
messages.info("PHGenerator", "PHGenConf",
" --> islandprobability = " + RICSLC_islandprob);
messages.info("PHGenerator", "PHGenConf",
" --> continentprobability = " + RICSLC_continentprob);
messages.info("PHGenerator", "PHGenConf",
" --> islandnumberoftests = " + RICSLC_islandnumberoftests);
messages.info("PHGenerator", "PHGenConf",
" --> continentnewcprob = " + RICSLC_continentnewcprob);
messages.info("PHGenerator", "PHGenConf",
" --> continentgrowtries = " + RICSLC_continentgrowtries);
messages.info("PHGenerator", "PHGenConf",
"--> addEdge_anglemodpastlength = " + addEdge_anglemodpastlength);
messages.info("PHGenerator", "PHGenConf",
"--> addEdge_maxcomputetries = " + addEdge_maxcomputetries);
messages.info("PHGenerator", "PHGenConf",
"--> addEdge_anglemod = " + addEdge_anglemod);
messages.info("PHGenerator", "PHGenConf",
"--> anglechangeprobability = " + anglechangeprobability);
messages.info("PHGenerator", "PHGenConf",
"--> adjustplatedirections_sizefactor = "
+ adjustplatedirections_sizefactor);
messages.info("PHGenerator", "PHGenConf",
"--> adjustCL_ignoreedgeprobability = "
+ adjustCL_ignoreedgeprobability);
messages.info("PHGenerator", "PHGenConf",
"--> adjustCL_spotprobability = " + adjustCL_spotprobability);
messages.info("PHGenerator", "PHGenConf",
"--> spotadjustCL_conf:");
if(spotadjustCL_conf.howtochoosedata == spotadjustCL_conf.BYCHANCE) {
messages.info("PHGenerator", "PHGenConf", " --> howtochoosedata = BYCHANCE");
}
for(int n = 0;n < spotadjustCL_conf.data.size();n++) {
List currconf = (List)(spotadjustCL_conf.data.get(n));
messages.info("PHGenerator", "PHGenConf", " --> Configuration " + n
+ ", used with probability " +
((Double)(currconf.get(0))).doubleValue()
+ " and NoIsolatedSea = "
+ ((Boolean)(currconf.get(1))).toString() + ":");
for(int m = 2;m < currconf.size();m++) {
SpotAdjustCoastLineData currdata = (SpotAdjustCoastLineData)
(currconf.get(m));
messages.info("PHGenerator", "PHGenConf", " --> Deep "
+ (m-1) + ": " + currdata.tries
+ " tries, seatolandprob = " + currdata.seatolandprob
+ ", landtoseaprob = " + currdata.landtoseaprob);
}
}
messages.info("PHGenerator", "PHGenConf", "--> hills_number = " + hills_number);
messages.info("PHGenerator", "PHGenConf", "--> hills_sizefactor = " + hills_sizefactor);
messages.info("PHGenerator", "PHGenConf", "--> hills_sizeoffset = " + hills_sizeoffset);
messages.info("PHGenerator", "PHGenConf", "--> islands_number = " + islands_number);
messages.info("PHGenerator", "PHGenConf",
"--> islands_sizefactor = " + islands_sizefactor);
messages.info("PHGenerator", "PHGenConf",
"--> islands_sizeoffset = " + islands_sizeoffset);
messages.info("PHGenerator", "PHGenConf",
"--> Plate-depending-heights: Configuration");
messages.info("PHGenerator", "PHGenConf",
" --> maxdistance = " + pldepheights_maxdistance);
for(int m = 0;m < 6;m++) {
for(int n = 0;n < NUMBEROFPRESSURETYPES;n++) {
switch(m) {
case 0: messages.info("PHGenerator", "PHGenConf",
" --> uplandland for pressure " + (n+1) + ":");
break;
case 1: messages.info("PHGenerator", "PHGenConf",
" --> upsealand for pressure " + (n+1) + ":");
break;
case 2: messages.info("PHGenerator", "PHGenConf",
" --> upseasea for pressure " + (n+1) + ":");
break;
case 3: messages.info("PHGenerator", "PHGenConf",
" --> downlandland for pressure " + (-(n+1)) + ":");
break;
case 4: messages.info("PHGenerator", "PHGenConf",
" --> downsealand for pressure " + (-(n+1)) + ":");
break;
case 5: messages.info("PHGenerator", "PHGenConf",
" --> downseasea for pressure " + (-(n+1)) + ":");
break;
}
for(int z = 0;z < platedependingheights[m][n].size();z++) {
List currv = (List)(platedependingheights[m][n].get(z));
messages.info("PHGenerator", "PHGenConf",
" --> Configuration " + z+ " used with probability "
+ ((Double)(currv.get(0))).doubleValue());
for(int k = 1;k < currv.size();k++)
((HeightConstructionData)currv.get(k)).dump();
}