class DiverseEcosystem extends Ecosystem { // utilities for making an allometrically or stochastically diverse ecosystem. // ASTroCAT 1.0 doesn't take advantage of the stochasticity part (except for prey prefs, where stochasticity is introduced by another mechanism anyway). DiverseEcosystem() {} // arrays of diverse statevars DiverseVar[] addDiverseVarSet(String name, String shortname, String units, int N, float minEsd, float maxEsd) { DiverseVar[] V = new DiverseVar[N]; for (int i=0; i