MCPcopy Create free account
hub / github.com/devosoft/avida / SetGradient

Method SetGradient

avida-core/source/main/cResource.h:326–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324 void SetThreshold(double _threshold) { m_threshold = _threshold; }
325 void SetRefuge(int _refuge) { m_refuge = _refuge; }
326 void SetGradient(bool _gradient) { isgradient = _gradient; }
327 void SetPredatoryResource(double _odds, int _juvsper, double _prob) { m_predator = true; m_predator_odds = _odds; m_guard_juvs_per = _juvsper; m_prob_detect = _prob; }
328
329 void AddCellResource(cCellResource new_cell) { cell_list.Push(new_cell); }

Callers 1

LoadGradientResourceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected