Skip to content
Snippets Groups Projects
Commit 0113aaee authored by Bart Arendarczyk's avatar Bart Arendarczyk
Browse files

Clustering adjustment.

parent b524bcfc
No related branches found
No related tags found
3 merge requests!4Merging Barts changes into inequality branch,!3Merging changes from master,!2Bringing Bart's recent changes into the inequality branch
......@@ -51,7 +51,7 @@ public class YieldClusterPoint implements ClusteringPoint<String> {
this.pasture = yields.getYield(YieldType.NO_FERT_NO_IRRIG, CropType.PASTURE) * 0.1;
this.wheatMax = yields.getYield(YieldType.FERT_MAX_IRRIG_MAX, CropType.WHEAT) * 0.1;
this.maizeMax = yields.getYield(YieldType.FERT_MAX_IRRIG_MAX, CropType.MAIZE) * 0.1;
this.irrigWaterAval = (irrigItem==null) ? 0.0 : irrigItem.getIrrigConstraint() * 0.01;
this.irrigWaterAval = (irrigItem==null) ? 0.0 : irrigItem.getIrrigConstraint() * 0.1;
this.protectedArea = protectedArea;
this.woodMax = (woodYields==null) ? 0.0 : woodYields.getYieldResponse().getMaxYield() * 0.01;
this.woodSlope = (woodYields==null) ? 0.0 : -woodYields.getYieldResponse().getSlope() * 10;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment