public class Heuristics
extends java.lang.Object
| Constructor and Description |
|---|
Heuristics() |
| Modifier and Type | Method and Description |
|---|---|
static double |
getCowAgeStrategy(HeuristicStrategy myStrategy)
Returns the initial selling age for cows drawn from the cluster analysis
.
|
static double |
getCowCalveStrategy(HeuristicStrategy myStrategy)
Returns the initial number of calves as a selling criteria drawn from the cluster analysis
.
|
static HeuristicStrategy |
getMyMetaStrategy(HeuristicStrategy aNonMetaStrat)
Helper method for the ga.
|
static HeuristicStrategy |
getMyStrategy(int calvingRate)
Returns the heuristic strategy at time of initialization or if HH type has changed to
heuristic selling type.
|
static double |
getOxenStrategy(HeuristicStrategy myStrategy)
Returns the initial selling age for oxen drawn from the cluster analysis
.
|
public static HeuristicStrategy getMyStrategy(int calvingRate)
calvingRate - public static double getOxenStrategy(HeuristicStrategy myStrategy)
myStrategy - public static double getCowAgeStrategy(HeuristicStrategy myStrategy)
myStrategy - public static double getCowCalveStrategy(HeuristicStrategy myStrategy)
myStrategy - public static HeuristicStrategy getMyMetaStrategy(HeuristicStrategy aNonMetaStrat)
aNonMetaStrat -